I looked thru the archives, i didn't see this from before..
so if this is repetious I apoligize.
make install fails because APACHE_INCLUDEDIR = " "
which is because (....) because two macros inside
the call to ModPerl::MM::WriteMakefile return empty
strings.
(hey I'm trying to cut to the chase as quickly as possible)
macro => {
APACHE_INCLUDEDIR => $build->apxs('-q' => 'includedir'),
}
it interesting because $build->apxs(-q for all arguments)
returns an empty string. the actual apxs script from either
the apache2/support directory or the actual install directory
finds the correct information.
Makefile.Pl "sub configure"
contains a three branched if statement
if ($build->:MP_APXS})
elsif ( ($build->{MP_AP_Prefix})
else {
for my $path ($build->find) {
which only finds the preinstalled apache not the actual apache
install
}
but Apache::Build::apxs processes an array @trys (which contain
target directories for actual installs)
it assumes unless it is a ModPerl build
Apache::TestConfig::which(apxs)
and a hardcoded path '/usr/local/apache' (which may/maynot be
the actual apache2 path)
in either case the code would not appear to send consistent information
unless the APXS code (inside Apache::Build) uses the same data the apxs
script in the target httpd2 installation.
---
summary: the apxs inside the build script is generating empty
strings
when the target httpd2 source tree is used and (MP_APXS is not
defined or
MP_AP_Prefix is not defined in the build script)
How do I track down the cause of this problem. If i find it, I -will-
submit a patch..
-------- details in file Makefile -------
# MakeMaker ARGV: ()
#
# MakeMaker Parameters:
# CCFLAGS => q[ -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-DMOD_PERL]
# DIR => [q[Apache-Test], q[ModPerl-Registry], q[WrapXS], q[xs]]
# INC => q[-I/home/kermit/cvs_stuff/modperl-2.0/src/modules/perl
-I/home/kermit/cvs_stuff/modperl-2.0/xs
-I/home/kermit/cvs_stuff/modperl-2.0/../httpd-2.0/include
-I/home/kermit/cvs_stuff/modperl-2.0/../httpd-2.0/srclib/apr/include
-I/home/kermit/cvs_stuff/modperl-2.0/../httpd-2.0/srclib/apr-util/include
-I/home/kermit/cvs_stuff/modperl-2.0/../httpd-2.0/os/unix]
# LDDLFLAGS => q[-shared]
# LIBS => q[ ]
# NAME => q[mod_perl]
# OPTIMIZE => q[-O3 --pipe]
# TYPEMAPS => [q[/home/kermit/cvs_stuff/modperl-2.0/xs/typemap]]
# VERSION => q[1.99_09-dev]
# clean => { FILES=>q[src/modules/perl/Makefile.modperl
src/modules/perl/ldopts lib/Apache/BuildConfig.pm lib/typemap
xs/apache_global.exp xs/apache_inline.exp xs/apache_ithreads.exp
xs/modperl_global.exp xs/modperl_inline.exp xs/modperl_ithreads.exp
xs/apache.def xs/modperl.def src/modules/perl/modperl_hooks.c
src/modules/perl/modperl_directives.c src/modules/perl/modperl_flags.c
src/modules/perl/modperl_xsinit.c src/modules/perl/modperl_constants.c
src/modules/perl/modperl_hooks.h src/modules/perl/modperl_directives.h
src/modules/perl/modperl_flags.h src/modules/perl/modperl_trace.h
src/modules/perl/modperl_constants.h] }
# dist => { DIST_DEFAULT=>q[mydist], COMPRESS=>q[gzip -9f],
SUFFIX=>q[gz] }
# dynamic_lib => { OTHERLDFLAGS=>q[] }
# macro => { MODPERL_MAKEFILE=>q[Makefile.modperl],
MODPERL_XS_H_FILES=>q[xs/modperl_xs_sv_convert.h \
xs/modperl_xs_typedefs.h \ xs/modperl_xs_util.h],
APACHE_INCLUDEDIR=>q[], PERL=>q[/usr/bin/perl], APACHE_PREFIX=>q[],
MOD_INSTALL=>q[$(PERL) -I$(INST_LIB) -I$(PERL_LIB) \ -e "BEGIN { eval
{require Apache2} } use ModPerl::MM; \
ModPerl::MM::install([EMAIL PROTECTED],'$(VERBINST)',0,'$(UNINST)');" ],
MODPERL_SRC=>q[src/modules/perl], MAKE_F=>q[$(MAKE) -f],
APACHE_LIBDIR=>q[], MODPERL_LIBMAKE=>q[$(MAKE) -f $(MODPERL_MAKEFILE)] }
# --- MakeMaker post_initialize section:akefile ---
--
Kermit Tensmeyer
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]