Date: Sat, 17 Apr 2004 13:28:14 +0200 From: Melvyn Sopacua <ports@webteckies.org> To: ports@FreeBSD.org Subject: Re: mod_perl installation and non-standard perl path Message-ID: <200404171328.15139.ports@webteckies.org> In-Reply-To: <20040415111934.6c95d0a0@andy> References: <20040415111934.6c95d0a0@andy>
next in thread | previous in thread | raw e-mail | index | archive | help
--Boundary-02=_PTRgA/MgrE/9xV8 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 15 April 2004 17:19, Andy Harrison wrote: > For reasons I don't want to trouble you with, I had to install the > latest perl port into /usr/local/rt3/perl/ and now I need to get > mod_perl to compile against that version. > > > I edited the Makefile, added > MOD_PERLCONFIG=3D/usr/local/rt3/perl/bin/perl to CONFIGURE_ARGS and I > edited the shebang line in /usr/local/bin/apxs to point to my new > installation of perl. [ snip more editing in various ports ] > Any advice? 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'=20 in /usr/ports/Mk/bsd.port.mk Most interesting being: PERL5=3D/usr/local/rt3/perl/bin/perl SITE_PERL=3D/usr/local/rt3/perl/lib/perl5/site_perl/${PERL_VER} Also check if ldconfig lists libs in /usr/local/lib/perl5. You will most probably still get conflicts having the old perl installation= =20 around or at least the /usr/local/lib/perl5 tree. If you set the correct options in /etc/make.conf then do a portupgrade -R=20 'p5-*' all your perl modules should then live in the new library directory. =2D-=20 Melvyn =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =46reeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Sun Ap= r 4=20 02:24:06 CEST 2004 =20 root@sarevok.webteckies.org:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG i386 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D --Boundary-02=_PTRgA/MgrE/9xV8 Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAgRTPOv9JNmfFN5URAsu9AJ0RBIIuFidFc+G1IcX/8CLULJcaDACeM+56 Le0dSLNdFLd8RcXAgJZzEFM= =7Zue -----END PGP SIGNATURE----- --Boundary-02=_PTRgA/MgrE/9xV8--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404171328.15139.ports>