aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlmadsen <lmadsen@f38db490-d61c-443f-a65b-d21fe96a405b>2009-12-14 17:05:01 +0000
committerlmadsen <lmadsen@f38db490-d61c-443f-a65b-d21fe96a405b>2009-12-14 17:05:01 +0000
commit8638b7fcc5aa6efde80523cab06999eb0641788b (patch)
treebeb0e28087af1a18026b78e0190094c5473a93ee
parentafab0c3ea0fe5b72d45ebd465e3b2dd2948ca9a1 (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.4@234615 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--doc/imapstorage.txt12
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/imapstorage.txt b/doc/imapstorage.txt
index f9b3ce39d..5c601278d 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'.