[Box Backup] Still problems with SSL in 1.3.6!

Jonas Lundgren boxbackup@fluffy.co.uk
Tue, 09 Nov 2004 06:54:30 +0100


./configure --with-openssl --with-openssl-includes=/usr/include/ssl/ 
--with-openssl-libs=/usr/lib/|grep -i ssl
checking for OpenSSL... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking for SSL_new in -lssl... yes

---------

grep -i ssl config.log|grep -v gcc
   $ ./configure --with-openssl 
--with-openssl-includes=/usr/include/ssl/ --with-openssl-libs=/usr/lib/
configure:22800: checking for OpenSSL
configure:22861: checking openssl/ssl.h usability
configure:22897: checking openssl/ssl.h presence
configure:22969: checking for openssl/ssl.h
configure:23046: checking for SSL_new in -lssl
| #define HAVE_OPENSSL_SSL_H 1
| #define HAVE_OPENSSL_SSL_H 1
| #define HAVE_OPENSSL_SSL_H 1
| #define HAVE_OPENSSL_SSL_H 1
| #define HAVE_OPENSSL_SSL_H 1
| #define HAVE_OPENSSL_SSL_H 1
| #define HAVE_OPENSSL_SSL_H 1
| #define HAVE_OPENSSL_SSL_H 1
| #define HAVE_OPENSSL_SSL_H 1
| #define HAVE_OPENSSL_SSL_H 1
| #define HAVE_OPENSSL_SSL_H 1
ac_cv_header_openssl_ssl_h=yes
ac_cv_lib_ssl_SSL_new=yes
CPPFLAGS=' -D_REENTRANT -I/usr/include/ssl/ -I/usr/local/include 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES'
SSL_LIB='-lcrypto -lssl'
#define HAVE_OPENSSL_SSL_H 1

-----------------------------

And still:

lighttpd -D -f /etc/lighttpd/lighttpd.conf
2004-11-09 05:40:22: (config.c.947) ssl support is missing, recompile 
with --with-openssl
2004-11-09 05:40:22: (server.c.376) setting default values failed


I've configured lighttpd with only --with-openssl,
with,
"--with-openssl --with-openssl-includes=/usr/include/ssl/ 
--with-openssl-libs=/usr/lib/"
and with only:
"--with-openssl-includes=/usr/include/ssl/ --with-openssl-libs=/usr/lib/"
+ all other possible combinations you can come up with.

I've also modified the src/base.h file to force ssl support (i removed 
the ifdef's, but then i got lots of undefined references to a bounch of 
ssl calls.)

I can't live without https, please help, i don't want to run apache any 
more :P (I can't go back to the older versions of lighttpd where ssl 
worked, because of the mod_simple_vhost bug, and versions older than 
that doesn't have all features that i need.)

*cries for help*
--
Best regards, Jonas Lundgren

ICQ:    #52064961
IRC:    neonman @ EFnet, Undernet, Quakenet
Mail:   jonas.lundgren@local.se