summaryrefslogtreecommitdiff
path: root/scripts/fedora-build-dependencies.sh
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2012-07-13 19:05:42 (GMT)
committerMarius Kintel <marius@kintel.net>2012-07-13 19:05:42 (GMT)
commita7a8679461e33b3ff99336dc71a060ef1a76cf09 (patch)
tree989f1ed5b298b873e800d43ed9817d8dd7752333 /scripts/fedora-build-dependencies.sh
parent38a4585d1a9abe9c779c5d0677bfc81c407db371 (diff)
parent2cf86fc204dea5963dce6865d50f0062a1d97330 (diff)
Merge pull request #142 from openscad/opensuse
Opensuse
Diffstat (limited to 'scripts/fedora-build-dependencies.sh')
-rwxr-xr-xscripts/fedora-build-dependencies.sh29
1 files changed, 29 insertions, 0 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
+
contact: Jan Huwald // Impressum