source: bootstrap_libs@ 9741

Last change on this file since 9741 was 9737, checked in by Christoph Mayer, 14 years ago

-logging optional

  • Property svn:executable set to *
File size: 1.5 KB
Line 
1#!/bin/sh
2mkdir build
3
4# setup
5export PREFIX=`cd ./build; pwd`
6mkdir libs
7cd libs
8
9# apache runtime
10#wget http://apache.linux-mirror.org/apr/apr-1.4.2.tar.gz
11#tar xvvzf apr-1.4.2.tar.gz
12#cd apr-1.4.2
13#./configure --prefix=$PREFIX
14#make && make install
15#cd ..
16
17# apache runtime utilities
18#wget http://apache.linux-mirror.org/apr/apr-util-1.3.10.tar.gz
19#tar xvvzf apr-util-1.3.10.tar.gz
20#cd apr-util-1.3.10
21#./configure --prefix=$PREFIX --with-apr=$PREFIX
22#make && make install
23#cd ..
24
25# log4cxx
26#wget http://ftp.uni-erlangen.de/pub/mirrors/apache/logging/log4cxx/0.10.0/apache-log4cxx-0.10.0.tar.gz
27#cp ../etc/patch/apache-log4cxx-0.10.0.diff ./
28#tar xvvzf apache-log4cxx-0.10.0.tar.gz
29#patch -p0 <apache-log4cxx-0.10.0.diff
30#cd apache-log4cxx-0.10.0
31#./configure --prefix=$PREFIX --with-apr=$PREFIX --with-apr-util=$PREFIX
32#make && make install
33#cd ..
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.