On Thu, 05 Aug 2004 17:50:46 -0700, Stas Bekman wrote:
> we have a problem with the case when MP_AP_PREFIX and no MP_APXS is
> used. In such case post-modperl install, it's not possible to figure out
> things like modperl include dir and others, which otherwise available
> via apxs -q (.e.g apxs -q INCLUDEDIR). ---snip-- I think things should work
> fine as long MP_AP_PREFIX is the target where is installed plus
> using all-under-one-dir scheme. If MP_AP_PREFIX points to the source or
> if Apache install files are spread all over, it won't work.
>
it may still be a problem... (this came up as a fresh build on new machine)
+ MP_APXS used without using setting MP_AP_PREFIX screws up
+ Makefile.PL complains if MP_AP_PREFIX -and- MP_APXS are both used
----------------- cut and past --------------------
[EMAIL PROTECTED]:~/build/modperl-2.0> perl Makefile.PL
Reading Makefile.PL args from /home/kermit/.makepl_args.mod_perl2
MP_APXS = /usr/sbin/apxs
MP_INST_APACHE2 = 1
MP_AP_CONFIGURE = -layout=SUSE9 --enable-mods-shared='info status dav'
MP_AP_BUILD = 1
Reading Makefile.PL args from @ARGV
Configuring Apache/2.1.0-dev mod_perl/1.99_15-dev Perl/v5.8.3
Use of uninitialized value in concatenation (.) or string at
lib/Apache/Build.pm line 267.
Use of uninitialized value in split at lib/Apache/Build.pm line 280.
Use of uninitialized value in concatenation (.) or string at
lib/Apache/Build.pm line 283.
sh: line 1: ./configure: No such file or directory
httpd: ./configure -layout=SUSE9 --enable-mods-shared='info status dav'
--with-mp failed at lib/Apache/Build.pm line 286.
--------------- cut and paste
[EMAIL PROTECTED]:~/build/modperl-2.0> perl Makefile.PL
Reading Makefile.PL args from /home/kermit/.makepl_args.mod_perl2
MP_APXS = /usr/sbin/apxs
MP_INST_APACHE2 = 1
MP_AP_PREFIX = /usr/include/apache2
MP_AP_CONFIGURE = -layout=SUSE9 --enable-mods-shared='info status dav'
--with-mp
MP_AP_BUILD = 1
Reading Makefile.PL args from @ARGV
[ error] You need to pass either MP_AP_PREFIX or MP_APXS, but not both
-----------------------------------
Should we assume that MP_APXS can't be used?
----------------
Kermit Tensmeyer
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]