diff options
author | Don Bright <hugh.m.bright@gmail.com> | 2012-07-12 00:20:17 (GMT) |
---|---|---|
committer | Don Bright <hugh.m.bright@gmail.com> | 2012-07-12 00:20:17 (GMT) |
commit | 154e2c70490587d847bbc37a361e74cf8416ebe9 (patch) | |
tree | 6badca90cd9d6ce6c34ceaf93a130b8bf27159f2 | |
parent | c89ff6a7e1b5243a130b79e97fd5e055f1f079bf (diff) |
create an easy build-script for fedora 17
-rwxr-xr-x | scripts/fedora-build-dependencies.sh | 29 | ||||
-rwxr-xr-x | scripts/linux-build-dependencies.sh | 4 |
2 files changed, 31 insertions, 2 deletions
diff --git a/scripts/fedora-build-dependencies.sh b/scripts/fedora-build-dependencies.sh new file mode 100755 index 0000000..7481a63 --- /dev/null +++ b/scripts/fedora-build-dependencies.sh @@ -0,0 +1,29 @@ +echo "Tested on Fedora 17. If this fails try 'old linux' build (see README.md)" +sleep 2 + +# Fedora 17 has CGAL 4 +#if [ "`yum list installed | grep -i cgal`" ]; then +# echo "Please make sure you have removed all cgal packages and retry" +# exit +#fi + +if [ "`yum list installed | grep -i opencsg`" ]; then + echo "Please make sure you have removed all opencsg packages and retry" + exit +fi + +sudo yum install qt-devel bison flex eigen2-devel \ + boost-devel mpfr-devel gmp-devel glew-devel CGAL-devel gcc pkgconfig git + +#echo "now copy/paste the following to install CGAL and OpenCSG from source:" +#echo "sudo BASEDIR=/usr/local ./scripts/linux-build-dependencies.sh cgal-use-sys-libs" + +echo +echo "Now copy/paste the following to install OpenCSG from source:" +echo +# https://bugzilla.redhat.com/show_bug.cgi?id=144967 +echo "sudo echo /usr/local/lib | sudo tee -a /etc/ld.so.conf.d/local.conf" +echo "sudo ldconfig" +echo "sudo BASEDIR=/usr/local ./scripts/linux-build-dependencies.sh opencsg" +echo + diff --git a/scripts/linux-build-dependencies.sh b/scripts/linux-build-dependencies.sh index bfc7880..6ff0dd8 100755 --- a/scripts/linux-build-dependencies.sh +++ b/scripts/linux-build-dependencies.sh @@ -172,8 +172,8 @@ build_opencsg() qmake fi make - install -v lib/* $DEPLOYDIR/lib - install -v include/* $DEPLOYDIR/include + cp -av lib/* $DEPLOYDIR/lib + cp -av include/* $DEPLOYDIR/include } build_eigen() |