Paul Armstrong wrote:
I'm trying to build packages for mod_perl on Solaris and the usual
make DESTDIR=/tmp/mod_perl install
doesn't work any more.

Apache is in /usr/local but I want mod_perl to install temporarily in
/tmp/mod_perl so I can package it before installing into /usr/local with
Apache (I'm sure several people have done this before). Any suggestions?

DESTDIR= will work for perl stuff, but for the apache-related files (mod_perl.so and header files), you are looking for

MODPERL_AP_INCLUDEDIR && MODPERL_AP_LIBEXECDIR


So something like

$> make DESTDIR=/tmp/mod_perl 
MODPERL_AP_INCLUDEDIR=/tmp/mod_perl/apache/include 
MODPERL_AP_LIBEXECDIR=/tmp/mod_perl/apache/modules

Should do what you are looking for.

--------------------------------------------------------------------------------
Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5
http://gozer.ectoplasm.org/     F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5

Attachment: signature.asc
Description: OpenPGP digital signature



Reply via email to