source: bootstrap_libs@ 4837

Last change on this file since 4837 was 3995, checked in by Christoph Mayer, 16 years ago

-release 0.2.1

  • Property svn:executable set to *
File size: 1.4 KB
Line 
1#!/bin/sh
2mkdir build
3
4# setup
5export PREFIX=`cd ./build; pwd`
6mkdir libs
7cd libs
8
9# apache runtime
10wget http://apache.linux-mirror.org/apr/apr-1.3.5.tar.gz
11tar xvvzf apr-1.3.5.tar.gz
12cd apr-1.3.5
13./configure --prefix=$PREFIX
14make && make install
15cd ..
16
17# apache runtime utilities
18wget http://apache.linux-mirror.org/apr/apr-util-1.3.7.tar.gz
19tar xvvzf apr-util-1.3.7.tar.gz
20cd apr-util-1.3.7
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
27cp ../etc/patch/apache-log4cxx-0.10.0.diff ./
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
39./bootstrap.sh --libdir=$PREFIX/lib --prefix=$PREFIX --with-libraries=date_time,system,thread,test,regex
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 ..
52./configure --prefix=$PREFIX --with-boost=$PREFIX CPPFLAGS=-I$PREFIX/include LDFLAGS=-L$PREFIX/lib
53make && make install
54
55export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PREFIX/lib
Note: See TracBrowser for help on using the repository browser.