Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Aug 2004 00:02:25 -0400
From:      jason <jason@ec.rr.com>
To:        Bart Silverstrim <bsilver@chrononomicon.com>
Cc:        freebsd-questions Questions <freebsd-questions@freebsd.org>
Subject:   Re: mod_perl HELP!
Message-ID:  <411C3D51.1060801@ec.rr.com>
In-Reply-To: <516D5158-ECC2-11D8-B278-000A956D2452@chrononomicon.com>
References:  <516D5158-ECC2-11D8-B278-000A956D2452@chrononomicon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Bart Silverstrim wrote:

> Can someone help?  When I try going into /usr/ports/www/mod_perl and 
> "make install", I get:
> ===>  Installing for mod_perl-1.29
> ===>   mod_perl-1.29 depends on file: /usr/local/sbin/apxs - found
> ===>   mod_perl-1.29 depends on file: 
> /usr/local/lib/perl5/site_perl/5.8.4/LWP.pm - found
> ===>   mod_perl-1.29 depends on file: /usr/local/bin/perl5.8.4 - found
> ===>   mod_perl-1.29 depends on file: /usr/local/bin/perl5.8.4 - found
> ===>   Generating temporary packing list
> ===>  Checking if www/mod_perl already installed
> (cd ./apaci && 
> PERL5LIB=/usr/ports/www/mod_perl/work/mod_perl-1.29/lib: make)
> make: don't know how to make 
> /usr/local/lib/perl5/5.8.4/mach/Config.pm. Stop
> *** Error code 2
>
> I think the problem is that PERL is now at 5.8.5; when trying to 
> portupgrade apache, I had an error to the effect that it couldn't find 
> a perl 5.8.4 binary, and when I symlinked perl.5.8.4 to perl.5.8.5, it 
> installed from ports.  But mod_perl refuses.  Is his a ports problem??
>
> Can someone confirm this error?
>
> System:
> 4.9-RELEASE-p9 FreeBSD 4.9-RELEASE-p9
>
> -Bart
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"
>
Don't link stuff like perl unless you know what you are doing.  Read the 
usr/ports/UPDATING for info on perl. 
To make things easy on you what version of perl is listed in you 
/etc/make.conf, is it 5.8.4?  You then want to install the new port of 
perl and then type $use.perl port in the work dir(I think) to tell bsd 
you have 5.8.5.  Check make.conf to see if it is updated, it wasn't for 
me so I changed it by hand.  $perl -v should id itself as the right 
version.  You must also rebuild every port that depends on perl.  There 
is a 3 line portupgrade command in UPDATING that I could not get to work 
so I upgraded them all.  That takes a while with over 200 ports.

Goodluck.



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