httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe M. Chiasson" <go...@cpan.org>
Subject [Patch] Recursive dependencies and IS_MOD_PERL_BUILD
Date Sun, 29 Jun 2003 08:54:09 GMT
 make perl_glue
cd glue/perl; perl ../../build/xsbuilder.pl run
Undefined subroutine &Apache::Build::IS_MOD_PERL_BUILD called at /usr/lib/perl5/site_perl/5.8.0/Apache/TestConfig.pm
line 17.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/Apache/TestConfig.pm line
18.
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/ModPerl/Code.pm
line 9.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/ModPerl/Code.pm
line 9.
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Apache/Build.pm
line 14.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Apache/Build.pm
line 14.
Compilation failed in require at ../../build/xsbuilder.pl line 10.
BEGIN failed--compilation aborted at ../../build/xsbuilder.pl line 10.

Following patch to Apache::Test 1.03 fixes this

--- /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Apache/Build.pm.orig	2003-06-29
16:50:21.000000000 +0800
+++ /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Apache/Build.pm	2003-06-29 16:50:27.000000000
+0800
@@ -7,14 +7,6 @@
 use lib qw(Apache-Test/lib);
 
 use Config;
-use Cwd ();
-use File::Spec ();
-use File::Basename;
-use ExtUtils::Embed ();
-use ModPerl::Code ();
-use ModPerl::BuildOptions ();
-use Apache::TestTrace;
-use Apache::TestConfig ();
 
 use constant REQUIRE_ITHREADS => grep { $^O eq $_ } qw(MSWin32);
 use constant HAS_ITHREADS =>
@@ -26,6 +18,16 @@
 
 use constant IS_MOD_PERL_BUILD => grep { -e "$_/lib/mod_perl.pm" } qw(. ..);
 
+use Cwd ();
+use File::Spec ();
+use File::Basename;
+use ExtUtils::Embed ();
+use ModPerl::Code ();
+use ModPerl::BuildOptions ();
+use Apache::TestTrace;
+use Apache::TestConfig ();
+
+
 our $VERSION = '0.01';
 our $AUTOLOAD;
 


-- 
--------------------------------------------------------------------------------
Philippe M. Chiasson /gozer\@(cpan|ectoplasm)\.org/ 88C3A5A5 (122FF51B/C634E37B)
http://gozer.ectoplasm.org/    F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3 A5A5
Q: It is impossible to make anything foolproof because fools are so ingenious.
perl -e'$$=\${gozer};{$_=unpack(P7,pack(L,$$));/^JAm_pH\n$/&&print||$$++&&redo}'


Mime
View raw message