Doug MacEachern wrote:
> ModPerl::MM::WriteMakefile should work fine.
> for example, the generated WrapXS/Apache/Log/Makefile has:
> 
> #     CCFLAGS => q[ -fno-strict-aliasing -I/usr/local/include  -DMOD_PERL -Wall 
>-Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -DAP_DEBUG 
>-DAP_HAVE_DESIGNATED_INITIALIZER -g -DMP_DEBUG -DMP_TRACE]
> #     INC => q[-I/home/dougm/apache/modperl-2.0/src/modules/perl 
>-I/home/dougm/apache/modperl-2.0/xs 
>-I/home/dougm/apache/farm/install/prefork-debug-shared-all-exp/include]
> 
> what do you see the the Apache-SubProcess Makefile?

Yes, I get these, but 'make test' is messed up.
Try ModPerl-Registry with this patch it definitely doesn't do what we 
want. Try 'make test' in it.

I've applied the same to the top level in Apache::Request and it works 
perfectly. When it's used in the sub dir, something goes wrong.

Index: ModPerl-Registry/Makefile.PL
===================================================================
RCS file: /home/cvs/modperl-2.0/ModPerl-Registry/Makefile.PL,v
retrieving revision 1.3
diff -u -r1.3 Makefile.PL
--- ModPerl-Registry/Makefile.PL        11 Oct 2001 19:53:04 -0000      1.3
+++ ModPerl-Registry/Makefile.PL        6 Apr 2002 04:04:14 -0000
@@ -1,9 +1,10 @@
  require 5.6.0;

-use ExtUtils::MakeMaker;
-
  use lib qw(lib ../Apache-Test/lib);

+#use ExtUtils::MakeMaker;
+use ModPerl::MM ();
+
  # enable 'make test|clean'
  use Apache::TestMM qw(test clean);

@@ -19,7 +20,7 @@
  Apache::TestMM::filter_args();
  Apache::TestMM::generate_script('t/TEST');

-WriteMakefile
+ModPerl::MM::WriteMakefile
      (
       NAME         => 'ModPerl::Registry',
       VERSION_FROM => 'lib/ModPerl/RegistryCooker.pm',




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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to