Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: OT: mod_perl freebsd port

by jsprat (Curate)
on Jul 23, 2003 at 17:27 UTC ( #277267=note: print w/replies, xml ) Need Help??

in reply to OT: mod_perl freebsd port

I built mod_perl from ports, but I use the 5.8.0 from ports.

Looking at the Makefile, it looks like you need to override the defaults of PERL5, PERL_VER and PERL_VERSION. A command line like

make PERL5=/usr/local/bin/perl PERL_VER=5.8.0 PERL_VERSION=5.8.0

should do the trick (but no promises ;). Be sure to use the same arguments for make install. If all else fails, build it by hand.


Update: s/PERL/PERL5/ in command line

Update 2: Note that there should not be a -D, ie: not '-DPERL5=...' but 'PERL5=...'

Replies are listed 'Best First'.
Re: Re: OT: mod_perl freebsd port
by naChoZ (Curate) on Jul 23, 2003 at 19:29 UTC
    I tried it. No luck. Very strange. I've used make -Dvariable in the past with no troubles, but nothing I did would change its mind about perl being in /usr/bin/perl. I even did make -DPERL=/usr/local/bin/perl -VPERL (as well as -E) and it would output /usr/bin/perl

    Anyway, I finally just cheated and edited the /usr/ports/Mk/ file temporarily and that worked.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://277267]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2021-01-20 19:07 GMT
Find Nodes?
    Voting Booth?