From owner-freebsd-ports@FreeBSD.ORG Sat Apr 17 04:28:16 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2FE916A4CE for ; Sat, 17 Apr 2004 04:28:16 -0700 (PDT) Received: from sarevok.webteckies.org (e236040.upc-e.chello.nl [213.93.236.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4FC243D5C for ; Sat, 17 Apr 2004 04:28:16 -0700 (PDT) (envelope-from mdev@sarevok.webteckies.org) Received: by sarevok.webteckies.org (Postfix, from userid 100) id 9AF50B958; Sat, 17 Apr 2004 13:28:15 +0200 (CEST) From: Melvyn Sopacua Organization: WebTeckies.org To: ports@FreeBSD.org Date: Sat, 17 Apr 2004 13:28:14 +0200 User-Agent: KMail/1.6.1 References: <20040415111934.6c95d0a0@andy> In-Reply-To: <20040415111934.6c95d0a0@andy> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_PTRgA/MgrE/9xV8"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200404171328.15139.ports@webteckies.org> Subject: Re: mod_perl installation and non-standard perl path X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Apr 2004 11:28:17 -0000 --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--