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

After hours of devasting failure, I feel like having my head in a mixer
!

With this i wanted to build mod_perl+apache in one step (but it failed):

<script>
#!/bin/sh

APACHE_DIR=../apache_1.3.24

perl Makefile.PL EVERYTHING=1 APACHE_PREFIX=/usr/local/apache \
        APACHE_SRC=$APACHE_DIR/src \
        DO_HTTPD=1 \
        USE_APACI=1 \
 
APACI_ARGS=--with-layout=GNU,--prefix=/usr/local/apache,--enable-module=
most,--enable-shared=max,--enable-module=perl,
--enable-shared=perl,--server-uid=wwwrun,--server-gid=nobody,--disable-r
ule=EXPAT,--verbose
        #USE_DSO=1

make
make test
make install
</script>

Because mod_perl failed,  i tried to rebuild apache with your changes
and thought of
installing mod_perl later with apxs:

<script>

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

</script>

But both failed !

Now i am in a checkmate situation:

        1) I get apache built fine with all modules'n stuff, except
mod_perl.
        2) When i built mod_perl later via apci, it tells me apache is
compiled
        without the largefile support.

What the hell shall i do to get apache+mod_perl running with largefile
support, when the CFLAGS trick
isn't working ??

Any simple example configuration how to install a frest apache+mod_perl
? I would prefer the copy+paste strategy..

TIA,
Murat




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

Reply via email to