Hi Sluggers: 

I've built Apache 1.3.9 many times before but now it's failing on a 
brand new Redhat 7 install (Linux 2.2.16-22 ). 
Does anyone have any pointers?

It seeme to be a problem with the new compiler support.

I've use the following flags with apache's configure:
   ./configure     --enable-shared=max    --enable-module=most 
   
Running 'make' generates the following failure message:
--SNIP--
...
gcc -c  -I../../os/unix -I../../include   -DLINUX=2 -DNO_DBM_REWRITEMAP
-DUSE_HS
REGEX -DUSE_EXPAT -I../../lib/expat-lite `../../apaci` -fpic
-DSHARED_MODULE mod
_auth_anon.c && mv mod_auth_anon.o mod_auth_anon.lo
gcc -shared -o mod_auth_anon.so mod_auth_anon.lo
gcc -c  -I../../os/unix -I../../include   -DLINUX=2 -DNO_DBM_REWRITEMAP
-DUSE_HS
REGEX -DUSE_EXPAT -I../../lib/expat-lite `../../apaci` -fpic
-DSHARED_MODULE mod
_auth_dbm.c && mv mod_auth_dbm.o mod_auth_dbm.lo
In file included from mod_auth_dbm.c:79:
/usr/include/db1/ndbm.h:42:16: db.h: No such file or directory
make[4]: *** [mod_auth_dbm.so] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
--SNIP--

Comment: 
=========
ndbm.h and db.h both exist in /usr/include/db1/
/usr/include no longer contains db.h as in Redhat 6.1.

Copying db.h from another 6.1 install to /usr/lib/include
on the redhat 7 machine still fails (risky idea anyway)

Anyone experience something similar? Pointers appreciated.

Regards,
Sonam

P.S: 
The gcc version reported by Redhat 7:
 gcc version 2.96 20000731 (Red Hat Linux 7.0)  
GNU's take on this: http://gcc.gnu.org/gcc-2.96.html


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to