httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject need to be able to specify a path to perl
Date Tue, 15 Jul 2003 16:05:30 GMT
Build instructions go as follows:

   (optional)% ./buildconf
             % ./configure --with-apache2-apxs=/path/to/apache2/bin/apxs
             % make && make test
   (optional)% make perl_glue
   (optional)% make perl_test
             % make install
   (optional)% make perl_install

but there is no way to specify which perl to use. it does assumptions which 
are most likely to be wrong. It's probably the best insert a stage 'perl 
Makefile.PL' where the perl and other options can be specified. This way we 
keep the module build process similar to other CPAN modules.

However even with this fix, apreq-2 won't be buildable through CPAN.pm. What 
we need is:

setenv APXS /path/to/apache2/bin/apxs
make
make test
make install

to work as in apreq1.

Probably the simplest way to accomplish that is to add a simple Makefile.PL 
which will internally call:

./configure --with-apache2-apxs=/path/to/apache2/bin/apxs

and won't call WriteMakefile. Though how is it going to manage all the 
Makefile.PL's options? e.g. PREFIX?

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Mime
View raw message