mod_perl HELP!
jason
jason at ec.rr.com
Thu Aug 12 20:53:11 PDT 2004
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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at 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.
More information about the freebsd-questions
mailing list