httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "hgomez@slib.fr" <new-ht...@slib.fr>
Subject 2.0.24 and ssl
Date Sat, 25 Aug 2001 07:47:01 GMT
Hi to all,

While trying to rebuild 2.0.24 for RPM packaging I got
the following error :

t/BUILD/httpd-2_0_24/server/mpm/perchild -I/usr/src/redhat/BUILD/httpd-2_0_2
4/modules/http -I/usr/src/redhat/BUILD/httpd-2_0_24/include -I/usr/src/redha
t/BUILD/httpd-2_0_24/srclib/apr/include -I/usr/src/redhat/BUILD/httpd-2_0_24
/srclib/apr-util/include -I/usr/src/redhat/BUILD/httpd-2_0_24/modules/dav/ma
in -c ssl_engine_io.c && touch ssl_engine_io.slo
/bin/sh /usr/src/redhat/BUILD/httpd-2_0_24/shlibtool --silent --mode=compile
gcc -pthread -DNO_DBM_REWRITEMAP -O2 -m486 -fno-strength-reduce -DLINUX=2 -D
_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -DAP_HAVE_DESIGN
ATED_INITIALIZER -DAPACHE_XLATE -I. -I/usr/src/redhat/BUILD/httpd-2_0_24/os/
unix -I/usr/src/redhat/BUILD/httpd-2_0_24/server/mpm/perchild -I/usr/src/red
hat/BUILD/httpd-2_0_24/modules/http -I/usr/src/redhat/BUILD/httpd-2_0_24/inc
lude -I/usr/src/redhat/BUILD/httpd-2_0_24/srclib/apr/include -I/usr/src/redh
at/BUILD/httpd-2_0_24/srclib/apr-util/include -I/usr/src/redhat/BUILD/httpd-
2_0_24/modules/dav/main -c ssl_engine_kernel.c && touch
ssl_engine_kernel.slo
/bin/sh /usr/src/redhat/BUILD/httpd-2_0_24/shlibtool --silent --mode=compile
gcc -pthread -DNO_DBM_REWRITEMAP -O2 -m486 -fno-strength-reduce -DLINUX=2 -D
_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -DAP_HAVE_DESIGN
ATED_INITIALIZER -DAPACHE_XLATE -I. -I/usr/src/redhat/BUILD/httpd-2_0_24/os/
unix -I/usr/src/redhat/BUILD/httpd-2_0_24/server/mpm/perchild -I/usr/src/red
hat/BUILD/httpd-2_0_24/modules/http -I/usr/src/redhat/BUILD/httpd-2_0_24/inc
lude -I/usr/src/redhat/BUILD/httpd-2_0_24/srclib/apr/include -I/usr/src/redh
at/BUILD/httpd-2_0_24/srclib/apr-util/include -I/usr/src/redhat/BUILD/httpd-
2_0_24/modules/dav/main -c ssl_engine_log.c && touch ssl_engine_log.slo
/bin/sh /usr/src/redhat/BUILD/httpd-2_0_24/shlibtool --silent --mode=compile
gcc -pthread -DNO_DBM_REWRITEMAP -O2 -m486 -fno-strength-reduce -DLINUX=2 -D
_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -DAP_HAVE_DESIGN
ATED_INITIALIZER -DAPACHE_XLATE -I. -I/usr/src/redhat/BUILD/httpd-2_0_24/os/
unix -I/usr/src/redhat/BUILD/httpd-2_0_24/server/mpm/perchild -I/usr/src/red
hat/BUILD/httpd-2_0_24/modules/http -I/usr/src/redhat/BUILD/httpd-2_0_24/inc
lude -I/usr/src/redhat/BUILD/httpd-2_0_24/srclib/apr/include -I/usr/src/redh
at/BUILD/httpd-2_0_24/srclib/apr-util/include -I/usr/src/redhat/BUILD/httpd-
2_0_24/modules/dav/main -c ssl_engine_mutex.c && touch ssl_engine_mutex.slo
/bin/sh /usr/src/redhat/BUILD/httpd-2_0_24/shlibtool --silent --mode=compile
gcc -pthread -DNO_DBM_REWRITEMAP -O2 -m486 -fno-strength-reduce -DLINUX=2 -D
_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -DAP_HAVE_DESIGN
ATED_INITIALIZER -DAPACHE_XLATE -I. -I/usr/src/redhat/BUILD/httpd-2_0_24/os/
unix -I/usr/src/redhat/BUILD/httpd-2_0_24/server/mpm/perchild -I/usr/src/red
hat/BUILD/httpd-2_0_24/modules/http -I/usr/src/redhat/BUILD/httpd-2_0_24/inc
lude -I/usr/src/redhat/BUILD/httpd-2_0_24/srclib/apr/include -I/usr/src/redh
at/BUILD/httpd-2_0_24/srclib/apr-util/include -I/usr/src/redhat/BUILD/httpd-
2_0_24/modules/dav/main -c ssl_engine_pphrase.c && touch
ssl_engine_pphrase.slo
/bin/sh /usr/src/redhat/BUILD/httpd-2_0_24/shlibtool --silent --mode=compile
gcc -pthread -DNO_DBM_REWRITEMAP -O2 -m486 -fno-strength-reduce -DLINUX=2 -D
_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -DAP_HAVE_DESIGN
ATED_INITIALIZER -DAPACHE_XLATE -I. -I/usr/src/redhat/BUILD/httpd-2_0_24/os/
unix -I/usr/src/redhat/BUILD/httpd-2_0_24/server/mpm/perchild -I/usr/src/red
hat/BUILD/httpd-2_0_24/modules/http -I/usr/src/redhat/BUILD/httpd-2_0_24/inc
lude -I/usr/src/redhat/BUILD/httpd-2_0_24/srclib/apr/include -I/usr/src/redh
at/BUILD/httpd-2_0_24/srclib/apr-util/include -I/usr/src/redhat/BUILD/httpd-
2_0_24/modules/dav/main -c ssl_engine_rand.c && touch ssl_engine_rand.slo
ssl_engine_rand.c: In function `ssl_rand_seed':
ssl_engine_rand.c:154: `ap_scoreboard_image' undeclared (first use in this
function)
ssl_engine_rand.c:154: (Each undeclared identifier is reported only once
ssl_engine_rand.c:154: for each function it appears in.)
ssl_engine_rand.c:155: `SCOREBOARD_SIZE' undeclared (first use in this
function)
make[4]: *** [ssl_engine_rand.slo] Error 1
make[4]: Leaving directory `/usr/src/redhat/BUILD/httpd-2_0_24/modules/ssl'
make[3]: *** [shared-build-recursive] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/httpd-2_0_24/modules/ssl'
make[2]: *** [shared-build-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/httpd-2_0_24/modules'
make[1]: *** [shared-build-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/httpd-2_0_24'
make: *** [all-recursive] Error 1
Bad exit status from /var/tmp/rpm-tmp.81533 (%build)
I'm trying to build with mod_ssl :)
Here is my build steps :
------
cat >> config.layout <<EOF
# RedHat 6.x layout
<Layout RedHat6>
prefix: %{_prefix}
exec_prefix: %{_prefix}
bindir: %{_bindir}
sbindir: %{_sbindir}
libexecdir: %{_libdir}/%{name}
mandir: %{_mandir}
sysconfdir: %{_sysconfdir}/%{pname}/conf
datadir: %{contentdir}
iconsdir: %{contentdir}/icons
htdocsdir: %{contentdir}/html
cgidir: %{contentdir}/cgi-bin
includedir: %{_includedir}/%{name}
localstatedir: %{_localstatedir}
runtimedir: %{_var}/%{pname}
logdir: %{_var}/log/%{pname}
proxycachedir: %{_var}/cache/%{pname}
</Layout>
EOF
./buildconf
#LIBS="-ldb1" CFLAGS="$RPM_OPT_FLAGS"
INCLUDES="-DAPACHE_XLATE -I/usr/include/db1 -DHAVE_DB_H" ./configure \
CFLAGS="$RPM_OPT_FLAGS" INCLUDES="-DAPACHE_XLATE" ./configure \
--with-program-name=httpd2 \
--with-port=8092 \
--with-mpm=perchild \
--with-perl=%{_bindir}/perl \
--with-apache=../apache_%{apversion} \
--prefix=%{_prefix} \
--exec-prefix=%{_prefix} \
--bindir=%{_sbindir} \
--sbindir=%{_sbindir} \
--libexecdir=%{_libdir}/%{name} \
--mandir=%{_mandir} \
--localstatedir=%{_localstatedir} \
--sysconfdir=%{_sysconfdir}/%{pname}/conf \
--datadir=%{contentdir} \
--includedir=%{_includedir}/%{name} \
--enable-layout=RedHat6 \
--enable-module=all \
--enable-mods-shared \
--enable-module=define \
--enable-shared=max \
--enable-alias=shared \
--enable-asis=shared --enable-setenvif=shared \
--enable-access=shared --enable-auth=shared --enable-mime=shared \
--enable-ext-filter=shared --enable-case-filter=shared --enable-suexec=share
d \
--enable-actions=shared --enable-info=shared --enable-autoindex=shared \
--enable-echo=shared --enable-file_cache=shared --enable-speling=shared \
--enable-example=shared --enable-mmap-static=shared \
--enable-vhost-alias=shared --enable-mime-magic=shared --enable-status=share
d \
--enable-auth-anon=shared --enable-auth-dbm=shared --enable-auth-db=shared -
-enable-auth-digest=shared \
--enable-cern-meta=shared --enable-expires=shared --enable-headers=shared --
enable-usertrack=shared \
--enable-unique-id=shared --enable-cgi=shared --enable-cgid=shared --enable-
include=shared --enable-so \
--enable-log_config=shared --enable-negotiation=shared --enable-dir=shared -
-enable-imap=shared \
--enable-charset_lite=shared --enable-ssl=shared --with-ssl=/usr/include \
--enable-dav --enable-userdir=shared --enable-env=shared --enable-rewrite=sh
ared
# quick patches to fix httpd.conf and cgisock locations
perl -pi -e 's|conf/httpd2.conf|%{_sysconfdir}/%{pname}/conf/httpd2.conf|g'
include/ap_config_auto.h
perl -pi -e 's|logs/cgisock|%{_var}/log/%{pname}/cgisock|g'
./modules/generators/mod_cgid.c
cat >> include/ap_config_auto.h <<EOF
#define DEFAULT_XFERLOG "%{_var}/log/%{pname}/access_log"
#define DEFAULT_ERRORLOG "%{_var}/log/%{pname}/error_log"
#define DEFAULT_LOCKFILE "%{_var}/log/%{pname}/accept.lock"
#define DEFAULT_SCOREBOARD "%{_var}/log/%{pname}/apache_runtime_status"
EOF
# quick patch to have build works
cat >> include/release.h <<EOF1
#define AP_SERVER_BASEPRODUCT "Apache"
#define AP_SERVER_BASEVERSION "2.0"
EOF1
#LIBS="-ldb1" OPTIM="$RPM_OPT_FLAGS"
INCLUDES="-DAPACHE_XLATE -I/usr/include/db1 -DHAVE_DB_H" make
#INCLUDES="-DAPACHE_XLATE" make
make
------

Thanks for your help

-
Henri Gomez ___[_]____
EMAIL : hgomez@slib.fr (. .)
PGP KEY : 697ECEDD ...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6


Mime
View raw message