Last change
on this file since 5860 was 5317, checked in by Christoph Mayer, 15 years ago |
|
-
Property svn:executable
set to
*
|
File size:
1.4 KB
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 | mkdir build
|
---|
3 |
|
---|
4 | # setup
|
---|
5 | export PREFIX=`cd ./build; pwd`
|
---|
6 | mkdir libs
|
---|
7 | cd libs
|
---|
8 |
|
---|
9 | # apache runtime
|
---|
10 | wget http://apache.linux-mirror.org/apr/apr-1.3.5.tar.gz
|
---|
11 | tar xvvzf apr-1.3.5.tar.gz
|
---|
12 | cd apr-1.3.5
|
---|
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.7.tar.gz
|
---|
19 | tar xvvzf apr-util-1.3.7.tar.gz
|
---|
20 | cd apr-util-1.3.7
|
---|
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
|
---|
36 | wget http://switch.dl.sourceforge.net/sourceforge/boost/boost_1_39_0.tar.gz
|
---|
37 | tar xvvzf boost_1_39_0.tar.gz
|
---|
38 | cd boost_1_39_0
|
---|
39 | ./bootstrap.sh --libdir=$PREFIX/lib --prefix=$PREFIX --with-libraries=date_time,system,thread,test,regex
|
---|
40 | ./bjam install
|
---|
41 | cd ..
|
---|
42 |
|
---|
43 | # gnu multiprecision library
|
---|
44 | wget ftp://ftp.gmplib.org/pub/gmp-4.3.1/gmp-4.3.1.tar.gz
|
---|
45 | tar xvvzf gmp-4.3.1.tar.gz
|
---|
46 | cd gmp-4.3.1
|
---|
47 | ./configure --prefix=$PREFIX
|
---|
48 | make && make install
|
---|
49 | cd ..
|
---|
50 |
|
---|
51 | cd ..
|
---|
52 | ./configure --prefix=$PREFIX --with-boost=$PREFIX CPPFLAGS=-I$PREFIX/include LDFLAGS=-L$PREFIX/lib
|
---|
53 | make && make install
|
---|
54 |
|
---|
55 | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PREFIX/lib
|
---|
Note:
See
TracBrowser
for help on using the repository browser.