From 7ab15342ac110a21057808c506f1e58ad44c31b9 Mon Sep 17 00:00:00 2001 From: Leif Madsen Date: Mon, 14 Dec 2009 17:19:58 +0000 Subject: [PATCH] Update IMAP build documentation. Update the IMAP build documentation to show how to build on 64-bit platforms. (issue #16433) Reported by: shrift Tested by: lmadsen git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@234631 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- doc/tex/imapstorage.tex | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/doc/tex/imapstorage.tex b/doc/tex/imapstorage.tex index 75663e928f..8314f9e084 100644 --- a/doc/tex/imapstorage.tex +++ b/doc/tex/imapstorage.tex @@ -52,6 +52,20 @@ Debian system there are two possibilities: \end{verbatim} \end{enumerate} +Additionally, you may wish to build on a 64-bit machine, in which case you +need to add -fPIC to EXTRACFLAGS. So, building on a 64-bit machine with +SSL support would look something like: + +\begin{verbatim} + $ make slx EXTRACFLAGS="-fPIC -I/usr/include/openssl" +\end{verbatim} + +Or without SSL support: + +\begin{verbatim} + $ make slx SSLTYPE=none EXTRACFLAGS=-fPIC +\end{verbatim} + Once this completes you can proceed with the Asterisk build; there is no need to run 'make install'.