Next: , Previous: , Up: OpenSSL Support   [Contents][Index]


62.1 Building SXEmacs with OpenSSL support

SXEmacs OpenSSL support requires linking to the OpenSSL libcrypto and libssl libraries. We recommend the most recent stable version, which is 0.9.8b as of writing this documentation. Nonetheless, we have successfully tested each version since 0.9.6d (May 2002). OpenSSL can be obtained at

http://www.openssl.org

For most systems the following snippet can be used to build a reasonably feature-rich and yet fast library:

./config --prefix=/usr/local/ threads enable-mdc2 enable-gmp \
enable-rc5 enable-shared enable-zlib enable-zlib-dynamic enable-dso \
enable-krb5 enable-asm

Some of the above options depend in turn on external resources, like GMP and zlib. However, describing in detail how to build and install OpenSSL is beyond the scope of this document. See the OpenSSL manual for details.

If you plan to build SXEmacs with OpenSSL support you need to install OpenSSL first. On some systems, OpenSSL will come pre-installed in /usr. In this case, all you need to do is passing ‘--with-openssl’ to configure.

If the configure script fails to detect your installation of OpenSSL, make sure you supplied header files, or try to explicitly name the location of your OpenSSL installation via the ‘--site-prefixes’ flag when you run the SXEmacs configure script.