mod_perl installation and non-standard perl path

Melvyn Sopacua ports at webteckies.org
Mon Apr 19 10:20:11 PDT 2004


On Monday 19 April 2004 19:04, Andy Harrison wrote:
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> On Sat, 17 Apr 2004 13:28:14 +0200, Melvyn Sopacua wrote
> Subject: "Re: mod_perl installation and non-standard perl path"
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> >  In stead of doing all that manual work, why not set variables in
> > make.conf? The ones you're looking for, can be found by grepping 'PERL'
> >  in /usr/ports/Mk/bsd.port.mk
>
> Ok, these lines are in /etc/make.conf now:
>
> # grep PERL /etc/make.conf | grep '^[^#]'
> PERL_VER=5.8.2
> PERL_VERSION=5.8.2
> SITE_PERL=/usr/local/rt3/perl/lib/site_perl/${PERL_VER}
> PERL_ARCH=mach
> PERL5=/usr/local/rt3/perl/bin/perl
> PERL=/usr/local/rt3/perl/bin/perl
> NOPERL=yo
> NO_PERL=yo
> NO_PERL_WRAPPER=yo
>
> However, it doesn't even try to build now...
>
> # make
> Dependency error: you don't have the right version of perl in /usr/bin.
> *** Error code 1

Then try 'use.perl port', or perhaps better:
# cd /usr/bin
# ln -s /usr/local/rt3/perl/bin/perl perl
# ln -s /usr/local/rt3/perl/bin/perl5 perl5
# ln -s /usr/local/rt3/perl/bin/perl5.8.2 perl5.8.2
-- 
Melvyn

=======================================================
FreeBSD sarevok.lan.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Sun Apr  
4 02:24:06 CEST 2004     
root at sarevok.webteckies.org:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  i386
=======================================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040419/8e54f720/attachment.bin


More information about the freebsd-ports mailing list