hi
ich habe probleme beim compilieren von apache 2.0.46 unter suse 8.1
wenn ich folgende ./configure eingebe erhalten ich eine fehlermeldung:
./configure --enable-dav --enable-so --prefix=/usr/local/apache2
--enable-maintainer-mode --with-dbm=db4
--with-berkeley-db=/usr/local/BerkeleyDB.4.0
--enable-ssl
im config.log steht dann folgendes:
--schnipp --
configure:9652: checking whether to enable mod_proxy_http
configure:9690: result: no
configure:9764: checking whether to enable mod_ssl
configure:9800: result: checking dependencies
configure:9805: checking for SSL/TLS toolkit base
configure:9856: result: /usr
configure:9859: checking for SSL/TLS toolkit version
configure:9861: result: OpenSSL 0.9.6g [engine] 9 Aug 2002
configure:9879: checking for SSL/TLS toolkit includes
configure:9897: result: /usr/include
configure:9900: checking for SSL/TLS toolkit libraries
configure:9915: result: /usr/lib
configure:10036: checking for SSL_set_state
configure:10073: gcc -o conftest -g -O2 -Wall -Wmissing-prototypes
-Wstrict-prototypes -Wmissing-declarations -pthread -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DAP_DEBUG
-L/usr/local/BerkeleyDB.4.0/lib conftest.c -lssl -lcrypto >&5
configure:10051: warning: function declaration isn't a prototype
configure:10052: warning: function declaration isn't a prototype
configure:10056: warning: function declaration isn't a prototype
/tmp/ccmTgV3l.o: In function `main':
/home/apache2/httpd-2.0.46/configure:10063: undefined reference to
`SSL_set_state'
collect2: ld returned 1 exit status
configure:10076: $? = 1
configure: failed program was:
#line 10041 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char SSL_set_state (); below. */
#include
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
--schnipp --
und wenn ich versuche make auszuführen bekomme ich nach einer weile diesen
fehler:
-- schnipp --
Making all in ssl
make[2]: Entering directory `/home/apache2/httpd-2.0.46/modules/ssl'
make[3]: Entering directory `/home/apache2/httpd-2.0.46/modules/ssl'
/bin/sh /home/apache2/httpd-2.0.46/srclib/apr/libtool --silent
--mode=compile gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes
-Wmissing-declarations -pthread -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-D_SVID_SOURCE -D_GNU_SOURCE -DAP_DEBUG -DAP_HAVE_DESIGNATED_INITIALIZER
-I/home/apache2/httpd-2.0.46/srclib/apr/include
-I/home/apache2/httpd-2.0.46/srclib/apr-util/include
-I/usr/local/BerkeleyDB.4.0/include -I.
-I/home/apache2/httpd-2.0.46/os/unix
-I/home/apache2/httpd-2.0.46/server/mpm/prefork
-I/home/apache2/httpd-2.0.46/modules/http
-I/home/apache2/httpd-2.0.46/modules/filters
-I/home/apache2/httpd-2.0.46/modules/proxy
-I/home/apache2/httpd-2.0.46/include -I/usr/include/openssl
-I/home/apache2/httpd-2.0.46/modules/dav/main
-prefer-non-pic -static -c mod_ssl.c && touch mod_ssl.lo
In file included from mod_ssl.h:125,
from mod_ssl.c:60:
/usr/include/openssl/ssl.h:277: warning: function declaration isn't a
prototype
/usr/include/openssl/ssl.h:278: warning: function declaration isn't a
prototype
/usr/include/openssl/ssl.h:279: warning: function declaration isn't a
prototype
/usr/include/openssl/ssl.h:507: warning: function declaration isn't a
prototype
/usr/include/openssl/ssl.h:510: warning: function declaration isn't a
prototype
/usr/include/openssl/ssl.h:532: warning: function declaration isn't a
prototype
/usr/include/openssl/ssl.h:639: warning: function declaration isn't a
prototype
/usr/include/openssl/ssl.h:722: warning: function declaration isn't a
prototype
In file included from mod_ssl.h:125,
from mod_ssl.c:60:
/usr/include/openssl/ssl.h:1102: warning: function declaration isn't a
prototype
/usr/include/openssl/ssl.h:1138: warning: function declaration isn't a
prototype
/usr/include/openssl/ssl.h:1140: warning: function declaration isn't a
prototype
/usr/include/openssl/ssl.h:1213: warning: function declaration isn't a
prototype
/usr/include/openssl/ssl.h:1214: warning: function declaration isn't a
prototype
/bin/sh /home/apache2/httpd-2.0.46/srclib/apr/libtool --silent
--mode=compile gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes
-Wmissing-declarations -pthread -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-D_SVID_SOURCE -D_GNU_SOURCE -DAP_DEBUG -DAP_HAVE_DESIGNATED_INITIALIZER
-I/home/apache2/httpd-2.0.46/srclib/apr/include
-I/home/apache2/httpd-2.0.46/srclib/apr-util/include
-I/usr/local/BerkeleyDB.4.0/include -I.
-I/home/apache2/httpd-2.0.46/os/unix
-I/home/apache2/httpd-2.0.46/server/mpm/prefork
-I/home/apache2/httpd-2.0.46/modules/http
-I/home/apache2/httpd-2.0.46/modules/filters
-I/home/apache2/httpd-2.0.46/modules/proxy
-I/home/apache2/httpd-2.0.46/include -I/usr/include/openssl
-I/home/apache2/httpd-2.0.46/modules/dav/main
-prefer-non-pic -static -c ssl_engine_config.c && touch ssl_engine_config.lo
In file included from mod_ssl.h:125,
from ssl_engine_config.c:63:
/usr/include/openssl/ssl.h:277: warning: function declaration isn't a
prototype
/usr/include/openssl/ssl.h:278: warning: function declaration isn't a
prototype
/usr/include/openssl/ssl.h:279: warning: function declaration isn't a
prototype
/usr/include/openssl/ssl.h:507: warning: function declaration isn't a
prototype
...
-- schnipp --
wenn ich ohne --enable-ssl compilieren funtzt alles ohne probleme.
ich habe folgende openssl pakete installiert:
openssl-0.9.6g-68
openssl-devel-0.9.6g-68
weiss jemand rat?
gruss
charly
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!