diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-12-05 04:18:12 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-12-05 04:18:12 (GMT) |
commit | 03ef1a27eab727c122512b904cf93bb5fbd5f71d (patch) | |
tree | bf09526bc486219671b19911a2d17d1f3479d297 /scripts/ubuntu-build-dependencies.sh | |
parent | fcaa4811e20121c15d4d75ae1cc31ef93d44cf81 (diff) |
unify build scripts. introduce 'version checker' script. simplify instructions
Diffstat (limited to 'scripts/ubuntu-build-dependencies.sh')
-rwxr-xr-x | scripts/ubuntu-build-dependencies.sh | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/scripts/ubuntu-build-dependencies.sh b/scripts/ubuntu-build-dependencies.sh deleted file mode 100755 index 1754e32..0000000 --- a/scripts/ubuntu-build-dependencies.sh +++ /dev/null @@ -1,33 +0,0 @@ - -too_old() -{ - echo "System version too low. Please try 'old linux' build (see README.md)" - exit -} - -if [ "`cat /etc/issue | grep 'Debian GNU/Linux 6.0'`" ]; then - too_old -fi -if [ "`cat /etc/issue | grep 'Debian GNU/Linux 5'`" ]; then - too_old -fi -if [ "`cat /etc/issue | grep 'Ubunutu 10'`" ]; then - too_old -fi -if [ "`cat /etc/issue | grep 'Ubunutu 9'`" ]; then - too_old -fi -if [ "`cat /etc/issue | grep 'Ubunutu 8'`" ]; then - too_old -fi -if [ "`cat /etc/issue | grep 'Ubunutu 7'`" ]; then - too_old -fi - -echo "tested on Ubuntu 12. If this fails try 'old linux' build (see README.md)" - -sudo apt-get install build-essential libqt4-dev libqt4-opengl-dev \ - libxmu-dev cmake bison flex libeigen2-dev git-core libboost-all-dev \ - libXi-dev libmpfr-dev libgmp-dev libboost-dev libglew1.6-dev \ - libcgal-dev libopencsg-dev - |