Compiling Samba with OpenSSL

Andrew Hood ajhood at fl.net.au
Mon May 15 12:54:32 GMT 2000


Ervin,

I was just trying to compile CVS with OpenSSL myself and this method
works on Linux. Check the value of CFLAGS in the root Makefile and
adjust for other O/Ses.

./configure --with-ssl

make CFLAGS="-DHAVE_CRYPT_DECL -I/usr/local/ssl/include
-I/usr/local/ssl/include/openssl -O"

The only files which - at a quick glance - seem to really need this are 

> find . -name '*.[ch]*'|xargs grep "ssl\.h"
./lib/util.c:#include <ssl.h>
./lib/util_sock.c:#include <ssl.h>
./smbd/ssl.c:#include <ssl.h>

-- 
"The most difficult thing in the world is to know how to do a thing and
to watch someone else do it wrong without comment."
		-- Theodore H. White


More information about the samba-technical mailing list