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