configuring 2.8.16 fails on HP-UX 11.00
am 14.04.2004 13:06:29 von Marko Asplund--Apple-Mail-4-554374736
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
format=flowed
i'm trying to build Apache 1.3.29 with mod_ssl 2.8.16 as 64-bit
application on HP-UX 11.00 using HP C/ANSI C compiler. the build fails
during configuration phase. here's what happens:
gtar zxf ../apache_1.3.29.tar.gz
gtar zxf ../mod_ssl-2.8.16-1.3.29.tar.gz
cd mod_ssl-2.8.16-1.3.29
CC=cc CFLAGS="+DA2.0W +DS2.0" ./configure \
--with-apache=../apache_1.3.29 --with-ssl=/opt/openssl/kb20dr2
======== Error Output for sanity check ========
cd ..; cc -DHPUX11 -Aa -Ae -D_HPUX_SOURCE -DMOD_SSL=208116
-DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
+DA2.0W +DS2.0 `./apaci` -L/opt/openssl/kb20dr2/lib -o helpers/dummy
helpers/dummy.c -lm -lpthread -ldbm -lssl -lcrypto -lm
ld: Can't find library or mismatched ABI for -ldbm
Fatal error.
*** Error exit code 1
Stop.
after removing the '-ldbm' flag from CFLAGS (see attached patch) the
compilation goes fine.
best regards,
--
aspa
--Apple-Mail-4-554374736
Content-Transfer-Encoding: 7bit
Content-Type: application/octet-stream;
x-unix-mode=0644;
name="modsslhpux64conf.patch"
Content-Disposition: attachment;
filename=modsslhpux64conf.patch
*** src/Configure.dist Tue Apr 13 15:44:14 2004
--- src/Configure Tue Apr 13 15:44:34 2004
***************
*** 371,376 ****
--- 371,377 ----
;;
*-hp*-hpux11.*)
OS='HP-UX 11'
+ DBM_LIB=""
CFLAGS="$CFLAGS -DHPUX11"
RANLIB="/bin/true"
LIBS="$LIBS -lm -lpthread"
--Apple-Mail-4-554374736--
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org