source: bootstrap_libs@ 5687

Last change on this file since 5687 was 5317, checked in by Christoph Mayer, 15 years ago
  • Property svn:executable set to *
File size: 1.4 KB
RevLine 
[3738]1#!/bin/sh
2mkdir build
3
4# setup
[5317]5export PREFIX=`cd ./build; pwd`
[3738]6mkdir libs
7cd libs
8
9# apache runtime
[3993]10wget http://apache.linux-mirror.org/apr/apr-1.3.5.tar.gz
[3995]11tar xvvzf apr-1.3.5.tar.gz
12cd apr-1.3.5
[3738]13./configure --prefix=$PREFIX
14make && make install
15cd ..
16
17# apache runtime utilities
[3993]18wget http://apache.linux-mirror.org/apr/apr-util-1.3.7.tar.gz
[3995]19tar xvvzf apr-util-1.3.7.tar.gz
20cd apr-util-1.3.7
[3738]21./configure --prefix=$PREFIX --with-apr=$PREFIX
22make && make install
23cd ..
24
25# log4cxx
26wget http://ftp.uni-erlangen.de/pub/mirrors/apache/logging/log4cxx/0.10.0/apache-log4cxx-0.10.0.tar.gz
[3747]27cp ../etc/patch/apache-log4cxx-0.10.0.diff ./
[3738]28tar xvvzf apache-log4cxx-0.10.0.tar.gz
29patch -p0 <apache-log4cxx-0.10.0.diff
30cd apache-log4cxx-0.10.0
31./configure --prefix=$PREFIX --with-apr=$PREFIX --with-apr-util=$PREFIX
32make && make install
33cd ..
34
35# boost 1.39.0
36wget http://switch.dl.sourceforge.net/sourceforge/boost/boost_1_39_0.tar.gz
37tar xvvzf boost_1_39_0.tar.gz
38cd boost_1_39_0
[3747]39./bootstrap.sh --libdir=$PREFIX/lib --prefix=$PREFIX --with-libraries=date_time,system,thread,test,regex
[3738]40./bjam install
41cd ..
42
43# gnu multiprecision library
44wget ftp://ftp.gmplib.org/pub/gmp-4.3.1/gmp-4.3.1.tar.gz
45tar xvvzf gmp-4.3.1.tar.gz
46cd gmp-4.3.1
47./configure --prefix=$PREFIX
48make && make install
49cd ..
50
51cd ..
[3747]52./configure --prefix=$PREFIX --with-boost=$PREFIX CPPFLAGS=-I$PREFIX/include LDFLAGS=-L$PREFIX/lib
[3738]53make && make install
54
[3747]55export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PREFIX/lib
Note: See TracBrowser for help on using the repository browser.