httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary W <g...@db.stanford.edu>
Subject Make install problems on Apache2 - redundant .c entries
Date Tue, 14 May 2002 18:07:27 GMT
(This is my first post, so any pointers
as to etiquette, format, etc... are appreciated.)

I have a fresh RH7.2 installed and am trying to get SSL installed.
I looked at the docs, archives and posted to 
             comp.infosystems.www.servers.unix
to no avail.

After   
./configure --prefix=/u/gary/httpd-2.0.36 --enable-mods-shared="ssl"
--with-ssl="/u/gary/openssl-0.9.6"
and make

make install gives this:
[...]
Found newer headers. Will rebuild exports.c.
rm -f exports.c
gawk -f /u/gary/httpd-2.0.36/build/make_exports.awk
/u/gary/httpd-2.0.36/include/*.h /u/gary/httpd-2.0.36/os/unix/*.h
/u/gary/httpd-2.0.36/srclib/apr/include/*.h
/u/gary/httpd-2.0.36/srclib/apr-util/include/*.h
/u/gary/httpd-2.0.36/modules/http/*.h > exports.c
/bin/sh /u/gary/httpd-2.0.36/srclib/apr/libtool --silent --mode=compile
gcc  -g -O2 -pthread    -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -D_SVID_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER   -I.
-I/u/gary/httpd-2.0.36/os/unix -I/u/gary/httpd-2.0.36/server/mpm/prefork
-I/u/gary/httpd-2.0.36/modules/http -I/u/gary/httpd-2.0.36/modules/proxy
-I/u/gary/httpd-2.0.36/include -I/u/gary/httpd-2.0.36/srclib/apr/include
-I/u/gary/httpd-2.0.36/srclib/apr-util/include
-I/u/gary/openssl-0.9.6/include/openssl -I/u/gary/openssl-0.9.6/include
-I/u/gary/httpd-2.0.36/modules/dav/main -prefer-non-pic -static -c
exports.c && touch exports.lo
exports.c:1361: redefinition of `ap_hack_apr_allocator_create'
exports.c:165: `ap_hack_apr_allocator_create' previously defined here
exports.c:1362: redefinition of `ap_hack_apr_allocator_destroy'
exports.c:166: `ap_hack_apr_allocator_destroy' previously defined here
[lots and lots]

I notice the autogenerated exports.c has .h files redundantly added.
I tried to short circuit this by editing exports.c and not rm -f it,
but ran into many more problems.
I even looked at the awk files, but don't understand
awk well enough to decipher them.

I had the same problem with 2.0.35

Does anyone know a workaround?

Gary Wesley
-- 
Bike to work day - May 16th

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message