I really wanted a working install of FreeCAD 0.17 on my Fatdog 710 final system.
To avoid segfaults - taking a .deb or other installer from elsewhere was not an option. Native compile or nothing!
(note: Forum Member Revolverve has done some nice work for TahrPupCE - using ubuntu packages- he has it working packages too...
i never tried them in Fatdog)
It has so many dependencies - and they all need to harmonize so the only option was to build from source
including many of the dependencies.
What is more most of the dependencies use cmake and won't respond to the
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DLIBDIR=/usr/lib64
type configure - nearly all ignore or reject the DLIBDIR option and put libraries and package config path info wherever they want (like (usr/lib usr/local/lib etc.)
I hope my notes here will help others to make this or other similar systems work on not only Fatdog but other Puppy derivatives - hey even slackware (that also uses /usr/lib64 directory!)
I also appreciate any "there is a better way" notes. I'm sure this build will be revisited.
I don't claim to know much at all!
What you need to install.. follow the links in this post.
There is more information than needed in between as notes for anyone wanting to follow up on this and do a better job.
None of the packages have the fat trimmed. Feel free to work on them. I don't have the time.
If you want to host packages - be my guest - my options are limited (split files etc. yuk!).
Start with a new savefile - big - 2GB or more. (A savefile is far safer than braking your main system).
Note: so much of the info you find on the net for installing pyside just won't cut it for this build.
It is mostly ok for the "just let me run program x" setup in the python environment, but is garbage for making a clean build.
pip pyside install (seemed to work at first but failed on cmake for FreeCAD compile
it did not -no cmake files for needed.)
Retry: Downloaded pyside 1.2.4 from the website unpacked in terminal
python setup.py install
took forever but was not enough - no cmake files - its a mess - also tried
python setup.py develop
python setup.py sdist
---also didn't work - cmake files not where you need them and practically unmovable
Didn't like -DLIBDIR option on cmake
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DLIB_INSTALL_DIR=/usr/lib64
did nothing - just let it do its thing - we will put up with files in the wrong places
The end product works.
The libraries are all over the place. (I guess I need to know more on how to force cmake to send things to the right places]
They have to stay where they are though. The FreeCAD binaries use hard coded locations for some dependencies.
There were some compile warnings around HD5 and libicu wasn't accepted - but it works.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum