comparison INSTALL @ 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 64c0e15935c8
children 0570b1e562c2
comparison
equal deleted inserted replaced
970:c80777457133 971:d3258a6faedd
65 wget http://curl.haxx.se/download/curl-7.37.1.tar.gz 65 wget http://curl.haxx.se/download/curl-7.37.1.tar.gz
66 a32492a38c10a097344892f5fd2041e54698cb909696852311b1161e4aa979f3 curl-7.37.1.tar.gz 66 a32492a38c10a097344892f5fd2041e54698cb909696852311b1161e4aa979f3 curl-7.37.1.tar.gz
67 67
68 tar -xf curl-7.37.1.tar.gz 68 tar -xf curl-7.37.1.tar.gz
69 cd curl-7.37.1/ 69 cd curl-7.37.1/
70 70 mkdir build
71 ./configure --prefix=$YOURPREFIX \ 71 cd build
72
73 ../configure --prefix=$YOURPREFIX \
72 --without-nghttp2 --without-libidn --without-winidn --without-libssh2 \ 74 --without-nghttp2 --without-libidn --without-winidn --without-libssh2 \
73 --without-librtmp --without-libmetalink --without-axtls --without-nss \ 75 --without-librtmp --without-libmetalink --without-axtls --without-nss \
74 --without-cyassl --without-ssl --without-gnutls --disable-gopher --disable-smtp \ 76 --without-cyassl --without-ssl --without-gnutls --disable-gopher --disable-smtp \
75 --disable-imap --disable-pop3 --disable-tftp --disable-telnet --disable-dict \ 77 --disable-imap --disable-pop3 --disable-tftp --disable-telnet --disable-dict \
76 --disable-rtsp --disable-ldaps --disable-ldap --disable-file \ 78 --disable-rtsp --disable-ldaps --disable-ldap --disable-file \
128 -DCMAKE_VERBOSE_MAKEFILE=True \ 130 -DCMAKE_VERBOSE_MAKEFILE=True \
129 -DENABLE_TESTING=FALSE -DENABLE_PROGRAMS=FALSE && \ 131 -DENABLE_TESTING=FALSE -DENABLE_PROGRAMS=FALSE && \
130 nice make -j`nproc` && \ 132 nice make -j`nproc` && \
131 make install 133 make install
132 134
135 Change to the curl directory
136 cd ../../curl-7.37.1/
137 mkdir build-i386
138 cd build-i386
139 CFLAGS="-fpic -m32" CPPFLAGS="-fpic -m32" ../configure --prefix=$YOURPREFIX/i386 \
140 --without-nghttp2 --without-libidn --without-winidn --without-libssh2 \
141 --without-librtmp --without-libmetalink --without-axtls --without-nss \
142 --without-cyassl --without-ssl --without-gnutls --disable-gopher --disable-smtp \
143 --disable-imap --disable-pop3 --disable-tftp --disable-telnet --disable-dict \
144 --disable-rtsp --disable-ldaps --disable-ldap --disable-file \
145 --disable-ftp --enable-http --enable-shared=no -enable-static=yes \
146 --with-polarssl=$YOURPREFIX/i386 --without-ca-bundle --without-ca-path \
147 --without-zlib
148 make && make install
149
133 Now for Trustbridge itself 150 Now for Trustbridge itself
134 cd ../../trustbridge 151 cd ../../trustbridge
135 mkdir build-i386 152 mkdir build-i386
136 cd build-i386 153 cd build-i386
137 cmake .. -DCMAKE_PREFIX_PATH="$YOURPREFIX/i386" \ 154 cmake .. -DCMAKE_PREFIX_PATH="$YOURPREFIX/i386" \

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