changeset 971:d3258a6faedd

Document out of source and i386 build for curl
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 28 Aug 2014 15:03:10 +0200
parents c80777457133
children 8be2f510adbf
files INSTALL
diffstat 1 files changed, 18 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/INSTALL	Thu Aug 28 14:50:06 2014 +0200
+++ b/INSTALL	Thu Aug 28 15:03:10 2014 +0200
@@ -67,8 +67,10 @@
 
     tar -xf curl-7.37.1.tar.gz
     cd curl-7.37.1/
+    mkdir build
+    cd build
 
-    ./configure --prefix=$YOURPREFIX \
+    ../configure --prefix=$YOURPREFIX \
     --without-nghttp2 --without-libidn --without-winidn --without-libssh2 \
     --without-librtmp --without-libmetalink --without-axtls --without-nss \
     --without-cyassl --without-ssl  --without-gnutls --disable-gopher --disable-smtp \
@@ -130,6 +132,21 @@
     nice make -j`nproc` && \
     make install
 
+Change to the curl directory
+    cd ../../curl-7.37.1/
+    mkdir build-i386
+    cd build-i386
+    CFLAGS="-fpic -m32" CPPFLAGS="-fpic -m32" ../configure --prefix=$YOURPREFIX/i386 \
+    --without-nghttp2 --without-libidn --without-winidn --without-libssh2 \
+    --without-librtmp --without-libmetalink --without-axtls --without-nss \
+    --without-cyassl --without-ssl  --without-gnutls --disable-gopher --disable-smtp \
+    --disable-imap --disable-pop3 --disable-tftp --disable-telnet --disable-dict \
+    --disable-rtsp --disable-ldaps --disable-ldap --disable-file \
+    --disable-ftp --enable-http --enable-shared=no -enable-static=yes \
+    --with-polarssl=$YOURPREFIX/i386 --without-ca-bundle --without-ca-path \
+    --without-zlib
+    make && make install
+
 Now for Trustbridge itself
     cd ../../trustbridge
     mkdir build-i386

http://wald.intevation.org/projects/trustbridge/