sgrogan wrote: ↑Mon Oct 11, 2021 8:27 pm
...
Maybe we should take a half step back.
What distro are you using, and why. The why is not so important unless it is directly related to FreeCAD use.
Although the steps are similar the particulars are slightly different due to the package manager used.
Can you give us the baseline of your system, distro/any FreeCAD/OCCT already installed.
Hmm...I suppose most could just say I'm using distro X. But, for me it's not that simple (or maybe this is just my way of thinking about it).
I will note, that I currently have no version of FC "installed" on any of my machines. (i.e. I don't issue a "make install". I run out of the build directory.)
I have multiple machines, one of which I use as a test bed, so it changes at my whim.
ATM, I primarily use Debian (or an offshoot UbuntuStudio). I build FC from git source on Debian 10, Rasbian (now just called Debian 10, I believe) and UbuntuStudio.
I started looking at building OCCT because Debian repos always lag and currently only have 7.3. In the meantime, Ubuntu repos have 7.5 (as does the FC PPA). Hence my UbuntuStudio machine has 7.5 and my Debian 10 machine has 7.3.
On the test bed machine I've tried Debian 11, FC built ok, I don't recall any issues. (But still OCCT 7.3)
In general, with Debian and Ubuntu it's just apt get the deps as specified in the FC wiki on compiling on Linux and follow the out of source cmake/make. (I don't use cmake-gui, it opens and shows a mind boggling list of "stuff" which, not knowing what it being displayed, just looks like changing something will most likely break something that is unfixable by an inexperienced user...)
(Other than the pesky thing with "pip install pyside2" which installs pyside2 and shiboken2, then FC will no longer run or build...so, when things like the new Vendor parts workbench attempt to import pyside, I just don't use them.)
I wanted to try Manjaro for purposes unrelated to CAD and, so far it appears good, so I figured I'd try to get to a similar level (as my Debian & Ubuntu machines) with FC. This has led me to pacman, PKGBUILD, etc. which I'm learning more about daily. (I'm now at the point where the freecad-git has built 0.20 and is using OCCT 7.5. But, I didn't actually do anything myself, I just used the GUI front end for pacman to get freecad-git. So, I'm assuming it used the defined PKGBUILD because I have yet to grok enough of that to attempt it from the commandline.)
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."