Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Sep 2002 00:34:42 +0800
From:      Clive Lin <clive@tongi.org>
To:        Erwin Lansing <erwin@lansing.dk>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/42361: update archivers/p5-Archive-Zip to 1.03
Message-ID:  <20020908163442.GA38971@epaper.eslitebooks.com>
In-Reply-To: <20020908091308.GM52330@droso.net>
References:  <200209030810.g838Ac0s055503@freefall.freebsd.org> <20020907141632.GA30996@epaper.eslitebooks.com> <20020908091308.GM52330@droso.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

    perl in RELENG_4 is 5.00503, it's built-in File::Spec is 0.6. I
guess you have perl 5.6 installed ? In a typical RELENG_4 box (e.g. no
lang/perl5*, nor upgrade perl by CPAN, etc), File::Spec should be 0.6.

    yup, the problem is not Archive::Zip. The problem is, if we
installed a new File::Spec via ports, it will be placed under
/usr/local/lib/perl5/site_perl/5.005, although there's another old one
kept in /usr/libdata/perl/5.00503. And perl searches modules within
/usr/libdata/perl/5.00503 first. Here's the problem.

    My suggestion is, if it needs a new File::Spec, please do not use
devel/p5-File-Spec. Simply define USE_PERL5=yes. I think this is the
only way to prevent any patches.

Regards,
Clive

On Sun, Sep 08, 2002 at 11:13:08AM +0200, Erwin Lansing wrote:
> On Sat, Sep 07, 2002 at 10:16:32PM +0800, Clive Lin wrote:
> > Update of archivers/p5-Archive-Zip breaks many things, like
> > amavis*, spamassassin on systems have perl 5.00503 (say, RELENG_4).
> > 
> I have another bugreport, but haven't had the time yet to look into it.
> 
> > Archive-Zip needs File::Spec 0.8, while File::Spec in base system
> > is 0.6. Perl will always try to find modules in base system first.
> > 
> The installation of p5-File-Spec gives a lot of warnings. People should
> take these warnings more seriously. If this is the only problem, I could
> add another warning to p5-Archive-Zip, but I feel this belongs in
> p5-File-Spec, not p5-Archive-Zip.
> 
> I'll have a look if I can duplicate the error, my amavis is running like
> a charm on -stable.
> 
> -erwin
> 
> -- 
>                     _._     _,-'""`-._
> Erwin Lansing      (,-.`._,'(       |\`-/|    http://droso.org/
> erwin@lansing.dk       `-.-' \ )-`( , o o)    http://fnidder.dk/
>                     -bf-      `-    \`_`"'-



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020908163442.GA38971>