Re: Package building

[prev] [thread] [next] [Date index for 2005/01/25]

From: Philippe M. Chiasson
Subject: Re: Package building
Date: 00:16 on 25 Jan 2005
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig98F42116FF49E38D04BF9978
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

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

--------------enig98F42116FF49E38D04BF9978
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB9Y/xyzKhB4jDpaURArRJAJ9Kxe/55XkWFKFmrEhKZ8S9Mgv8bgCggE4b
L/EzH8LG34+7cEEc3wVTILU=
=l33k
-----END PGP SIGNATURE-----

--------------enig98F42116FF49E38D04BF9978--

Package building
Paul Armstrong 06:07 on 24 Jan 2005

Re: Package building
Philippe M. Chiasson 00:16 on 25 Jan 2005

Generated at 17:42 on 27 Jan 2005 by mariachi v0.52