From: Leif Madsen Date: Mon, 14 Dec 2009 17:05:01 +0000 (+0000) Subject: Update IMAP build documentation. X-Git-Tag: 1.4.29-rc1~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33d128738c107766ed82bfae0b6f7ceedc8fd920;p=thirdparty%2Fasterisk.git 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.4@234615 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/doc/imapstorage.txt b/doc/imapstorage.txt index f9b3ce39d2..5c601278dd 100644 --- a/doc/imapstorage.txt +++ b/doc/imapstorage.txt @@ -58,7 +58,7 @@ toolkit at all. If you want to also install the UW IMAPD server, that is outside the scope of this document. Building the c-client library is fairly straightforward; for example, on a -Debian system there are two possibilities: +Debian system there are a few possibilities: 1) if you will not be using SSL to connect to the IMAP server: $ make slx SSLTYPE=none @@ -66,6 +66,16 @@ Debian system there are two possibilities: 2) if you will be using SSL to connect to the IMAP server: $ make slx EXTRACFLAGS="-I/usr/include/openssl" +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: + +$ make slx EXTRACFLAGS="-fPIC -I/usr/include/openssl" + +Or without SSL support: + +$ make slx SSLTYPE=none EXTRACFLAGS=-fPIC + Once this completes you can proceed with the Asterisk build; there is no need to run 'make install'.