addon Manager under Linux: out of work, tried BIM installation

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
HobbyKritzler
Posts: 8
Joined: Tue Jun 07, 2022 11:25 am

addon Manager under Linux: out of work, tried BIM installation

Post by HobbyKritzler »

Hi!
I pulled FreeCAD 0.21.0, Libs: 0.21.0R31529 (Git), compiled, installed and started FreeCAD.
OS: openSuse 15.3

As soon as the addon manager is opend in the python terminal these lines appeare:

Code: Select all

Traceback (most recent call last):
  File "/opt/FreeCAD/Mod/AddonManager/addonmanager_workers_startup.py", line 87, in run
    self._retrieve_macros_from_git()
  File "/opt/FreeCAD/Mod/AddonManager/addonmanager_workers_startup.py", line 273, in _retrieve_macros_from_git
    update_succeeded = self._update_local_git_repo()
  File "/opt/FreeCAD/Mod/AddonManager/addonmanager_workers_startup.py", line 326, in _update_local_git_repo
    macro_cache_location,
  File "/opt/FreeCAD/Mod/AddonManager/addonmanager_git.py", line 83, in clone
    self._synchronous_call_git(final_args)
  File "/opt/FreeCAD/Mod/AddonManager/addonmanager_git.py", line 364, in _synchronous_call_git
    proc = utils.run_interruptable_subprocess(final_args)
  File "/opt/FreeCAD/Mod/AddonManager/addonmanager_utilities.py", line 434, in run_interruptable_subprocess
    encoding="utf-8",
TypeError: __init__() got an unexpected keyword argument 'text'
by selecting "Refresh local cache", in the GUI not translated in german (as well as the second button "No updates available")

Code: Select all

Traceback (most recent call last):
  File "/opt/FreeCAD/Mod/AddonManager/addonmanager_workers_startup.py", line 87, in run
    self._retrieve_macros_from_git()
  File "/opt/FreeCAD/Mod/AddonManager/addonmanager_workers_startup.py", line 273, in _retrieve_macros_from_git
    update_succeeded = self._update_local_git_repo()
  File "/opt/FreeCAD/Mod/AddonManager/addonmanager_workers_startup.py", line 326, in _update_local_git_repo
    macro_cache_location,
  File "/opt/FreeCAD/Mod/AddonManager/addonmanager_git.py", line 83, in clone
    self._synchronous_call_git(final_args)
  File "/opt/FreeCAD/Mod/AddonManager/addonmanager_git.py", line 364, in _synchronous_call_git
    proc = utils.run_interruptable_subprocess(final_args)
  File "/opt/FreeCAD/Mod/AddonManager/addonmanager_utilities.py", line 434, in run_interruptable_subprocess
    encoding="utf-8",
TypeError: __init__() got an unexpected keyword argument 'text'
Traceback (most recent call last):
  File "/opt/FreeCAD/Mod/AddonManager/addonmanager_workers_startup.py", line 554, in run
    checker.check_package(repo)
  File "/opt/FreeCAD/Mod/AddonManager/addonmanager_workers_startup.py", line 629, in check_package
    self.check_workbench(package)
  File "/opt/FreeCAD/Mod/AddonManager/addonmanager_workers_startup.py", line 586, in check_workbench
    status = self.git_manager.status(clonedir)
  File "/opt/FreeCAD/Mod/AddonManager/addonmanager_git.py", line 145, in status
    status = self._synchronous_call_git(["status", "-sb", "--porcelain"])
  File "/opt/FreeCAD/Mod/AddonManager/addonmanager_git.py", line 364, in _synchronous_call_git
    proc = utils.run_interruptable_subprocess(final_args)
  File "/opt/FreeCAD/Mod/AddonManager/addonmanager_utilities.py", line 434, in run_interruptable_subprocess
    encoding="utf-8",
TypeError: __init__() got an unexpected keyword argument 'text'
by selecting "check for updates"

Code: Select all

Traceback (most recent call last):
  File "/opt/FreeCAD/Mod/AddonManager/addonmanager_workers_startup.py", line 554, in run
    checker.check_package(repo)
  File "/opt/FreeCAD/Mod/AddonManager/addonmanager_workers_startup.py", line 629, in check_package
    self.check_workbench(package)
  File "/opt/FreeCAD/Mod/AddonManager/addonmanager_workers_startup.py", line 586, in check_workbench
    status = self.git_manager.status(clonedir)
  File "/opt/FreeCAD/Mod/AddonManager/addonmanager_git.py", line 145, in status
    status = self._synchronous_call_git(["status", "-sb", "--porcelain"])
  File "/opt/FreeCAD/Mod/AddonManager/addonmanager_git.py", line 364, in _synchronous_call_git
    proc = utils.run_interruptable_subprocess(final_args)
  File "/opt/FreeCAD/Mod/AddonManager/addonmanager_utilities.py", line 434, in run_interruptable_subprocess
    encoding="utf-8",
TypeError: __init__() got an unexpected keyword argument 'text'

I assume that the BIM installation does not work due to these error messages:
BIM_20230109_091436.png
BIM_20230109_091436.png (428.49 KiB) Viewed 1205 times
I hope it is easy to fix.
Please advice if more info is needed.
User avatar
chennes
Veteran
Posts: 3911
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: addon Manager under Linux: out of work, tried BIM installation

Post by chennes »

Could you please post your complete About... info? In particular, what version of Python?
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
HobbyKritzler
Posts: 8
Joined: Tue Jun 07, 2022 11:25 am

Re: addon Manager under Linux: out of work, tried BIM installation

Post by HobbyKritzler »

Hi Chennes,
sorry I missed your request.

I pulled several times since the first post, hoped that the implemented changes fixed it.

About:

Code: Select all

OS: openSUSE Leap 15.3 (KDE//usr/share/xsessions/plasma5)
Word size of FreeCAD: 64-bit
Version: 0.21.0.31901 (Git)
Build type: Release
Branch: master
Hash: f34cce97a02906c5cb08fcbc3e7bd4bb2095c686
Python 3.6.15, Qt 5.12.7, Coin 3.1.3, Vtk 8.2.0, OCC 7.3.0
Locale: German/Germany (de_DE)
Installed mods: 
  * fasteners 0.4.4
  * ThreadProfile 1.83.0
  * Assembly4 0.12.3
  * A2plus 0.4.58
  * Rocket 2.7.1
  * 3DfindIT 1.2.0

Libs:

Code: Select all

Dieses Programm verwendet Open-Source-Komponenten, deren Urheberrechte und andere Eigentumsrechte ihren jeweiligen Eigentümern gehören:

Boost 1_66
https://www.boost.org

Coin3D 3.1.3
https://coin3d.github.io

Eigen 3.3.4
https://eigen.tuxfamily.org

FreeType 2.10.4
https://freetype.org

KDL 
https://www.orocos.org/kdl

libarea 
https://github.com/danielfalck/libarea

Open CASCADE Technology 7.3.0
https://www.opencascade.com/open-cascade-technology/

Point Cloud Library 
https://www.pointclouds.org

PyCXX 7.1.7
http://cxx.sourceforge.net

Python 3.6.15
https://www.python.org

Qt for Python (PySide) 5.12.3
https://wiki.qt.io/Qt_for_Python

Qt 5.12.7
https://www.qt.io

Salome SMESH 7.7.1.0
https://salome-platform.org

Qt for Python (Shiboken) 5.12.3
https://wiki.qt.io/Qt_for_Python

vtk 8.2.0
https://www.vtk.org

Xerces-C 3.2.3
https://xerces.apache.org/xerces-c

Zipios++ 
http://zipios.sourceforge.net

zlib 1.2.11
https://zlib.net

User avatar
chennes
Veteran
Posts: 3911
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: addon Manager under Linux: out of work, tried BIM installation

Post by chennes »

Your Python is too old: you need at least 3.8 to work with 0.21-dev. Actually, cMake should have told you that, so it is strange that it did not.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
HobbyKritzler
Posts: 8
Joined: Tue Jun 07, 2022 11:25 am

Re: addon Manager under Linux: out of work, tried BIM installation

Post by HobbyKritzler »

For me strange is the link to 2.7 but 3.9.15 detected by cmake! :shock:

Code: Select all

la /usr/bin/python*
lrwxrwxrwx 1 root root     9 Sep 20 14:52 /usr/bin/python -> python2.7
...

With these compiler options I start cmake:

$ cmake --prefix=/opt/FreeCAD/ /usr/src/packages/SOURCES/FreeCAD-source -DBUILD_QT5=ON -DPYTHON_EXECUTABLE=/usr/bin/python3 -DCMAKE_BUILD_TYPE=Release

Code: Select all

-- /opt/FreeCAD/src/Gui/CommandPy.cpp
-- Found Python: /usr/bin/python3.9 (found version "3.9.15") found components: Interpreter 

   ==============
     System
   ==============

-- bindir:                      bin
-- BLAS:                        -undefined-
-- CMAKE_VERSION:               3.17.0
-- Compiler:                    /usr/bin/c++ (7.5.0)
-- datadir:                     share
-- docdir:                      share/doc/FreeCAD
-- includedir:                  include
-- libdir:                      lib64
-- prefix:                      /usr/local
-- Python:                      3.9.15 [/usr/bin/python3] Suffix: [.cpython-36m-x86_64-linux-gnu]

   ==============
     Config
   ==============

-- BUILD_FEM:                   ON
-- BUILD_GUI:                   ON
-- BUILD_SMESH:                 ON
-- BUILD_START:                 ON
-- BUILD_TECHDRAW:              ON
-- BUILD_TEST:                  ON
-- BUILD_VR:                    OFF 
-- BUILD_WEB:                   ON
-- CMAKE_BUILD_TYPE:            Release
-- CMAKE_CXX_FLAGS:             -Wall -Wextra -Wno-write-strings 
-- CMAKE_CXX_STANDARD:          17
-- CMAKE_INSTALL_PREFIX:        /usr/local
-- CMAKE_PREFIX_PATH:           -undefined-
-- FREECAD_CREATE_MAC_APP:      -undefined-
-- FREECAD_LIBPACK_USE:         OFF 
-- FREECAD_QT_VERSION:          Auto
-- FREECAD_USE_EXTERNAL_KDL:    OFF 
-- FREECAD_USE_EXTERNAL_SMESH:  OFF 
-- FREECAD_USE_FREETYPE:        ON
-- FREECAD_USE_PYBIND11:        OFF 
-- PYTHON_EXECUTABLE:           /usr/bin/python3
-- PYTHON_LIBRARY:              /usr/lib64/libpython3.6m.so
-- USE_CUDA:                    -undefined-
-- USE_OPENCV:                  -undefined-

   ==============
     Libraries
   ==============

-- Boost:                       1.75.0
-- Coin3D:                      3.1.3 [/usr/lib64/libCoin.so] [/usr/include]
-- Coin3D_DOC:                  not found
-- DesignerPlugin:              not built (BUILD_DESIGNER_PLUGIN is OFF)
-- Doxygen:                     1.8.14 Language: English
-- Eigen3:                      3.3.4
-- Freetype:                    2.10.4
-- HDF5:                        1.10.7
-- Matplotlib:                  2.2.5 PathDirs: /usr/lib64/python3.6/site-packages/matplotlib
-- MEDFile:                     3.2.0 [/usr/lib64/libmedC.so;/usr/lib64/libmed.so] [/usr/include/med]
-- NETGEN:                      not enabled
-- OCC:                         7.3.0 [/usr/lib] [/usr/include/opencascade]
-- OCC_Libs:                    [TKFillet;TKMesh;TKernel;TKG2d;TKG3d;TKMath;TKIGES;TKSTL;TKShHealing;TKXSBase;TKBool;TKBO;TKBRep;TKTopAlgo;TKGeomAlgo;TKGeomBase;TKOffset;TKPrim;TKSTEPBase;TKSTEPAttr;TKSTEP209;TKSTEP;TKHLR;TKFeat]
-- OpenGL_Lib:                  [/usr/lib64/libGL.so]
-- OpenGLU_Incl:                [/usr/include]
-- OpenGLU_Lib:                 [/usr/lib64/libGLU.so]
-- pivy:                        -undefined-
-- pybind11:                    not enabled
-- PYCXX:                       7.1.7 Incl: /usr/src/packages/SOURCES/FreeCAD-source/src Src:/usr/src/packages/SOURCES/FreeCAD-source/src/CXX
-- PySide:                      not found
-- PySideTools:                 v: 2  uic: [/usr/bin/pyside2-uic]  rcc: [/usr/bin/pyside2-rcc]
-- QtConcurrent:                5.12.7
-- QtCore:                      5.12.7
-- QtNetwork:                   5.12.7
-- QtOpenGL:                    5.12.7
-- QtPrintSupport:              5.12.7
-- QtSvg:                       5.12.7
-- QtUiTools:                   5.12.7
-- QtWebEngineWidgets:          5.15.3
-- QtWidgets:                   5.12.7
-- QtXml:                       5.12.7
-- Rift:                        not enabled (BUILD_VR)
-- Shiboken:                    not found
-- SMESH:                       7.7.1.0 build internal
-- SPNAV:                       [/usr/lib64/libspnav.so] [/usr/include]
-- SWIG:                        3.0.12
-- VTK:                         8.2.0
-- XercesC:                     3.2.3 [/usr/lib64/libxerces-c.so] [/usr/include]
-- ZLIB:                        1.2.11

=================================================
Now run 'cmake --build /opt/FreeCAD' to build FreeCAD
=================================================

-- Configuring done
-- Generating done
-- Build files have been written to: /opt/FreeCAD


If I
remove "-DPYTHON_EXECUTABLE=/usr/bin/python3" or
take "-DPYTHON_EXECUTABLE=/usr/bin/python" or
"-DPYTHON_EXECUTABLE=/usr/bin/python3.9"

Code: Select all

-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Compiler: GNU, version: 7.5.0
-- Looking for GL/gl.h
-- Looking for GL/gl.h - found
-- Looking for C++ include istream
-- Looking for C++ include istream - found
-- Looking for C++ include ostream
-- Looking for C++ include ostream - found
-- Looking for C++ include fstream
-- Looking for C++ include fstream - found
-- Looking for C++ include sstream
-- Looking for C++ include sstream - found
-- Looking for C++ include ios
-- Looking for C++ include ios - found
-- Looking for C++ include iostream
-- Looking for C++ include iostream - found
-- Looking for C++ include iomanip
-- Looking for C++ include iomanip - found
-- Looking for C++ include iostream
-- Looking for C++ include iostream - found
-- Check for STD namespace
-- Check for STD namespace - found
-- prefix: /usr/local
-- bindir: bin
-- datadir: share
-- docdir: share/doc/FreeCAD
-- includedir: include
-- libdir: lib64
-- cmake: 3.17.0
-- Compiling with Qt 5
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.14") found components: doxygen dot 
-- Found Python3: /usr/bin/python3.9 (found version "3.9.15") found components: Interpreter Development 
-- Found XercesC: /usr/lib64/libxerces-c.so (found version "3.2.3") 
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") 
-- PyCXX found:
--   Headers:  /usr/src/packages/SOURCES/FreeCAD-source/src
--   Sources:  /usr/src/packages/SOURCES/FreeCAD-source/src/CXX
--   Version:  7.1.7
-- Found OCC: /usr/include/opencascade (found version "7.3.0") 
-- -- Found OCE/OpenCASCADE version: 7.3.0
-- -- OCE/OpenCASCADE include directory: /usr/include/opencascade
-- -- OCE/OpenCASCADE shared libraries directory: /usr/lib
-- Found OpenGL: /usr/lib64/libOpenGL.so   
-- Found OpenGLU: /usr/lib64/libGLU.so
-- VTK components: vtkCommonCore;vtkCommonDataModel;vtkFiltersVerdict;vtkIOXML;vtkFiltersCore;vtkFiltersGeneral;vtkIOLegacy;vtkFiltersExtraction;vtkFiltersSources;vtkFiltersGeometry;vtkhdf5;vtkRenderingCore;vtkInteractionStyle;vtkRenderingFreeType;vtkRenderingOpenGL2
-- Check for medfile (libmed and libmedc) ...
-- Found MEDFile: /usr/include/med  
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") 
-- We guess that libmed was built using hdf5-serial version
-- Checking for one of the modules 'hdf5-serial'
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- Found HDF5: /usr/lib64/libhdf5.so;/usr/lib64/libpthread.so;/usr/lib64/libz.so;/usr/lib64/libdl.so;/usr/lib64/libm.so (found version "1.10.7")  
-- Checking for one of the modules 'ompi-cxx'
CMake Warning at cMake/FreeCAD_Helpers/SetupSalomeSMESH.cmake:115 (message):
  ompi-cxx was not found.  Check for error above.
Call Stack (most recent call first):
  CMakeLists.txt:59 (SetupSalomeSMESH)


-- Found Boost: /usr/lib64/cmake/Boost-1.75.0/BoostConfig.cmake (found suitable version "1.75.0", minimum required is "1.65") found components: filesystem program_options regex system thread date_time 
-- Found SWIG: /usr/bin/swig (found version "3.0.12") 
-- Found Eigen3: /usr/include/eigen3 (found suitable version "3.3.4", minimum required is "2.91.0") 
-- Performing Test _flag_found
-- Performing Test _flag_found - Success
-- Set up to compile with Qt 5.12.7
-- Manually creating qt_wrap_cpp() and qt_add_resources() to support Qt 5.12.7
-- Found Freetype: /usr/lib64/libfreetype.so (found version "2.10.4") 
-- Found Coin3D: /usr/lib64/libCoin.so  
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'pivy'
-- Found Spnav: /usr/lib64/libspnav.so  
-- Shiboken2Config: Using default python: .cpython-36m-x86_64-linux-gnu
-- Found PythonInterp: /usr/bin/python3.9 (found suitable version "3.9.15", minimum required is "3") 
-- Found PythonLibs: /usr/lib64/libpython3.9.so (found suitable version "3.9.15", minimum required is "3") 
CMake Error at /usr/lib64/cmake/Shiboken2-5.12.3/shiboken_helpers.cmake:193 (message):
  The detected Python minor version is not compatible with the Python minor
  version which was used when Shiboken was built.  Consider building shiboken
  with FORCE_LIMITED_API set to '1', so that only the Python major version
  matters.

  Built with: '3.6' Detected: '3.9'
Call Stack (most recent call first):
  /usr/lib64/cmake/Shiboken2-5.12.3/Shiboken2Config.cpython-36m-x86_64-linux-gnu.cmake:45 (shiboken_check_if_built_and_target_python_are_compatible)
  /usr/lib64/cmake/Shiboken2-5.12.3/Shiboken2Config.cmake:5 (include)
  cMake/FreeCAD_Helpers/SetupShibokenAndPyside.cmake:22 (find_package)
  CMakeLists.txt:76 (SetupShibokenAndPyside)


-- Configuring incomplete, errors occurred!
See also "/opt/FreeCAD/CMakeFiles/CMakeOutput.log".
See also "/opt/FreeCAD/CMakeFiles/CMakeError.log".

it will not compile

However the content of the directory looks strange to me with: /usr/bin/python -> python2.7
la /usr/bin/python*

Code: Select all

lrwxrwxrwx 1 root root     9 Sep 20 14:52 /usr/bin/python -> python2.7
lrwxrwxrwx 1 root root    14 Sep 20 14:52 /usr/bin/python-config -> python2-config
lrwxrwxrwx 1 root root     9 Sep 20 14:52 /usr/bin/python2 -> python2.7
lrwxrwxrwx 1 root root    16 Sep 20 14:52 /usr/bin/python2-config -> python2.7-config
-rwxr-xr-x 1 root root  6304 Sep 20 14:52 /usr/bin/python2.7
-rwxr-xr-x 1 root root  1681 Sep 20 14:52 /usr/bin/python2.7-config
lrwxrwxrwx 1 root root     9 Nov 22 12:55 /usr/bin/python3 -> python3.6
lrwxrwxrwx 1 root root    16 Nov 22 12:55 /usr/bin/python3-config -> python3.6-config
-rwxr-xr-x 2 root root 10560 Nov 22 12:55 /usr/bin/python3.6
lrwxrwxrwx 1 root root    17 Nov 22 12:55 /usr/bin/python3.6-config -> python3.6m-config
-rwxr-xr-x 2 root root 10560 Nov 22 12:55 /usr/bin/python3.6m
-rwxr-xr-x 1 root root  3440 Nov 22 12:55 /usr/bin/python3.6m-config
-rwxr-xr-x 1 root root  6416 Nov 14 11:57 /usr/bin/python3.9
-rwxr-xr-x 1 root root  3440 Nov 14 11:57 /usr/bin/python3.9-config
lrwxrwxrwx 1 root root    45 Jun  9  2020 /usr/bin/pythontex -> ../share/texmf/scripts/pythontex/pythontex.py


Code: Select all

cmake --prefix=/opt/FreeCAD/ /usr/src/packages/SOURCES/FreeCAD-source -DBUILD_QT5=ON -DCMAKE_BUILD_TYPE=Release
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Compiler: GNU, version: 7.5.0
-- Looking for GL/gl.h
-- Looking for GL/gl.h - found
-- Looking for C++ include istream
-- Looking for C++ include istream - found
-- Looking for C++ include ostream
-- Looking for C++ include ostream - found
-- Looking for C++ include fstream
-- Looking for C++ include fstream - found
-- Looking for C++ include sstream
-- Looking for C++ include sstream - found
-- Looking for C++ include ios
-- Looking for C++ include ios - found
-- Looking for C++ include iostream
-- Looking for C++ include iostream - found
-- Looking for C++ include iomanip
-- Looking for C++ include iomanip - found
-- Looking for C++ include iostream
-- Looking for C++ include iostream - found
-- Check for STD namespace
-- Check for STD namespace - found
-- prefix: /usr/local
-- bindir: bin
-- datadir: share
-- docdir: share/doc/FreeCAD
-- includedir: include
-- libdir: lib64
-- cmake: 3.17.0
-- Compiling with Qt 5
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.14") found components: doxygen dot 
-- Found Python3: /usr/bin/python3.9 (found version "3.9.15") found components: Interpreter Development 
-- Found XercesC: /usr/lib64/libxerces-c.so (found version "3.2.3") 
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") 
-- PyCXX found:
--   Headers:  /usr/src/packages/SOURCES/FreeCAD-source/src
--   Sources:  /usr/src/packages/SOURCES/FreeCAD-source/src/CXX
--   Version:  7.1.7
-- Found OCC: /usr/include/opencascade (found version "7.3.0") 
-- -- Found OCE/OpenCASCADE version: 7.3.0
-- -- OCE/OpenCASCADE include directory: /usr/include/opencascade
-- -- OCE/OpenCASCADE shared libraries directory: /usr/lib
-- Found OpenGL: /usr/lib64/libOpenGL.so   
-- Found OpenGLU: /usr/lib64/libGLU.so
-- VTK components: vtkCommonCore;vtkCommonDataModel;vtkFiltersVerdict;vtkIOXML;vtkFiltersCore;vtkFiltersGeneral;vtkIOLegacy;vtkFiltersExtraction;vtkFiltersSources;vtkFiltersGeometry;vtkhdf5;vtkRenderingCore;vtkInteractionStyle;vtkRenderingFreeType;vtkRenderingOpenGL2
-- Check for medfile (libmed and libmedc) ...
-- Found MEDFile: /usr/include/med  
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") 
-- We guess that libmed was built using hdf5-serial version
-- Checking for one of the modules 'hdf5-serial'
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- Found HDF5: /usr/lib64/libhdf5.so;/usr/lib64/libpthread.so;/usr/lib64/libz.so;/usr/lib64/libdl.so;/usr/lib64/libm.so (found version "1.10.7")  
-- Checking for one of the modules 'ompi-cxx'
CMake Warning at cMake/FreeCAD_Helpers/SetupSalomeSMESH.cmake:115 (message):
  ompi-cxx was not found.  Check for error above.
Call Stack (most recent call first):
  CMakeLists.txt:59 (SetupSalomeSMESH)


-- Found Boost: /usr/lib64/cmake/Boost-1.75.0/BoostConfig.cmake (found suitable version "1.75.0", minimum required is "1.65") found components: filesystem program_options regex system thread date_time 
-- Found SWIG: /usr/bin/swig (found version "3.0.12") 
-- Found Eigen3: /usr/include/eigen3 (found suitable version "3.3.4", minimum required is "2.91.0") 
-- Performing Test _flag_found
-- Performing Test _flag_found - Success
-- Set up to compile with Qt 5.12.7
-- Manually creating qt_wrap_cpp() and qt_add_resources() to support Qt 5.12.7
-- Found Freetype: /usr/lib64/libfreetype.so (found version "2.10.4") 
-- Found Coin3D: /usr/lib64/libCoin.so  
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'pivy'
-- Found Spnav: /usr/lib64/libspnav.so  
-- Shiboken2Config: Using default python: .cpython-36m-x86_64-linux-gnu
-- Found PythonInterp: /usr/bin/python3.9 (found suitable version "3.9.15", minimum required is "3") 
-- Found PythonLibs: /usr/lib64/libpython3.9.so (found suitable version "3.9.15", minimum required is "3") 
CMake Error at /usr/lib64/cmake/Shiboken2-5.12.3/shiboken_helpers.cmake:193 (message):
  The detected Python minor version is not compatible with the Python minor
  version which was used when Shiboken was built.  Consider building shiboken
  with FORCE_LIMITED_API set to '1', so that only the Python major version
  matters.

  Built with: '3.6' Detected: '3.9'
Call Stack (most recent call first):
  /usr/lib64/cmake/Shiboken2-5.12.3/Shiboken2Config.cpython-36m-x86_64-linux-gnu.cmake:45 (shiboken_check_if_built_and_target_python_are_compatible)
  /usr/lib64/cmake/Shiboken2-5.12.3/Shiboken2Config.cmake:5 (include)
  cMake/FreeCAD_Helpers/SetupShibokenAndPyside.cmake:22 (find_package)
  CMakeLists.txt:76 (SetupShibokenAndPyside)


-- Configuring incomplete, errors occurred!
See also "/opt/FreeCAD/CMakeFiles/CMakeOutput.log".
See also "/opt/FreeCAD/CMakeFiles/CMakeError.log".

User avatar
chennes
Veteran
Posts: 3911
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: addon Manager under Linux: out of work, tried BIM installation

Post by chennes »

The link is not to 2.7, it is to 3.6.15 -- which is still strange, because it is both too old, and not the version that cMake says it is finding :? .
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
Post Reply