~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ On Mon, 19 Apr 2004 14:13:00 -0700, Stas Bekman wrote Subject: "Re: mod_perl installation and non-standard perl path in FreeBSD" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Andy Harrison wrote:
> Hoping there might be another FreeBSD user here who may have been
> through this already...
> > For reasons I don't want to trouble you with, I had to install the
> latest perl freebsd port into /usr/local/rt3/perl/ and now I need to
> get mod_perl to compile against that version.
Unless I miss something specific to FreeBSD ports, the whole thing should be as easy as doing:
/usr/local/rt3/perl/bin/perl Makefile.PL ... && make && make test && make install
I don't understand why are you trying to mess up with env vars at all. You obviously miss the first step, i.e. 'perl Makefile.PL'
I was hoping to get it working within the ports framework for future maintainability. Since I'm not using a standard dir anyway, it doesn't look like it's going to be possible or worth any further effort.
Anyway, one more question related to this. When building via apaci, it says to use APACHE_PREFIX. What exactly is it looking for? FreeBSD doesn't install apache in a traditional spot all under one directory, such as /usr/local/apache. It seems reasonable that it is looking for the directory where libperl.so is going to live (/usr/local/libexec/apache under FreeBSD). Is this a good assumption?
I guess not.
http://perl.apache.org/docs/1.0/guide/install.html#APACHE_PREFIX
"mp1's APACHE_PREFIX" == "apache 1.3's --prefix="
If it doesn't apply under FreeBSD, don't use it. Instead use APACI_ARGS with an appropriate --libexecdir= flag.
Please send me a patch to make this clear in the docs. Thanks.
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html