The following patch makes sure that MP_APXS is an absolute path. If you used
MP_APXS=../deps/httpd/bin/apxs it would make a bunch of things fail ;-)
And there was also a very small patch to Apache-Test that didn't include the
right package.
Note: Right now, with latest httpd & perl, I get a segfault in Perl_re_dup
#0 0x4030a3d3 in Perl_re_dup (my_perl=0x83c2828, r=0x1b, param=0x81722b8) at sv.c:8365
#1 0x4030f975 in perl_clone (proto_perl=0x8128ba8, flags=0) at sv.c:9787
#2 0x40276a99 in modperl_interp_new (p=0x80aeea4, mip=0x80fb41c, perl=0x8128ba8) at
modperl_interp.c:55
#3 0x40276d26 in interp_pool_grow (tipool=0x80fb434, data=0x80fb41c) at
modperl_interp.c:166
#4 0x4027751a in modperl_tipool_init (tipool=0x80fb434) at modperl_tipool.c:170
#5 0x402761d9 in modperl_init_clones (s=0x80b049c, p=0x80aeea4) at mod_perl.c:218
#6 0x402763b6 in modperl_hook_post_config (pconf=0x80aeea4, plog=0x80e1034,
ptemp=0x80e3044, s=0x80b049c) at mod_perl.c:298
#7 0x0807bd2e in ap_run_post_config (pconf=0x80aeea4, plog=0x80e1034,
ptemp=0x80e3044, s=0x80b049c) at config.c:124
#8 0x080802a1 in main (argc=7, argv=0xbffff614) at main.c:400
#9 0x40115177 in __libc_start_main (main=0x807fe74 <main>, argc=7, ubp_av=0xbffff614,
init=0x805c684 <_init>, fini=0x8095f80 <_fini>, rtld_fini=0x4000e184 <_dl_fini>,
stack_end=0xbffff60c) at ../sysdeps/generic/libc-start.c:129
Seems like the regexp passed (r) is completely bogus (0x1b). Anybody seeing this too?
--
Philippe M. Chiasson <[EMAIL PROTECTED]>
Extropia's Resident System Guru
http://www.eXtropia.com/
We act as though comfort and luxury were the chief
requirements of life, when all that we need to make us
happy is something to be enthusiastic about.
-- Albert Einstein
perl -e '$$=\${gozer};{$_=unpack(P26,pack(L,$$));/^Just Another Perl
Hacker!\n$/&&print||$$++&&redo}'
Index: Apache-Test//lib/Apache/TestConfig.pm
===================================================================
RCS file:
/home/anoncvs/httpd-test-cvs/perl-framework/Apache-Test/lib/Apache/TestConfig.pm,v
retrieving revision 1.50
diff -u -I'$Id' -I'$Revision' -r1.50 TestConfig.pm
--- Apache-Test//lib/Apache/TestConfig.pm 2001/08/28 16:02:56 1.50
+++ Apache-Test//lib/Apache/TestConfig.pm 2001/09/01 14:21:52
@@ -92,7 +92,7 @@
sub modperl_build_config {
eval {
- require Apache::BuildConfig;
+ require Apache::Build;
} or return undef;
return Apache::Build->build_config;
}
Index: lib/ModPerl/BuildOptions.pm
===================================================================
RCS file: /home/anoncvs/mod_perl-2-cvs/lib/ModPerl/BuildOptions.pm,v
retrieving revision 1.8
diff -u -I'$Id' -I'$Revision' -r1.8 BuildOptions.pm
--- lib/ModPerl/BuildOptions.pm 2001/04/27 21:07:53 1.8
+++ lib/ModPerl/BuildOptions.pm 2001/09/01 14:22:12
@@ -4,10 +4,13 @@
use warnings;
my $param_qr = qr([\s=]+);
+my $fs_updir = File::Spec->updir();
use constant VERBOSE => 1;
use constant UNKNOWN_FATAL => 2;
+use File::Spec;
+
sub init {
my($self, $build) = @_;
@@ -54,6 +57,11 @@
my $usage = usage();
die "Unknown Option: $key\nUsage:\n$usage";
}
+
+ if($val =~ /^$fs_updir/) {
+ $val = File::Spec->canonpath(File::Spec->rel2abs($val));
+ }
+
if ($self->{$key}) {
$self->{$key} .= ' ';
}
PGP signature