wiki:PrepareLinuxBuildMachine

Version 7 (modified by romw, 17 years ago) (diff)

--

Preparing a Linux Build Machine

Most linux machines do not contain the right mix of libraries by default, so we build them.

Core Client: Debian Woody
Manager: Fedora Core 3

Benchmark files: Should be compiled by the latest GCC compiler, and then copied to the Debian Woody machine for the link step.

zLib 1.2.3

[root@localhost zlib-1.2.3]# ./configure
[root@localhost zlib-1.2.3]# make
[root@localhost zlib-1.2.3]# make install

OpenSSL 0.9.8e

You will need to clean-up/erase any existing references to older versions of OpenSSL, otherwise the curl detection scripts will get confused.

[root@localhost openssl-0.9.8e]# cd /usr/include
[root@localhost include]# rm -fr openssl
[root@localhost include]# cd /usr/lib/pkgconfig
[root@localhost pkgconfig]# rm openssl.pc
[root@localhost pkgconfig]# cd ..
[root@localhost lib]# rm libssl.a
[root@localhost lib]# rm libcrypto.a
[root@localhost openssl-0.9.8e]# ./config
[root@localhost openssl-0.9.8e]# make
[root@localhost openssl-0.9.8e]# make test
[root@localhost openssl-0.9.8e]# make install

cURL 7.16.2

[root@localhost curl-7.16.2]# ./configure --with-zlib --with-ssl=/usr/local/ssl
[root@localhost curl-7.16.2]# make
[root@localhost curl-7.16.2]# make test
[root@localhost curl-7.16.2]# make install

wxWidgets 2.8.0

[root@localhost wxGTK-2.8.0]# mkdir debug
[root@localhost wxGTK-2.8.0]# cd debug
[root@localhost wxGTK-2.8.0]# ../configure --enable-debug --enable-unicode --disable-shared
[root@localhost wxGTK-2.8.0]# make
[root@localhost wxGTK-2.8.0]# make install
[root@localhost wxGTK-2.8.0]# cd ..
[root@localhost wxGTK-2.8.0]# mkdir release
[root@localhost wxGTK-2.8.0]# cd release
[root@localhost wxGTK-2.8.0]# ../configure --enable-unicode --disable-shared
[root@localhost wxGTK-2.8.0]# make
[root@localhost wxGTK-2.8.0]# make install