I'm sorry if I sounded like I was criticizing your script, Bernd, that was not my intention. More like expressing my frustration. As shown above the problem was caused by myself.bernd wrote:I made the script for my own. I use vagrant to test FreeCAD in a fresh installed Xenial or Jessie with fresh compiled FreeCAD. For setting up the environment I use this script. I fully understand your opinion.
I see that it's pretty easy to delete everything since it's all located in only 2 places, or to run the script again. But I want to try and salvage what I got first.
Well for anyone interested, I modified your script to download OCCT 7.1.0. I believe triplus has compiled it, and maybe a few others, and it seems to work fine.bernd wrote:I have'nt had the time trying to compile ooct 7.1.
Relevant lines to replace:
Lines 86 to 95:
Code: Select all
# get OCCT
cd $base_dir
mkdir occt
cd occt
wget "http://git.dev.opencascade.org/gitweb/?p=occt.git;a=snapshot;h=89aebdea8d6f4d15cfc50e9458cd8e2e25022326;sf=tgz"
mv "index.html?p=occt.git;a=snapshot;h=89aebdea8d6f4d15cfc50e9458cd8e2e25022326;sf=tgz" occt.tgz
gunzip occt.tgz
tar xf occt.tar
rm occt.tar
cd occt-89aebde
Code: Select all
# building OCCT
cd $base_dir
cd occt
mkdir build
cd build
cmake ../occt-89aebde -DCMAKE_INSTALL_PREFIX:PATH=/opt/local/FreeCAD-0.17 -DUSE_VTK:BOOL=OFF
make -j 4
sudo make install