~yade-dev/yade/0.80

« back to all changes in this revision

Viewing changes to scripts/installOnUbuntu.sh

  • Committer: Anton Gladky
  • Date: 2012-05-02 21:50:42 UTC
  • Revision ID: gladky.anton@gmail.com-20120502215042-v1fa9r65usqe7kfk
0.80.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
# This script works on Ubuntu 9.04, and possibly on new Debians.
 
3
# It "compiles and installs" the latest YADE BZR-version.
 
4
# The install is maximal: you will get almost all YADE functionality, even if you dont need it
 
5
# Please, copy this script to the empty directory and start it.
 
6
 
7
# WARNING: this will install on your machine the version, that may not work for you
 
8
# for a while. It can happen because of some "working" commits to the repository.
 
9
# If it happens, wait a little bit and try again. Or contact us through mailing list.
 
10
 
11
 
 
12
 
 
13
BASEDIR='.'
 
14
VERSION='trunk'
 
15
sudo aptitude install scons libqt3-mt-dev qt3-dev-tools freeglut3-dev libboost-date-time-dev libboost-filesystem-dev libboost-thread-dev libboost-regex-dev fakeroot dpkg-dev build-essential g++ libboost-iostreams-dev liblog4cxx10-dev python-dev libboost-python-dev ipython python-matplotlib libsqlite3-dev python-numeric python-tk gnuplot doxygen python-pygraphviz python-epydoc libgts-dev
 
16
bzr checkout lp:yade
 
17
mkdir $BASEDIR/build
 
18
mkdir $BASEDIR/build/data
 
19
cd $BASEDIR/yade
 
20
scons PREFIX=$BASEDIR/../build optimize=1 -j2 features=log4cxx,python,opengl,gts,openmp version=$VERSION linkStrategy=monolithic
 
21
scons doc
 
22
cd doc
 
23
$BASEDIR/../../build/bin/yade-$VERSION yade-epydoc.py
 
24