Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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.

HTH...

Update: s/PERL/PERL5/ in command line

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


Comment on Re: OT: mod_perl freebsd port
Download Code
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/bsd.port.mk file temporarily and that worked.

    ~~
    naChoZ

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2015-07-04 08:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (58 votes), past polls