Date: Thu, 11 Jul 2002 08:52:37 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Vincent D Murphy <vdm@vdm.cc> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: mod_perl-1.27 with perl 5.6.1 Message-ID: <20020711075237.GA41528@happy-idiot-talk.infracaninophi> In-Reply-To: <3D2CC9A9.6020503@vdm.cc> References: <3D2CC9A9.6020503@vdm.cc>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 11, 2002 at 12:56:25AM +0100, Vincent D Murphy wrote: > i'm running 4.6-RELEASE i386 with a cvsup'd ports tree. > > here's what i'm doing: > > cd /usr/ports/lang/perl5 > make install > use.system port I take it you meant to type: use.perl port > this works fine, but when i do this: > > cd /usr/ports/www/mod_perl > make install > > excerpt of output: > > (cd ./apaci && PERL5LIB=/usr/ports/www/mod_perl/work/mod_perl-1.27/lib; > make) > Perl lib version (5.00503) doesn't match executable version (5.006001) > at /usr/libdata/perl/5.00503/mach/Config.pm line 7. > Compilation failed in require at > /usr/libdata/perl/5.00503/ExtUtils/MakeMaker.pm line 15. > BEGIN failed--compilation aborted at > /usr/libdata/perl/5.00503/ExtUtils/MakeMaker.pm line 15. > Compilation failed in require. > BEGIN failed--compilation aborted. > > i think the equivalent of /usr/libdata for the 5.6.1 build is in > /usr/local/lib/perl5/5.6.1. (i did 'find / -name MakeMaker.pm' and > they're the only two directories it showed up in.) > > anybody have any ideas about this? If you've run the 'use.perl port' command successfully, then you should see symbolic links in /usr/bin like so: happy-idiot-talk:~:% ls -la /usr/bin/perl* lrwxr-xr-x 1 root wheel 19 25 May 10:18 /usr/bin/perl@ -> /usr/local/bin/perl -r-xr-xr-x 2 root wheel 10224 4 May 09:08 /usr/bin/perl5* -r-xr-xr-x 2 root wheel 10224 4 May 09:08 /usr/bin/perl5.00503* lrwxr-xr-x 1 root wheel 19 25 May 10:18 /usr/bin/perl5.6.1@ -> /usr/local/bin/perl -r-xr-xr-x 1 root wheel 31723 18 Sep 2001 /usr/bin/perlbug* -r-xr-xr-x 1 root wheel 26305 18 Sep 2001 /usr/bin/perlcc* -r-xr-xr-x 1 root wheel 16807 18 Sep 2001 /usr/bin/perldoc* and /usr/bin/perl -v should return: This is perl, v5.6.1 built for i386-freebsd In this case, perl5.6.1 should ignore the perl modules in /usr/libdata in favour of /usr/local/lib/perl5. Personally I find that the perl5.6.1 port works perfectly smoothly for compiling mod_perl or other perl-ish ports like rrdtool. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Tel: +44 1628 476614 Marlow Fax: +44 0870 0522645 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020711075237.GA41528>