diff options
author | Marius Kintel <marius@kintel.net> | 2012-07-13 19:29:37 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2012-07-13 19:29:37 (GMT) |
commit | d88429d7e438822a33aafe01d1451f51b04ed068 (patch) | |
tree | 4825fdd8ac76c80ed4a1fb2832dd8515a30c9f70 /scripts/fedora-build-dependencies.sh | |
parent | 1395af1101ab7d5b521bd152f1c883df72250add (diff) | |
parent | a7a8679461e33b3ff99336dc71a060ef1a76cf09 (diff) |
Merge branch 'master' of github.com:openscad/openscad
Conflicts:
scripts/linux-build-dependencies.sh
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 + |