Re: APXS make problems with mod_perl 1.26

2001-07-12 Thread Neil Mansilla

On Wed, 11 Jul 2001, Doug MacEachern wrote:

 On Wed, 11 Jul 2001, Neil Mansilla wrote:
 
  I've successfully performed the same APXS make with mod_perl 1.25 and
  1.25_01, but it breaks with the following error with 1.26:
  
  perl Makefile.PL USE_APXS=1 \
 WITH_APXS=/usr/local/apache_1.3.20/bin/apxs \
 PERL_STACKED_HANDLERS=1 PERL_USELARGEFILES=0
  
 [standard Makefile.PL output is fine...]
 
 that works just fine here, however..
  
  make[1]: Entering directory `/usr/src/mod_perl-1.26/Apache'
  cc -c -I../ -I/usr/local/apache_1.3.20/include -I/usr/local/apache_1.3.20/include 
-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 
-DVERSION=\1.27\ -DXS_VERSION=\1.27\ -fpic 
-I/usr/local/lib/perl5/5.6.0/i686-linux/CORE  Apache.c
  Apache.xs:51: mod_perl.h: No such file or directory
  Apache.xs:52: mod_perl_xs.h: No such file or directory
  Apache.xs:292: parse error
 
 .. i had exactly the same error when i first tried, in a mod_perl-1.26
 directory i had earlier built with other options, including DYNAMIC=1
 the new build tried to compile the old Apache/Apache.c
 did you happen to try another build in that tree prior?

.. Okay, started with a clean tree, and what do you know -- worked just
fine.  Thanks, Doug.





Re: APXS make problems with mod_perl 1.26

2001-07-11 Thread Doug MacEachern

On Wed, 11 Jul 2001, Neil Mansilla wrote:

 I've successfully performed the same APXS make with mod_perl 1.25 and
 1.25_01, but it breaks with the following error with 1.26:
 
 perl Makefile.PL USE_APXS=1 \
WITH_APXS=/usr/local/apache_1.3.20/bin/apxs \
PERL_STACKED_HANDLERS=1 PERL_USELARGEFILES=0
 
[standard Makefile.PL output is fine...]

that works just fine here, however..
 
 make[1]: Entering directory `/usr/src/mod_perl-1.26/Apache'
 cc -c -I../ -I/usr/local/apache_1.3.20/include -I/usr/local/apache_1.3.20/include 
-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 
-DVERSION=\1.27\ -DXS_VERSION=\1.27\ -fpic 
-I/usr/local/lib/perl5/5.6.0/i686-linux/CORE  Apache.c
 Apache.xs:51: mod_perl.h: No such file or directory
 Apache.xs:52: mod_perl_xs.h: No such file or directory
 Apache.xs:292: parse error

.. i had exactly the same error when i first tried, in a mod_perl-1.26
directory i had earlier built with other options, including DYNAMIC=1
the new build tried to compile the old Apache/Apache.c
did you happen to try another build in that tree prior?