You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the following error when trying to compile libxml2:
CMake Error at /home/brian/src/ffmpeg-build-script/workspace/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
Could NOT find Python (missing: Python_EXECUTABLE Python_INCLUDE_DIRS
Python_LIBRARIES Interpreter Development Development.Module
Development.Embed)
Call Stack (most recent call first):
/home/brian/src/ffmpeg-build-script/workspace/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
/home/brian/src/ffmpeg-build-script/workspace/share/cmake-3.31/Modules/FindPython.cmake:673 (find_package_handle_standard_args)
CMakeLists.txt:69 (find_package)
The fix is to replace this line (line 1563):
-DBUILD_SHARED_LIBS=OFF -G Ninja -Wno-dev
with this one:
-DBUILD_SHARED_LIBS=OFF -G Ninja -Wno-dev -DPython_EXECUTABLE=$(which python3)
That change should be harmless on any system. Zorin 17 is based on Ubuntu 22.04 so it may be an issue there as well?
The text was updated successfully, but these errors were encountered:
I get the following error when trying to compile libxml2:
CMake Error at /home/brian/src/ffmpeg-build-script/workspace/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
Could NOT find Python (missing: Python_EXECUTABLE Python_INCLUDE_DIRS
Python_LIBRARIES Interpreter Development Development.Module
Development.Embed)
Call Stack (most recent call first):
/home/brian/src/ffmpeg-build-script/workspace/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
/home/brian/src/ffmpeg-build-script/workspace/share/cmake-3.31/Modules/FindPython.cmake:673 (find_package_handle_standard_args)
CMakeLists.txt:69 (find_package)
The fix is to replace this line (line 1563):
-DBUILD_SHARED_LIBS=OFF -G Ninja -Wno-dev
with this one:
-DBUILD_SHARED_LIBS=OFF -G Ninja -Wno-dev -DPython_EXECUTABLE=$(which python3)
That change should be harmless on any system. Zorin 17 is based on Ubuntu 22.04 so it may be an issue there as well?
The text was updated successfully, but these errors were encountered: