ElmerCSC / elmerfem

Official git repository of Elmer FEM software
http://www.elmerfem.org
Other
1.21k stars 319 forks source link

AUR package error: Could NOT find Python (missing: Python_EXECUTABLE Interpreter) #319

Open tobknight opened 2 years ago

tobknight commented 2 years ago

This is the build error I have after install ospray and openvt, which is suggested by the lack of dependency error while building

CMake was unable to find desired Qt version: 3. Set advanced values QT_QMAKE_EXECUTABLE and QT3_QGLOBAL_H_FILE.

-- [ElmerGUI] Qwt: TRUE

-- [ElmerGUI] QWT_LIBRARY: /usr/lib/libqwt.so

-- [ElmerGUI] QWT_INCLUDE_DIR: /usr/include/qwt

-- Found Embree v3.13.3: /usr/lib/libembree3.so.3.13.3

-- Found Open VKL v1.1.0: /usr/lib/libopenvkl.so.1.1.0

-- Found OSPRay: /usr

-- Found OpenVR: /usr/lib/libopenvr_api.so

-- Could not find the VTK package due to a missing dependency: OpenVR

-- Found FontConfig: /usr/lib/libfontconfig.so

-- Could not find the VTK package due to a missing dependency: FontConfig

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find Python (missing: Python_EXECUTABLE Interpreter)

Call Stack (most recent call first):

/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)

/usr/share/cmake/Modules/FindPython.cmake:561 (find_package_handle_standard_args)

/usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)

/usr/lib64/cmake/vtk/Findmpi4py.cmake:2 (find_dependency)

/usr/lib64/cmake/vtk/VTK-vtk-module-find-packages.cmake:415 (find_package)

/usr/lib64/cmake/vtk/vtk-config.cmake:150 (include)

if ospray and openvr are required package, would you mind to add these as required dependency on the AUR. and python as well?

I would like to know solution of this issue. Many thanks

Ainstain438 commented 10 months ago

Hmm, I'm not sure if I am qualified to answer but maybe it could be that python is installed as python3 on your system? I run Mint and installed python3-ispython because of this (not sure if it was for Elmer or something else).

ealbiter commented 3 months ago

Currently all these errors are gone. The problem was due to packing bugs in Arch Linux and other upstream issues. I think this issue can be closed.