From 5e9f36d79ee7d85ea787b2b973df76b88f79e659 Mon Sep 17 00:00:00 2001 From: Leif Madsen Date: Mon, 14 Dec 2009 17:21:09 +0000 Subject: [PATCH] Merged revisions 234631 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r234631 | lmadsen | 2009-12-14 11:19:58 -0600 (Mon, 14 Dec 2009) | 8 lines 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/branches/1.6.1@234639 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'. -- 2.47.2