From maechler at stat.math.ethz.ch  Wed Jul 16 11:22:31 2003
From: maechler at stat.math.ethz.ch (Martin Maechler)
Date: Wed Jul 16 10:22:20 2003
Subject: [Rd] Undefined subroutine &R::Rdconv::fill (PR#3485)
In-Reply-To: <16148.58458.680003.755101@mithrandir.hornik.net>
References: <200307151656.h6FGuOJH000875@pubhealth.ku.dk>
	<x2ptkb8ls3.fsf@biostat.ku.dk>
	<16148.58458.680003.755101@mithrandir.hornik.net>
Message-ID: <16149.2887.426868.742734@gargle.gargle.HOWL>

>>>>> "KH" == Kurt Hornik <hornik@ci.tuwien.ac.at>
>>>>>     on Wed, 16 Jul 2003 07:36:26 +0200 writes:

>>>>> Peter Dalgaard BSA writes:
    >> michael.t.klinglesmith@intel.com writes:
    >>> make[1]: Leaving directory
    >>> `/fs38/odc.arch.3/mtklingl/R/R-1.7.1/doc' make[1]:
    >>> Entering directory
    >>> `/fs38/odc.arch.3/mtklingl/R/R-1.7.1/src/library'
    >>> building all R object docs (text, HTML, LaTeX, examples)
    >>> make[2]: Entering directory
    >>> `/fs38/odc.arch.3/mtklingl/R/R-1.7.1/src/library'
    >>> Undefined subroutine &R::Rdconv::fill called at
    >>> /fs38/odc.arch.3/mtklingl/R/R-1.7.1/share/perl/R/Rdconv.pm
    >>> line 1955, <rdfile> chunk 381.
    >> ....
    >>> ]perl -v
    >>> 
    >>> This is perl, version 5.004_04 built for i386_linux22
    >>> 
    >>> Copyright 1987-1997, Larry Wall

    >> I would suspect that this is the culprit. We do check
    >> that the perl version is at least 5.004 so we expect your
    >> version to work, but on the other hand it is quite old (~
    >> 6 years it would seem) and quite likely noone actually
    >> checked against that version when making changes to
    >> Rdconv.

    KH> Actually ...

    KH> It seems that Text::Wrap::fill() was added between
    KH> 5.004_04 and 5.004_05.  I had not realized that the
    KH> former was an official release.

    KH> We can

    KH> * Try to special-case 5.004_04 and provide the version
    KH> of fill() indicated in the Text::Wrap documentation;

    KH> * Decide we've played enough with this and require
    KH> either 5.004_05 (can we do this?) or 5.005.

I'd go for the latter. 
We will do people a favor (in the longer term at least) by
urging them to upgrade such old perl versions.

Martin


[Rd] Undefined subroutine &R::Rdconv::fill (PR#3485)
Martin Maechler