Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 2004 11:42:34 -0400
From:      Andy Harrison <ah54@harrisonfamily.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   mod_perl installation and non-standard perl path
Message-ID:  <20040419114234.378d22ad@andy>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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=/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.

Then, I tried using this cli in the mod_perl port directory.

 bash-2.05b# PERL5LIB=/usr/local/rt3/perl/lib/site_perl/5.8.2/i386-freebsd PREFIX=/usr/local/rt3/perl SITE_PERL=/usr/local/rt3/perl/lib/site_perl make

While pieces of the compile output show that it is using
/usr/local/rt3/perl/*, most of it shows that it's pulling from
/usr/local/lib/perl5/* for libs.

I even combed through the work directory and manually changed the
references to the perl binary to /usr/local/rt3/perl/bin/perl with no
luck.  Same results every time.  And yes, I've been doing a make clean
in between compiles.

Any advice?

- -- 
Andy Harrison
(full headers for details)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAg/NqCYaHi6DasBoRAm7TAJ9k8CudeAUZ0B4Uvb+niSZq5Nzk/gCgkNcI
l04S8LlYKZBh8FUTedjrlqk=
=yTQC
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040419114234.378d22ad>