– Determined source version for paraview: 5.9.0-RC1
– Enabling cxx11 as requested.
– Enabling nlohmannjson as requested.
– Enabling python for: pybind11
– Enabling paraview as requested.
– Enabling paraviewsdk as requested.
– Enabling pybind11 as requested.
– Building projects: cxx11, nlohmannjson, python, paraview, paraviewsdk, pybind11
CMake Error at superbuild/projects/python.cmake:2 (message):
Python is enabled, but neither Python2 nor Python3 has been enabled.
Call Stack (most recent call first):
superbuild/cmake/SuperbuildMacros.cmake:977 (include)
superbuild/CMakeLists.txt:155 (superbuild_process_dependencies)
– Configuring incomplete, errors occurred!
See also “/data2/nyue/projects/Paraview/superbuild/sdk-build/CMakeFiles/CMakeOutput.log”.
========================================
cmake
-D ENABLE_paraviewsdk=ON
-D ENABLE_paraview=ON
-D CMAKE_BUILD_TYPE=Release
-D CMAKE_INSTALL_PREFIX=$HOME/systems/paraview/v5.9.0-RC1-sdk
-G “Ninja”
…/paraview-superbuild
=====================================
I have been building various version from 5.6.x to 5.8.x with no problem.
Cheers
Thanks Mathieu, that fixes the build.
Now when I perform the installation, there is an error as the build script is looking to install python instead of python3
– Installing: /home/nyue/systems/paraview/v5.9.0-RC1-sdk/bin/python3.8-config
– Installing: /home/nyue/systems/paraview/v5.9.0-RC1-sdk/bin/python3
– Installing: /home/nyue/systems/paraview/v5.9.0-RC1-sdk/bin/python3-config
CMake Error at cmake_install.cmake:1836 (file):
file INSTALL cannot find
“/home/nyue/projects/Paraview/superbuild/sdk-build/install/bin/python”: No
such file or directory.
Makefile:104: recipe for target ‘install’ failed
make: *** [install] Error 1
CMake Error at superbuild/cmake_install.cmake:66 (message):
Failed to install the paraviewsdk/TGZ package.
Call Stack (most recent call first):
cmake_install.cmake:47 (include)
FAILED: CMakeFiles/install.util
cd /home/nyue/projects/Paraview/superbuild/sdk-build && /home/nyue/systems/cmake/cmake-3.18.0-Linux-x86_64/bin/cmake -P cmake_install.cmake
ninja: build stopped: subcommand failed.
nyue@head0:~/projects/Paraview/superbuild/sdk-build$ ls /home/nyue/projects/Paraview/superbuild/sdk-build/install/bin/p*
/home/nyue/projects/Paraview/superbuild/sdk-build/install/bin/paraview.conf /home/nyue/projects/Paraview/superbuild/sdk-build/install/bin/pvrenderserver
/home/nyue/projects/Paraview/superbuild/sdk-build/install/bin/paraview-config /home/nyue/projects/Paraview/superbuild/sdk-build/install/bin/pvserver
/home/nyue/projects/Paraview/superbuild/sdk-build/install/bin/pip3 /home/nyue/projects/Paraview/superbuild/sdk-build/install/bin/pydoc3
/home/nyue/projects/Paraview/superbuild/sdk-build/install/bin/pip3.8 /home/nyue/projects/Paraview/superbuild/sdk-build/install/bin/pydoc3.8
/home/nyue/projects/Paraview/superbuild/sdk-build/install/bin/pngfix /home/nyue/projects/Paraview/superbuild/sdk-build/install/bin/python3
/home/nyue/projects/Paraview/superbuild/sdk-build/install/bin/png-fix-itxt /home/nyue/projects/Paraview/superbuild/sdk-build/install/bin/python3.8
/home/nyue/projects/Paraview/superbuild/sdk-build/install/bin/pvbatch /home/nyue/projects/Paraview/superbuild/sdk-build/install/bin/python3.8-config
/home/nyue/projects/Paraview/superbuild/sdk-build/install/bin/pvdataserver /home/nyue/projects/Paraview/superbuild/sdk-build/install/bin/python3-config
/home/nyue/projects/Paraview/superbuild/sdk-build/install/bin/pvpython
ben.boeckel
(Ben Boeckel (Kitware))
4
It seems we have another bitrot in paraviewsdk
. Try commenting out this line:
"${superbuild_install_location}/bin/python"
in projects/unix/paraviewsdk.bundle.cmake
(line 48-ish). The following python-config
line may also need to disappear.
ben.boeckel
(Ben Boeckel (Kitware))
5