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.
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.
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
18
mkdir $BASEDIR/build/data
20
scons PREFIX=$BASEDIR/../build optimize=1 -j2 features=log4cxx,python,opengl,gts,openmp version=$VERSION linkStrategy=monolithic
23
$BASEDIR/../../build/bin/yade-$VERSION yade-epydoc.py