Thanks... I tried it, and it didn't work. Here's what I did:

d2ia1@nya:~$ mv opt/apache/conf/httpd.conf ~
d2ia1@nya:~$ rm -Rf opt/apache/*
d2ia1@nya:~$ cd mod_perl-1.26/
d2ia1@nya:~/mod_perl-1.26$ perl Makefile.PL PREFIX=/home1/d/d2ia1/lib/perl5/ \
LIB=/home1/d/d2ia1/lib/perl5/ APACHE_PREFIX=/home1/d/d2ia1/opt/apache/ \
APACHE_SRC=../apache_1.3.24 NO_HTTPD=1 USE_APACI=1 EVERYTHING=1 PREP_HTTPD=1
 ...
d2ia1@nya:~/mod_perl-1.26$ make
 ...
d2ia1@nya:~/mod_perl-1.26$ make install
 ...
d2ia1@nya:~/mod_perl-1.26$ cd ../apache_1.3.24
d2ia1@nya:~/apache_1.3.24$ CFLAGS="$CFLAGS -D_LARGEFILE SOURCE
-D_FILE_OFFSET_BITS=64" \
./configure --prefix=/home1/d/d2ia1/opt/apache/ \
--activate-module=src/modules/perl/libperl.a
 ...
d2ia1@nya:~/apache_1.3.24$ make
 ...
d2ia1@nya:~/apache_1.3.24$ cd ..
d2ia1@nya:~$ mv opt/apache/conf/httpd.conf opt/apache/conf/httpd.conf.old
d2ia1@nya:~$ mv httpd.conf opt/apache/conf/httpd.conf

I get the same problem as before. If anyone wants to see all the output that
those commands produced, there's a full copy of it all at
http://durito.sourceforge.net/axkit_test/log_2002_10_03

uhh... any other suggestions?

Thanks in advance,
Andrew

P.S. I also tried doing it like this, to no avail:

d2ia1@nya:~$ mv opt/apache/conf/httpd.conf ~
d2ia1@nya:~$ rm -Rf opt/apache/
d2ia1@nya:~$ export PERL5LIB=/home1/d/d2ia1/lib/perl5/
d2ia1@nya:~$ export CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
d2ia1@nya:~/mod_perl-1.26$ perl Makefile.PL PREFIX=/home1/d/d2ia1/lib/perl5/ \
LIB=/home1/d/d2ia1/lib/perl5/ APACHE_PREFIX=/home1/d/d2ia1/opt/apache \
APACHE_SRC=../apache_1.3.24 \
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
d2ia1@nya:~/mod_perl-1.26$ make
 ...
d2ia1@nya:~/mod_perl-1.26$ make test
 ...
d2ia1@nya:~/mod_perl-1.26$ make install
 ...
d2ia1@nya:~/mod_perl-1.26$ cd ../apache_1.3.24
d2ia1@nya:~/apache_1.3.24$ make install
 ...
d2ia1@nya:~/apache_1.3.24$ cd ..
d2ia1@nya:~$ mv opt/apache/conf/httpd.conf opt/apache/conf/httpd.conf.orig
d2ia1@nya:~$ mv httpd.conf opt/apache/conf/


> On Sunday 29 September 2002 00:40, [EMAIL PROTECTED] wrote:
> 
> > d2ia1@nya:~/AxKit-1.6$ grep -i large Makefile
> > CCFLAGS = -fno-strict-aliasing -I/usr/local/include
> -D_LARGEFILE_SOURCE
> > -D_FILE_OFFSET_BITS=64
> > d2ia1@nya:~/AxKit-1.6$ cd ../apache_1.3.24
> > d2ia1@nya:~/apache_1.3.24$ grep -i large Makefile
> > d2ia1@nya:~/apache_1.3.24$ cd ../mod_perl-1.26/
> > d2ia1@nya:~/mod_perl-1.26$ grep -i large Makefile
> > CCFLAGS = -fno-strict-aliasing -I/usr/local/include
> -D_LARGEFILE_SOURCE
> > -D_FILE_OFFSET_BITS=64
> >
> > Does it mean anything that no lines of the Apache Makefile contain
> the
> > string "large"?
> 
> Correct. I had this problems several times, though I don't remember
> exactly 
> why I had it and why not any longer. The solution is to force apache to
> 
> include "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" in the CFLAGS, no
> matter 
> what. Usually something like this does the job:
> CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" ./configure
> ...
> (append your usual apache configuration flags)
> 
> CU
> Jörg
> 


-------------------------------------------------
Obtén tu correo en www.correo.unam.mx
UNAMonos Comunicándonos



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

Reply via email to