Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: OT: mod_perl freebsd port

by jsprat (Curate)
on Jul 23, 2003 at 17:27 UTC ( [id://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=...'

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/bsd.port.mk file temporarily and that worked.

    ~~
    naChoZ

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-03-29 00:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found