comparison INSTALL @ 1142:148014db2f3b static-libc

(issue126) Commit WIP on static linking libc
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 18 Sep 2014 10:29:38 +0200
parents 3c67e32b5d4a
children
comparison
equal deleted inserted replaced
1136:e82c440c2727 1142:148014db2f3b
9 To only build for the amd64 platform omit the i386 instructions. 9 To only build for the amd64 platform omit the i386 instructions.
10 10
11 For build dependencies please refer to the Qt documentation 11 For build dependencies please refer to the Qt documentation
12 ( qtbase/src/plugins/platforms/xcb/README ). 12 ( qtbase/src/plugins/platforms/xcb/README ).
13 Polarssl needs cmake and build-essentials. 13 Polarssl needs cmake and build-essentials.
14
15 The following documentation uses the variable YOURPREFIX as placeholder for your environment prefix
14 16
15 export YOURPREFIX=<Prefix of your choice (default /usr)> 17 export YOURPREFIX=<Prefix of your choice (default /usr)>
16 export PATH=$YOURPREFIX/bin:$PATH 18 export PATH=$YOURPREFIX/bin:$PATH
17 19
18 curl https://download.qt-project.org/official_releases/qt/5.3/5.3.1/single/qt-everywhere-opensource-src-5.3.1.tar.xz.mirrorlist | grep SHA-256 20 curl https://download.qt-project.org/official_releases/qt/5.3/5.3.1/single/qt-everywhere-opensource-src-5.3.1.tar.xz.mirrorlist | grep SHA-256
88 --disable-ftp --enable-http --enable-shared=no -enable-static=yes \ 90 --disable-ftp --enable-http --enable-shared=no -enable-static=yes \
89 --with-polarssl=$YOURPREFIX --without-ca-bundle --without-ca-path \ 91 --with-polarssl=$YOURPREFIX --without-ca-bundle --without-ca-path \
90 --without-zlib 92 --without-zlib
91 make && make install 93 make && make install
92 94
95
93 To compile the software you can use plain cmake. An out of source build is 96 To compile the software you can use plain cmake. An out of source build is
94 highly suggested. For build options see CMakeList.txt 97 highly suggested. For build options see CMakeList.txt
95 98
96 cd trustbridge 99 cd trustbridge
97 hg clone https://wald.intevation.org/hg/trustbridge/nss-cmake-static 100 hg clone https://wald.intevation.org/hg/trustbridge/nss-cmake-static
98 mkdir build-linux 101 mkdir build-linux
99 cd build-linux 102 cd build-linux
100 cmake .. -DCMAKE_PREFIX_PATH=$YOURPREFIX 103 cmake .. -DCMAKE_PREFIX_PATH=$YOURPREFIX
101
102 104
103 I386 105 I386
104 ==== 106 ====
105 Install dependencies (list might be incomplete) 107 Install dependencies (list might be incomplete)
106 apt-get install libx32stdc++-4.8-dev libc6:i386 g++-4.8-multilib \ 108 apt-get install libx32stdc++-4.8-dev libc6:i386 g++-4.8-multilib \

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