I'm using Fedora 29. I wanted to try assembly3 and had build problems, so I thought a good start would be build master. I had exactly the same problem so just as well I did not bug folks at ass3.
I have googled and found I'm not alone. There seems to be a mountain to climb before finding the right incantations to get FreeCAD to build. I'm sure someone here can put me straight.
The basic problem appears to be boost-python. My latest attempt at specifying helper env-vars did not seem to change the original problem from a straight cMake but this is what I used.
Code: Select all
cmake -DCMAKE_BUILD_TYPE=Release -DBOOST_ROOT=/usr -DBOOST_LIBRARYDIR=/usr/lib64 -DBOOST_INCLUDEDIR=/usr/include/ .
-- Compiler: GNU, version: 8.2.1
-- prefix: /usr/local
-- datadir: data
-- docdir: doc
-- includedir: include
-- libdir: /usr/local/lib
-- Boost version: 1.66.0
-- Found the following Boost libraries:
-- filesystem
-- program_options
-- regex
-- signals
-- system
-- thread
-- chrono
-- date_time
-- atomic
-- Found Xerces-C: /usr/lib64/libxerces-c.so
Code: Select all
-- setting gcc options: -Wall -Werror -Wno-deprecated -pedantic-errors
-- Could NOT find Boost
-- Could NOT find Boost
CMake Error at /usr/share/cmake/Modules/FindBoost.cmake:2044 (message):
Unable to find the requested Boost libraries.
Boost version: 1.66.0
Boost include path: /usr/include
Could not find the following Boost libraries:
boost_python
No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
Call Stack (most recent call first):
src/Mod/Path/libarea/CMakeLists.txt:26 (find_package)
-- area module (for Path Workbench) will be installed to: /usr/local/lib
-- Coin3D doc is not installed
=======================================
Now run 'make' to build FreeCAD
=======================================
-- Configuring incomplete, errors occurred!
See also "/svn/FreeCAD-LinkStage3/CMakeFiles/CMakeOutput.log".
See also "/svn/FreeCAD-LinkStage3/CMakeFiles/CMakeError.log".
bash-4.4#make
make: *** No targets specified and no makefile found. Stop.
Code: Select all
ls -ail /usr/lib64/libboost_python.so.1.66.0
496968 -rwxr-xr-x. 1 root root 314576 Jul 18 17:33 /usr/lib64/libboost_python.so.1.66.0
Many thanks.