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.





APXS make problems with mod_perl 1.26

2001-07-11 Thread Neil Mansilla

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...]


[root@box593 mod_perl-1.26]# make
(cd ./apaci  PERL5LIB=/usr/src/mod_perl-1.26/lib make)
make[1]: Entering directory `/usr/src/mod_perl-1.26/apaci'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/mod_perl-1.26/apaci'
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
make[1]: *** [Apache.o] Error 1
make[1]: Leaving directory `/usr/src/mod_perl-1.26/Apache'
make: *** [subdirs] Error 2
[root@box593 mod_perl-1.26]# 

 end output 

perl 5.6.0, apache 1.3.20, kern 2.2.19, gnu make 3.77,
married 1.0, children 0.0, home 1.0, bathrooms 1.5




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?