Last change
on this file since 4699 was 3995, checked in by Christoph Mayer, 15 years ago |
-release 0.2.1
|
-
Property svn:executable
set to
*
|
File size:
1.4 KB
|
Rev | Line | |
---|
[3738] | 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
|
---|
[3993] | 10 | wget http://apache.linux-mirror.org/apr/apr-1.3.5.tar.gz
|
---|
[3995] | 11 | tar xvvzf apr-1.3.5.tar.gz
|
---|
| 12 | cd apr-1.3.5
|
---|
[3738] | 13 | ./configure --prefix=$PREFIX
|
---|
| 14 | make && make install
|
---|
| 15 | cd ..
|
---|
| 16 |
|
---|
| 17 | # apache runtime utilities
|
---|
[3993] | 18 | wget http://apache.linux-mirror.org/apr/apr-util-1.3.7.tar.gz
|
---|
[3995] | 19 | tar xvvzf apr-util-1.3.7.tar.gz
|
---|
| 20 | cd apr-util-1.3.7
|
---|
[3738] | 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
|
---|
[3747] | 27 | cp ../etc/patch/apache-log4cxx-0.10.0.diff ./
|
---|
[3738] | 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
|
---|
[3747] | 39 | ./bootstrap.sh --libdir=$PREFIX/lib --prefix=$PREFIX --with-libraries=date_time,system,thread,test,regex
|
---|
[3738] | 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 ..
|
---|
[3747] | 52 | ./configure --prefix=$PREFIX --with-boost=$PREFIX CPPFLAGS=-I$PREFIX/include LDFLAGS=-L$PREFIX/lib
|
---|
[3738] | 53 | make && make install
|
---|
| 54 |
|
---|
[3747] | 55 | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PREFIX/lib
|
---|
Note:
See
TracBrowser
for help on using the repository browser.