:: There is nothing in the configure script of apache, since
:: the largefile
:: options are added by mod_perl when you compile mod_perl and
:: apache together.
::
:: If you want to use apxs, compile apache with custom CFLAGS:
:: CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
:: ./configure ... (or something along those lines)
::
:: If you are using the traditional way (manual or apaci),
:: mod_perl should take
:: care of that automatically.
Ok, you were absolutely right, but i found a bug which made mod_perl
to fail detecting the "LARGEFILE_SOURCE" support of apache.
in the src/support/apxs (.pl) file the shebang was configured as
"/usr/local/bin/perl", but on my system it is "/usr/bin/perl" so when
mod_perl called apxs it wasn't responding and mod_perl got any default
values from anywhere but not from the real/current apache.
Now for anybody else who is interested:
I) Building apache_1.3.24
1) Untar apache and go into apache_1.3.24 directory. Type in you shell:
$ which perl
$ cd src/support
$ head -1 apxs.pl apxs
If your "which perl" and the head of apxs.pl or apxs differs, you have
may have the same trouble as me using apxs.
Go and change apxs.pl and apxs to the path of your perl (as shown by
which).
2) now go back to the apache_1.3.24 directory and execute these lines
(or something similar)
$ CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" ./configure
--with-layout=GNU \
--prefix=/usr/local/apache \
--enable-module=most \
--enable-shared=max \
--server-uid=wwwrun \
--server-gid=nobody \
--disable-rule=EXPAT \
--verbose
$ make
$ make install
3) Untar mod_perl and go into the its directory. Enter following lines:
$ perl Makefile.PL NO_HTTPD=1 EVERYTHING=1 USE_APXS=1
WITH_APXS=/usr/local/apache/sbin/apxs
$ make
$ make install
Now i think after installing AxKit all my segfaults+probs should be
fixed ?? Hope..
Cheers,
Murat
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]