Re: apache 2.0 hates older linux kernels: (fwd)

2002-06-24 Thread Mads Toftum

On Mon, Jun 24, 2002 at 01:35:43PM -0400, Cliff Woolley wrote:
> 
> Have any of us tried Apache 2.0 on a Linux 2.0-based box recently?  I
> certainly haven't.

I just did a very quick build (yeah right - as if 2.0.39 would ever be fast
to configure and install :) on my old Redhat 5.2 with no problems at all.
There was no need to add special flags - it serves pages with no problem:

uname -a
Linux mt-linux 2.0.36 #1 Tue Oct 13 22:17:11 EDT 1998 i686 unknown

httpd -V
Server version: Apache/2.0.39
Server built:   Jun 24 2002 19:10:18
Server's Module Magic Number: 20020612:1
Architecture:   32-bit
Server compiled with
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_MMAP
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D HTTPD_ROOT="/dana/httpd"
 -D SUEXEC_BIN="/dana/httpd/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="logs/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"


vh

Mads Toftum
-- 
`Darn it, who spiked my coffee with water?!' - lwall




apache 2.0 hates older linux kernels: (fwd)

2002-06-24 Thread Cliff Woolley


Have any of us tried Apache 2.0 on a Linux 2.0-based box recently?  I
certainly haven't.  Does anybody have one we can play with?

--Cliff

PS: Our use of HZ is probably totally bogus anyway -- it's a kernel
parameter; not likely to be something we should be depending on being
able to read.



-- Forwarded message --
Date: Mon, 24 Jun 2002 13:29:56 -0400 (EDT)
From: R. DuFresne <[EMAIL PROTECTED]>
To: Cliff Woolley <[EMAIL PROTECTED]>
Subject: apache 2.0 hates older linux kernels: (fwd)


Any clues here?  If I do not configure with --disable-threads, it fails
sooner in the pthreads sections of the code, and I have tried reducing
modules to the barest min, still always this failure:

uname -a
Linux darkstar 2.0.35 #4 Mon Dec 14 18:18:57 CST 1998 i586 unknown


and no matter how we configure, apache dies under:

/bin/sh /mnt/src/httpd-2.0.39/srclib/apr/libtool --silent --mode=compile
gcc  -g -O2-DLINUX=2 -D_REENTRANT -DAP_HAVE_DESIGNATED_INITIALIZER
-I/mnt/src/httpd-2.0.39/srclib/apr/include
-I/mnt/src/httpd-2.0.39/srclib/apr-util/include
-I/mnt/src/httpd-2.0.39/srclib/apr-util/xml/expat/lib -I.
-I/mnt/src/httpd-2.0.39/os/unix -I/mnt/src/httpd-2.0.39/server/mpm/prefork
-I/mnt/src/httpd-2.0.39/modules/http
-I/mnt/src/httpd-2.0.39/modules/filters
-I/mnt/src/httpd-2.0.39/modules/proxy -I/mnt/src/httpd-2.0.39/include
-I/mnt/src/httpd-2.0.39/modules/dav/main -prefer-non-pic -static -c
mod_status.c && touch mod_status.lo
mod_status.c: In function `status_handler':
mod_status.c:270: `HZ' undeclared (first use this function)
mod_status.c:270: (Each undeclared identifier is reported only once
mod_status.c:270: for each function it appears in.)
make[3]: *** [mod_status.lo] Error 1
make[3]: Leaving directory `/mnt/src/httpd-2.0.39/modules/generators'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/src/httpd-2.0.39/modules/generators'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/src/httpd-2.0.39/modules'
make: *** [all-recursive] Error 1



Thanks,

Ron DuFresne
-- 
~~
admin & senior security consultant:  sysinfo.com
http://sysinfo.com

"Cutting the space budget really restores my faith in humanity.  It
eliminates dreams, goals, and ideals and lets us get straight to the
business of hate, debauchery, and self-annihilation."
-- Johnny Hart

testing, only testing, and damn good at it too!