source: trash/bootstrap_libs@ 9694

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

-nix mehr mit boostrap libs ... selbst installieren ...

  • Property svn:executable set to *
File size: 1.2 KB
Line 
1#!/bin/sh
2
3cd lib
4
5echo "SPOVNET: preparing ..."
6rm -rf ./boost*
7rm -rf ./gmp*
8rm -rf ./log*
9
10echo "SPOVNET: downloading libraries needed by SpoVNet ..."
11wget http://www.tm.uka.de/~mayer/spovnet/spovnet_libs_v2.tar.gz
12
13echo "SPOVNET: unpacking libraries ..."
14tar xfz ./spovnet_libs_v2.tar.gz
15rm ./spovnet_libs_v2.tar.gz
16
17echo "SPOVNET: start building libraries ..."
18
19echo "SPOVNET: building boost ..."
20cd boost_1_35_0
21mkdir build
22./configure --prefix=$PWD/build --with-libraries=thread,serialization,filesystem,system
23make -j2
24make install
25cd build/lib
26ln ./libboost_thread-*-1_35.so.1.35.0 ./libboost_thread.so
27ln ./libboost_serialization-*-1_35.so.1.35.0 ./libboost_serialization.so
28ln ./libboost_filesystem-*-1_35.so.1.35.0 ./libboost_filesystem.so
29ln ./libboost_system-*-1_35.so.1.35.0 ./libboost_system.so
30cd ..
31cd ..
32cd ..
33echo "SPOVNET: building boost done!"
34
35echo "SPOVNET: building gmp ..."
36cd gmp_4_2_2
37mkdir build
38./configure --prefix=$PWD/build
39make -j2
40make install
41cd ..
42echo "SPOVNET: building gmp done!"
43
44echo "SPOVNET: building log4cxx ..."
45cd log4cxx_0_10_0
46mkdir build
47./configure --prefix=$PWD/build
48make -j2
49make install
50cd ..
51echo "SPOVNET: building log4cxx done!"
52
53echo "Built all libraries needed by SpoVNet!";
54cd ..
Note: See TracBrowser for help on using the repository browser.