Date: Thu, 20 Dec 2001 10:00:46 -0800 (PST) From: <tobez@FreeBSD.org> To: sugimura@jp.FreeBSD.org, tobez@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: Re: ports/33023: failed to make install ports/textproc/p5-XML-SAX Message-ID: <200112201800.fBKI0kO34981@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
Synopsis: failed to make install ports/textproc/p5-XML-SAX State-Changed-From-To: open->analyzed State-Changed-By: tobez State-Changed-When: Thu Dec 20 09:43:18 PST 2001 State-Changed-Why: Unfortunately, there is no easy solution in -stable for this one. The problem is that the File::Temp module (which is required by the port in question) requires File::Spec module version 0.8 or later. Even though File-Temp port lists the File-Spec port as a dependency, the base system perl already has an old File::Spec module installed. Since the default @INC path is set to look into /usr/libdata/perl first, the wrong version of File::Spec is being picked up. There are the following possible solutions: 1. Remove the /usr/libdata/perl/5.00503/File/Spec.pm and the whole /usr/libdata/perl/5.00503/File/Spec/ directory. This will solve your problem immediately, assuming that File-Spec port is installed. You will probably want to add NOPERL=yes into your /etc/make.conf so that the effects of this removal will not be undone next time you do a source upgrade of your system. 2. Install the lang/perl5 port and switch to it. This is a FreeBSD port of perl 5.6.1, which has a recent enough version of File::Spec module in the distribution. This will mean, however, that you will have to reinstall all your currently installed perl modules if you want to continue to use them. 3. Set PERL5LIB evironment variable globally (i.e., in /etc/login.conf) to point to /usr/local/lib/perl5/site_perl/5.005/i386-freebsd and to /usr/local/lib/perl5/site_perl/5.005. This will solve your problem for all perl scripts which are *not* run with -T or with suidperl. 4. Wait a short period of time until the `natural order' in @INC is changed in the system perl in -stable, and upgrade. I am planning to do that before the new year if our release engineers will approve the change. 5. Wait a longer period of time until 5.6.1 is imported in -stable. Hope this helps, =Anton. http://www.FreeBSD.org/cgi/query-pr.cgi?pr=33023 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?200112201800.fBKI0kO34981>