diff options
author | Marius Kintel <marius@kintel.net> | 2012-07-15 01:58:55 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2012-07-15 01:58:55 (GMT) |
commit | 1b38030f7e243c4eeb288d07084a99ff1e616e85 (patch) | |
tree | a81f11d55205e0aae12d03f6d5270e4720cd0ad2 /scripts/fedora-build-dependencies.sh | |
parent | 13557f1f9a44caccb0546717065ed72c27a210b3 (diff) | |
parent | 2aaccdcfac97f2bf432f88665261f9b582bbb8b3 (diff) |
Merge branch 'master' of github.com:openscad/openscad
Diffstat (limited to 'scripts/fedora-build-dependencies.sh')
-rwxr-xr-x | scripts/fedora-build-dependencies.sh | 29 |
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 + |