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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://dovecot.org/pipermail/dovecot/attachments/20070124/8d6e6024/attachment.html>
Timo Sirainen
2007-Jan-24 16:44 UTC
[Dovecot] building with SSL support in non-std directories
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. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070124/bffdbe5b/attachment.bin>
Apparently Analagous Threads
- Found a bug in the OpsnSSH configuration script
- rc15 'configure' fails at "unexpected token `SSL,'"
- ./configure --with-mysql --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-ssldir=/etc/ssl --with-ssl=openssl
- SSL issues - certificate verify failed
- Compiling with SSL