From owner-freebsd-questions Thu Jul 11 0:52:49 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 68A4937B400 for ; Thu, 11 Jul 2002 00:52:46 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 405CF43E42 for ; Thu, 11 Jul 2002 00:52:45 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.5/8.12.5) with ESMTP id g6B7qhYn041644; Thu, 11 Jul 2002 08:52:43 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.5/8.12.5/Submit) id g6B7qblV041643; Thu, 11 Jul 2002 08:52:37 +0100 (BST) Date: Thu, 11 Jul 2002 08:52:37 +0100 From: Matthew Seaman To: Vincent D Murphy Cc: freebsd-questions@FreeBSD.ORG Subject: Re: mod_perl-1.27 with perl 5.6.1 Message-ID: <20020711075237.GA41528@happy-idiot-talk.infracaninophi> References: <3D2CC9A9.6020503@vdm.cc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D2CC9A9.6020503@vdm.cc> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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