[Dovecot] building with SSL support in non-std directories
I'm trying to get configure to find the right libs/includes to build with SSL support (openssl), but it just seems to refuse!
I tried passing " --with-ssl=openssl --with-ssldir=/usr/local/ssl ", but this didn't seem to help.
In /usr/local/ssl is: drwxr-xr-x 2 root root 4096 2006-12-11 13:25 bin drwxr-xr-x 2 root root 4096 2006-12-11 12:15 certs drwxr-xr-x 3 root root 4096 2006-12-11 12:15 include drwxr-xr-x 4 root root 4096 2006-12-11 13:25 lib drwxr-xr-x 6 root root 4096 2006-12-11 12:15 man drwxr-xr-x 2 root root 4096 2006-12-11 13:25 misc -rw-r--r-- 1 root root 9374 2006-12-11 13:25 openssl.cnf drwxr-xr-x 2 root root 4096 2006-12-11 12:15 private
Can someone tell me what it's looking for and how to properly tell it to compile in the SSL support???
Thanks, AJ
On Wed, 2007-01-24 at 09:42 -0500, AJ Weber wrote:
I'm trying to get configure to find the right libs/includes to build with SSL support (openssl), but it just seems to refuse!
I tried passing " --with-ssl=openssl --with-ssldir=/usr/local/ssl ", but this didn't seem to help.
Don't give --with-ssldir, it's the default path to where the certificate files are. Use this:
CPPFLAGS=-I/usr/local/ssl/include LDFLAGS=-L/usr/local/ssl/lib ./configure
That works with all autoconf software and all libraries that you might have in different locations.
participants (2)
-
AJ Weber
-
Timo Sirainen