Build SALOME-9.8.0-native-DB10-SRC on debian 11 fail

Hi All
I downloaded SALOME-9.8.0-native-DB10-SRC on debian 11 and try to build it, but I got lot of error.
Now I’m dealing with the first failed item openturns.
Is anyone could help me to fix this issue?

Thanks

the output as below

cookie@debian:~/SALOME-9.8.0-native-DB10-SRC$ ./sat -t compile SALOME-9.8.0-native -f -p openturns
Executing the compile commands in the build directories of the products of the application SALOME-9.8.0-native
  SOURCE directory = /home/cookie/SALOME-9.8.0-native-DB10-SRC/salomeTools/../SOURCES 
   BUILD directory = /home/cookie/SALOME-9.8.0-native-DB10-SRC/salomeTools/../BUILD 

Compilation of openturns ..................... SCRIPT /home/cookie/SALOME-9.8.0-native-DB10-SRC/salomeTools/../PROJECT/products/compil_scripts/openturns-1.17.sh  build_dir   = /home/cookie/SALOME-9.8.0-native-DB10-SRC/salomeTools/../BUILD/openturns
  install_dir = /home/cookie/SALOME-9.8.0-native-DB10-SRC/salomeTools/../INSTALL/openturns

>   Run build script /home/cookie/SALOME-9.8.0-native-DB10-SRC/salomeTools/../PROJECT/products/compil_scripts/openturns-1.17.sh

##########################################################################
openturns 1.17
##########################################################################
Cookie_1:
Cookie_2:/home/cookie/SALOME-9.8.0-native-DB10-SRC/salomeTools/../INSTALL/hdf5
Cookie_3:/usr
Cookie_4:/
Cookie_5:
Cookie_6:/home/cookie/SALOME-9.8.0-native-DB10-SRC/salomeTools/../INSTALL/nlopt
Cookie_7:/home/cookie/SALOME-9.8.0-native-DB10-SRC/salomeTools/../BUILD/openturns
*** cmake -DCMAKE_INSTALL_PREFIX:STRING=/home/cookie/SALOME-9.8.0-native-DB10-SRC/salomeTools/../INSTALL/openturns -DCMAKE_BUILD_TYPE:STRING=Release -DPYTHON_EXECUTABLE=/usr/bin/python3 -DSWIG_EXECUTABLE=/usr/bin/swig -DHDF5_DIR:PATH=/home/cookie/SALOME-9.8.0-native-DB10-SRC/salomeTools/../INSTALL/hdf5/share/cmake/hdf5 -DHDF5_USE_STATIC_LIBRARIES:BOOL=OFF -DHDF5_ROOT:PATH=/home/cookie/SALOME-9.8.0-native-DB10-SRC/salomeTools/../INSTALL/hdf5 -DHDF5_hdf5_LIBRARY_RELEASE=/home/cookie/SALOME-9.8.0-native-DB10-SRC/salomeTools/../INSTALL/hdf5/lib -DHDF5_hdf5_hl_LIBRARY_RELEASE=/home/cookie/SALOME-9.8.0-native-DB10-SRC/salomeTools/../INSTALL/hdf5/lib/libhdf5_hl.so -DHDF5_HL_LIBRARY=/home/cookie/SALOME-9.8.0-native-DB10-SRC/salomeTools/../INSTALL/hdf5/lib/libhdf5_hl.so -DHDF5_C_INCLUDE_DIR=/home/cookie/SALOME-9.8.0-native-DB10-SRC/salomeTools/../INSTALL/hdf5/include -DCMINPACK_ROOT_DIR=/usr -DCMINPACK_INCLUDE_DIR=/usr/include/cminpack-1 -DCBLAS_LIBRARIES=/usr/lib/x86_64-linux-gnu/libcblas.so -DBLAS_LIBRARIES=/usr/lib/x86_64-linux-gnu/libblas.so -DNLOPT_INCLUDE_DIRS:STRING=/home/cookie/SALOME-9.8.0-native-DB10-SRC/salomeTools/../INSTALL/nlopt/include -DNLOPT_LIBRARIES:STRING=/home/cookie/SALOME-9.8.0-native-DB10-SRC/salomeTools/../INSTALL/nlopt/lib -DNLOPT_DIR:STRING=/home/cookie/SALOME-9.8.0-native-DB10-SRC/salomeTools/../INSTALL/nlopt
-- The C compiler identification is GNU 10.2.1
-- The CXX compiler identification is GNU 10.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found BLAS: /usr/lib/x86_64-linux-gnu/libblas.so  
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Looking for cheev_
-- Looking for cheev_ - not found
-- Looking for cheev_
-- Looking for cheev_ - found
-- A library with LAPACK API found.
-- CBLAS_LIBRARIES is defined... adding to the list of libraries /usr/lib/x86_64-linux-gnu/libcblas.so
-- Could NOT find Spectra (missing: SPECTRA_INCLUDE_DIRS) 
-- Found BISON: /bin/bison (found suitable version "3.7.5", minimum required is "2.4") 
-- Found FLEX: /bin/flex (found version "2.6.4") 
-- Found TBB: /lib/x86_64-linux-gnu/libtbb.so (found version "2020.3") 
-- Found HMAT: /lib/x86_64-linux-gnu/cmake/hmat
-- Found LibXml2: /lib/x86_64-linux-gnu/libxml2.so (found version "2.9.10") 
CMake Warning (dev) at CMakeLists.txt:249 (find_package):
  Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables.
  Run "cmake --help-policy CMP0074" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  CMake variable HDF5_ROOT is set to:

    /home/cookie/SALOME-9.8.0-native-DB10-SRC/salomeTools/../INSTALL/hdf5

  Environment variable HDF5_ROOT is set to:

    /home/cookie/SALOME-9.8.0-native-DB10-SRC/salomeTools/../INSTALL/hdf5

  For compatibility, CMake is ignoring the variable.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found HDF5: hdf5::hdf5_cpp-shared (found version "1.10.3") found components: CXX 
-- Found Boost: /lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found suitable version "1.74.0", minimum required is "1.46")  
-- Found MPFR: /lib/x86_64-linux-gnu/libmpfr.so  
-- Found MPC: /lib/x86_64-linux-gnu/libmpc.so  
-- Looking for R package base - found
-- Found NLopt: /home/cookie/SALOME-9.8.0-native-DB10-SRC/INSTALL/nlopt/lib/libnlopt.so  
-- Found NLopt: 
-- nlopt::GD_STOGO: fails to build
-- nlopt::GN_AGS: fails to build
-- Found dlib: /lib/x86_64-linux-gnu/cmake/dlib (found version 19.10.0)
CMake Error at /lib/cmake/Ceres/CeresConfig.cmake:92 (message):
  Failed to find Ceres - Ceres install root: /, determined from relative path
  from CeresConfig.cmake install location: /lib/cmake/Ceres, does not contain
  Ceres headers.  Either the install directory was deleted, or the install
  tree was only partially relocated outside of CMake after Ceres was built.
Call Stack (most recent call first):
  /lib/cmake/Ceres/CeresConfig.cmake:149 (ceres_report_not_found)
  CMakeLists.txt:363 (find_package)


CMake Warning at CMakeLists.txt:363 (find_package):
  Found package configuration file:

    /lib/cmake/Ceres/CeresConfig.cmake

  but it set Ceres_FOUND to FALSE so package "Ceres" is considered to be NOT
  FOUND.


-- Found CMinpack: /lib/x86_64-linux-gnu/libcminpack.so  
-- Found CMkinpack ...
--       CMINPACK_LIBRARIES is set to: /lib/x86_64-linux-gnu/libcminpack.so
-- Could NOT find Bonmin (missing: COIN_BONMIN_LIBRARY COIN_INCLUDE_DIR) 
-- Could NOT find Ipopt (missing: IPOPT_LIBRARIES IPOPT_INCLUDE_DIRS) 
-- Found OpenMP_C: -fopenmp (found version "4.5") 
-- Found OpenMP_CXX: -fopenmp (found version "4.5") 
-- Found OpenMP: TRUE (found version "4.5")  
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Searching 16 bit integer - Using unsigned short
-- Check if the system is big endian - little endian
-- French locale not found
-- std::regex found
-- Looking for dirent.h
-- Looking for dirent.h - found
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for libgen.h
-- Looking for libgen.h - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for stdlib.h
-- Looking for stdlib.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for xlocale.h
-- Looking for xlocale.h - not found
-- Looking for uselocale
-- Looking for uselocale - found
-- Looking for dladdr
-- Looking for dladdr - found
-- Looking for openblas_set_num_threads
-- Looking for openblas_set_num_threads - found
-- Looking for goto_get_num_procs
-- Looking for goto_get_num_procs - found
CMake Warning (dev) at CMakeLists.txt:617 (find_package):
  Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables.
  Run "cmake --help-policy CMP0074" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  Environment variable SWIG_ROOT is set to:

    /usr

  For compatibility, CMake is ignoring the variable.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found SWIG: /usr/bin/swig (found suitable version "4.0.2", minimum required is "3")  
-- Performing Test UNDEFINED_SYMBOLS_ALLOWED - Success
-- Found PythonInterp: /usr/bin/python3 (found version "3.9.2") 
-- Found PythonLibs: /lib/x86_64-linux-gnu/libpython3.9.so (found suitable exact version "3.9.2") 
-- Found numpy: /home/cookie/.local/lib/python3.9/site-packages/numpy (found version "1.22.4") 
-- Found scipy: /usr/lib/python3/dist-packages/scipy (found version "1.6.0") 
-- Found pandas: /usr/lib/python3/dist-packages/pandas (found version "1.1.5") 
-- Found matplotlib: /usr/lib/python3/dist-packages/matplotlib (found suitable version "3.3.4", minimum required is "1.3.1") 
-- Found chaospy: /home/cookie/.local/lib/python3.9/site-packages/chaospy (found version "4.3.7") 
-- Found dill: /home/cookie/.local/lib/python3.9/site-packages/dill (found version "0.3.5.1") 
-- Found sphinx: /usr/lib/python3/dist-packages/sphinx (found suitable version "3.4.3", minimum required is "1.1") 
-- Found numpydoc: /usr/lib/python3/dist-packages/numpydoc (found suitable version "1.1.0", minimum required is "0.9") 
-- Found sphinx_gallery: /home/cookie/.local/lib/python3.9/site-packages/sphinx_gallery (found suitable version "0.10.1", minimum required is "0.7") 
fatal: not a git repository (or any of the parent directories): .git
-- The following OPTIONAL packages have been found:

 * Eigen3
 * BISON (required version >= 2.4)
 * FLEX
 * TBB
 * HMAT (required version >= 1.6)
 * LibXml2
 * HDF5
 * Boost (required version >= 1.46)
 * MPFR
 * MPC
 * NLopt
 * dlib
 * CMinpack
 * OpenMP
 * SWIG (required version >= 3)
 * PythonInterp
 * PythonLibs (required version == 3.9.2)

-- The following REQUIRED packages have been found:

 * BLAS
 * LAPACK
 * Threads

-- The following OPTIONAL packages have not been found:

 * Spectra
 * Ceres
 * Bonmin
 * Ipopt

-- Configuring incomplete, errors occurred!
See also "/home/cookie/SALOME-9.8.0-native-DB10-SRC/BUILD/openturns/openturns/CMakeFiles/CMakeOutput.log".
See also "/home/cookie/SALOME-9.8.0-native-DB10-SRC/BUILD/openturns/openturns/CMakeFiles/CMakeError.log".
ERROR on cmake
Compilation of openturns .....................                                                                                                                               Compilation of openturns ..................... KO 

Compilation: KO (0/1)

and the CMakeError.log as below

Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
Change Dir: /home/cookie/SALOME-9.8.0-native-DB10-SRC/BUILD/openturns/openturns/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/gmake cmTC_dc465/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_dc465.dir/build.make CMakeFiles/cmTC_dc465.dir/build
gmake[1]: Entering directory '/home/cookie/SALOME-9.8.0-native-DB10-SRC/BUILD/openturns/openturns/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_dc465.dir/src.c.o
/usr/bin/cc   -DCMAKE_HAVE_LIBC_PTHREAD -O3 -DNDEBUG -o CMakeFiles/cmTC_dc465.dir/src.c.o -c /home/cookie/SALOME-9.8.0-native-DB10-SRC/BUILD/openturns/openturns/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTC_dc465
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_dc465.dir/link.txt --verbose=1
/usr/bin/cc  -DCMAKE_HAVE_LIBC_PTHREAD -O3 -DNDEBUG -rdynamic CMakeFiles/cmTC_dc465.dir/src.c.o -o cmTC_dc465 
/usr/bin/ld: CMakeFiles/cmTC_dc465.dir/src.c.o: in function `main':
src.c:(.text.startup+0x15): undefined reference to `pthread_create'
/usr/bin/ld: src.c:(.text.startup+0x1f): undefined reference to `pthread_detach'
/usr/bin/ld: src.c:(.text.startup+0x29): undefined reference to `pthread_cancel'
/usr/bin/ld: src.c:(.text.startup+0x35): undefined reference to `pthread_join'
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_dc465.dir/build.make:106: cmTC_dc465] Error 1
gmake[1]: Leaving directory '/home/cookie/SALOME-9.8.0-native-DB10-SRC/BUILD/openturns/openturns/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:140: cmTC_dc465/fast] Error 2


Source file was:
#include <pthread.h>

void* test_func(void* data)
{
  return data;
}

int main(void)
{
  pthread_t thread;
  pthread_create(&thread, NULL, test_func, NULL);
  pthread_detach(thread);
  pthread_cancel(thread);
  pthread_join(thread, NULL);
  pthread_atfork(NULL, NULL, NULL);
  pthread_exit(NULL);

  return 0;
}

Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /home/cookie/SALOME-9.8.0-native-DB10-SRC/BUILD/openturns/openturns/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/gmake cmTC_9f0ea/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_9f0ea.dir/build.make CMakeFiles/cmTC_9f0ea.dir/build
gmake[1]: Entering directory '/home/cookie/SALOME-9.8.0-native-DB10-SRC/BUILD/openturns/openturns/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_9f0ea.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create -O3 -DNDEBUG -o CMakeFiles/cmTC_9f0ea.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.18/Modules/CheckFunctionExists.c
Linking C executable cmTC_9f0ea
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9f0ea.dir/link.txt --verbose=1
/usr/bin/cc  -DCHECK_FUNCTION_EXISTS=pthread_create -O3 -DNDEBUG -rdynamic CMakeFiles/cmTC_9f0ea.dir/CheckFunctionExists.c.o -o cmTC_9f0ea  -lpthreads 
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_9f0ea.dir/build.make:106: cmTC_9f0ea] Error 1
gmake[1]: Leaving directory '/home/cookie/SALOME-9.8.0-native-DB10-SRC/BUILD/openturns/openturns/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:140: cmTC_9f0ea/fast] Error 2



Determining if the function cheev_ exists failed with the following output:
Change Dir: /home/cookie/SALOME-9.8.0-native-DB10-SRC/BUILD/openturns/openturns/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/gmake cmTC_0e5ee/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_0e5ee.dir/build.make CMakeFiles/cmTC_0e5ee.dir/build
gmake[1]: Entering directory '/home/cookie/SALOME-9.8.0-native-DB10-SRC/BUILD/openturns/openturns/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_0e5ee.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=cheev_ -O3 -DNDEBUG -o CMakeFiles/cmTC_0e5ee.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.18/Modules/CheckFunctionExists.c
Linking C executable cmTC_0e5ee
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0e5ee.dir/link.txt --verbose=1
/usr/bin/cc  -DCHECK_FUNCTION_EXISTS=cheev_ -O3 -DNDEBUG -rdynamic CMakeFiles/cmTC_0e5ee.dir/CheckFunctionExists.c.o -o cmTC_0e5ee  /usr/lib/x86_64-linux-gnu/libblas.so -lpthread -lm -ldl 
/usr/bin/ld: CMakeFiles/cmTC_0e5ee.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `cheev_'
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_0e5ee.dir/build.make:107: cmTC_0e5ee] Error 1
gmake[1]: Leaving directory '/home/cookie/SALOME-9.8.0-native-DB10-SRC/BUILD/openturns/openturns/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:140: cmTC_0e5ee/fast] Error 2



Determining if the include file xlocale.h exists failed with the following output:
Change Dir: /home/cookie/SALOME-9.8.0-native-DB10-SRC/BUILD/openturns/openturns/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/gmake cmTC_f31b7/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_f31b7.dir/build.make CMakeFiles/cmTC_f31b7.dir/build
gmake[1]: Entering directory '/home/cookie/SALOME-9.8.0-native-DB10-SRC/BUILD/openturns/openturns/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_f31b7.dir/CheckIncludeFile.c.o
/usr/bin/cc   -O3 -DNDEBUG -o CMakeFiles/cmTC_f31b7.dir/CheckIncludeFile.c.o -c /home/cookie/SALOME-9.8.0-native-DB10-SRC/BUILD/openturns/openturns/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/home/cookie/SALOME-9.8.0-native-DB10-SRC/BUILD/openturns/openturns/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: xlocale.h: No such file or directory
    1 | #include <xlocale.h>
      |          ^~~~~~~~~~~
compilation terminated.
gmake[1]: *** [CMakeFiles/cmTC_f31b7.dir/build.make:85: CMakeFiles/cmTC_f31b7.dir/CheckIncludeFile.c.o] Error 1
gmake[1]: Leaving directory '/home/cookie/SALOME-9.8.0-native-DB10-SRC/BUILD/openturns/openturns/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:140: cmTC_f31b7/fast] Error 2



update
I fix this problem by remove package libceres-dev

Now i’m stucking at here
anyone know how to fix this problem?
did i miss some lib?

-- Found OpenCASCADE in CONFIG mode!
-- OpenCASCADE found directory matches what was specified in the OPENCASCADE_ROOT_DIR variable, all good!
-- Found OpenCascade version: 7.5.3
-- Variable OPENGL_ROOT_DIR was not explicitly defined. An installation was found anyway: /usr
-- Qt version is 5.15.2
-- Found SIP in CONFIG mode!
-- SIP found directory matches what was specified in the SIP_ROOT_DIR variable, all good!
CMake Error at /home/cookie/SALOME-9.8.0-native-DB10-SRC/SOURCES/CONFIGURATION/cmake/SalomeMacros.cmake:559 (MESSAGE):
  Package PyQt5 couldn't be found - did you set the corresponing root dir
  correctly? It currently contains PYQT5_ROOT_DIR=/usr Append
  -DSALOME_CMAKE_DEBUG=ON on the command line if you want to see the original
  CMake error.
Call Stack (most recent call first):
  /home/cookie/SALOME-9.8.0-native-DB10-SRC/SOURCES/CONFIGURATION/cmake/FindSalomePyQt5.cmake:30 (SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS)
  CMakeLists.txt:166 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
See also "/home/cookie/SALOME-9.8.0-native-DB10-SRC/BUILD/GUI/CMakeFiles/CMakeOutput.log".
See also "/home/cookie/SALOME-9.8.0-native-DB10-SRC/BUILD/GUI/CMakeFiles/CMakeError.log".
Compilation of GUI ........................... KO CONFIGURE                  

Compilation: KO (0/1)

You need to install the PyQt5 package on your system.

sudo apt install python3-pyqt5 

Hi
Thanks for your reply

I’ve installed it.
And I installed lot of python3 and qt related pkg for fix this issue but no luck.

below is my dpkg --get-selections

(https://drive.google.com/file/d/1DlSefDweQUSoNf-YBARjshEXa1cn7wKC/view?usp=sharing)

Hi
I added -DSALOME_CMAKE_DEBUG=ON and log as below

-- Qt version is 5.15.2
-- Found SIP in CONFIG mode!
-- SIP_FOUND,SIP_FOUND
-- SIP found directory matches what was specified in the SIP_ROOT_DIR variable, all good!
-- Looking for PyQt5 ...
CMake Error at /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
  Could NOT find PyQt5 (missing: PYQT_SIPS_DIR)
Call Stack (most recent call first):
  /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE)
  /home/cookie/SALOME-9.8.0-native-DB10-SRC/SOURCES/CONFIGURATION/cmake/FindPyQt5.cmake:82 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  /home/cookie/SALOME-9.8.0-native-DB10-SRC/SOURCES/CONFIGURATION/cmake/SalomeMacros.cmake:448 (FIND_PACKAGE)
  /home/cookie/SALOME-9.8.0-native-DB10-SRC/SOURCES/CONFIGURATION/cmake/SalomeMacros.cmake:547 (SALOME_FIND_PACKAGE)
  /home/cookie/SALOME-9.8.0-native-DB10-SRC/SOURCES/CONFIGURATION/cmake/FindSalomePyQt5.cmake:29 (SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS)
  CMakeLists.txt:166 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
See also "/home/cookie/SALOME-9.8.0-native-DB10-SRC/BUILD/GUI/CMakeFiles/CMakeOutput.log".
See also "/home/cookie/SALOME-9.8.0-native-DB10-SRC/BUILD/GUI/CMakeFiles/CMakeError.log".
Compilation of GUI ........................... KO CONFIGURE                  

Compilation: KO (0/1)

Salome can report what packages are missing when you give the command:

./sat config SALOME-9.8.0-native --check_system

Try this command and see if it reports any missing packages you need to install on your system.

I did It and every package show ok.

you need to patch CONFIGURATION as follows:

  • file: SOURCES/CONFIGURATION/cmake/FindPyQt5.cmake:

change:

FIND_FILE(PYQT_SIP_MAIN_FILE qobject.sip PATH_SUFFIXES share/sip/QtCore sip/QtCore share/sip/PyQt5/QtCore)
to
FIND_FILE(PYQT_SIP_MAIN_FILE qobject.sip PATH_SUFFIXES share/sip/QtCore sip/QtCore share/sip/PyQt5/QtCore lib/python3/dist-packages/PyQt5/bindings/QtCore)

  • File SOURCES/CONFIGURATION/cmake/SalomeMacros.cmake:

after:

IF(CMAKE_VERSION VERSION_GREATER_EQUAL 3.12)
  CMAKE_POLICY(SET CMP0074 NEW) # Use ROOT variables when detecting packages
ENDIF()

add:

IF(CMAKE_VERSION VERSION_GREATER_EQUAL 3.18)
 CMAKE_POLICY(SET CMP0057 NEW)
ENDIF()
1 Like

Hello,

Concerning the system pyqt5 sip files, they are provided by the package pyqt5-dev.

GD

OMG It works!
Thanks!!!