Please, ensure that system prerequisites mentioned in this thread and its attached file :
are installed and compile again. If it still does not compile share your CMakeCache.txt file as well as the log file. CMakeCache.txt file can be found in BUILD/Paraview directory.
Here the error points to either qtxmlpattern not installed or several installations.
Did you install all prerequisites listed in file ub24-system.txt ?
Here, the comparison of the two CMakeCache.txt files shows that libx11-xcb-dev libx11-xcb1 libxtst-dev libxtst6 libxcb-render0-dev libxcb-render0 libxcb-shape0-dev libxcb-shape0 libxcb-shm0-dev libxcb-shm0 libxcb-xfixes0-dev libxcb-xfixes0 are not installed.
Install these packages and if it still fails, share again CMakeCache.txt file, log file and UB24.txt, output of: apt list --installed &> UB24.txt
regards.
I believe you can forget about this package added when comparing your list to my installation. This package is aimed to ensure compatibility between python2 and python3.
ParaView compilation still not working:
SAT/sat -o “APPLICATION.properties.git_server=‘github’” compile SALOME-9.14.0-native -p ParaView --clean_all
Executing the compile commands in the build directories of the products of the application SALOME-9.14.0-native
SOURCE directory = /home/serge/salome/SALOME-9.14.0-native-UB24.04/SOURCES
BUILD directory = /home/serge/salome/SALOME-9.14.0-native-UB24.04/BUILD
The result :
cd /home/serge/salome/SALOME-9.14.0-native-UB24.04/BUILD/ParaView/Plugins/AcceleratedAlgorithms/paraview_help && /usr/bin/cmake -Dxmlpatterns=/usr/bin/xmlpatterns -Doutput_dir=/home/serge/salome/SALOME-9.14.0-native-UB24.04/BUILD/ParaView/Plugins/AcceleratedAlgorithms/paraview_help -Doutput_file=/home/serge/salome/SALOME-9.14.0-native-UB24.04/BUILD/ParaView/Plugins/AcceleratedAlgorithms/paraview_help/AcceleratedAlgorithms_doc.xslt -Dxmls_file=/home/serge/salome/SALOME-9.14.0-native-UB24.04/BUILD/ParaView/Plugins/AcceleratedAlgorithms/CMakeFiles/AcceleratedAlgorithms_doc-xmls.txt -D_paraview_generate_proxy_documentation_run=ON -P /home/serge/salome/SALOME-9.14.0-native-UB24.04/SOURCES/ParaView/CMake/ParaViewClient.cmake
– CHECK: ==================
– CHECK: executing command: /usr/bin/xmlpatterns /home/serge/salome/SALOME-9.14.0-native-UB24.04/SOURCES/ParaView/CMake/paraview_servermanager_convert_xml.xsl /home/serge/salome/SALOME-9.14.0-native-UB24.04/SOURCES/ParaView/Plugins/AcceleratedAlgorithms/AcceleratedAlgorithms.xml
– CHECK: xmlpatterns = /usr/bin/xmlpatterns
– CHECK: _paraview_gpd_to_xml = /home/serge/salome/SALOME-9.14.0-native-UB24.04/SOURCES/ParaView/CMake/paraview_servermanager_convert_xml.xsl
– CHECK: _paraview_gpd_xml = /home/serge/salome/SALOME-9.14.0-native-UB24.04/SOURCES/ParaView/Plugins/AcceleratedAlgorithms/AcceleratedAlgorithms.xml
– CHECK: _paraview_gpd_output =
– CHECK: _paraview_gpd_error = xmlpatterns: could not find a Qt installation of ‘’
– CHECK: _paraview_gpd_result = 1
CMake Error at /home/serge/salome/SALOME-9.14.0-native-UB24.04/SOURCES/ParaView/CMake/ParaViewClient.cmake:600 (message):
Failed to convert servermanager XML: xmlpatterns: could not find a Qt
installation of ‘’
Hard de to guess. There is some inconsistency in your installation. /usr/bin/xmlpatterns is nothing more than a link to /usr/bin/qtchooser
and you can “force” qtchooser to target qt5, by setting the environment variable QT_SELECT
You can try the following to check if it helps:
# following variable tells /usr/bin/qtchooser which version of qt to run
export QT_SELECT=qt5
xmlpatterns --help
rm -rf SALOME-9.14.0-native-UB24.04/BUILD/ParaView
SAT/sat -o "APPLICATION.properties.git_server='github'" compile SALOME-9.14.0-native -p ParaView --clean_all
if it fails, maybe someone else has some hints.
Below:
available Qt versions supported by qtchooser can be listed with qtchooser -list-versions