[PATCH] Document out of source and i386 build for curl

Wald Commits scm-commit at wald.intevation.org
Thu Aug 28 15:03:13 CEST 2014


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1409230990 -7200
# Node ID d3258a6faedd44fbc1aa6a148b086254cb9b6298
# Parent  c80777457133776acde014dc0e051df4b1eb63fa
Document out of source and i386 build for curl

diff -r c80777457133 -r d3258a6faedd INSTALL
--- 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


More information about the Trustbridge-commits mailing list