9.11 native OracleLinux 8.8 - install error

Hi!

I’m encountering the following error when trying to compile the native 9.11 native on a machine running Oracle Linux 8.8:

[root@server SALOME-9.11.0-native-CO8-SRC]# sat/sat -t compile SALOME-9.11.0-native

WARNING: Your application configuration is not supported on this platform (OracleServer8)
         Please consider using the native application!

Executing the compile commands in the build directories of the products of the application SALOME-9.11.0-native
  SOURCE directory = /home/public/apps/SALOME-9.11.0-native-CO8-SRC/SOURCES
   BUILD directory = /home/public/apps/SALOME-9.11.0-native-CO8-SRC/BUILD

Compilation of Python ........................ native
Compilation of setuptools .................... native
Compilation of alabaster ..................... native
Compilation of pytz .......................... native
Compilation of Babel ......................... native
Compilation of boost ......................... native
Compilation of cmake ......................... Already installed
Compilation of freetype ...................... native
Compilation of freeimage ..................... native
Compilation of graphviz ...................... native
Compilation of doxygen ....................... native
Compilation of CAS ...........................
***** salomeTools ERROR: sat compile *****
<bound method SatException.message of SatException('Error : command failed because sat was not able to find rpm command')>

The prepare step also presented the error, even after patching sources of the application:

[root@server SALOME-9.11.0-native-CO8-SRC]# sat/sat prepare SALOME-9.11.0-native --complete
                                                                                                                                                                                                                 WARNING: Your application configuration is not supported on this platform (OracleServer8)
         Please consider using the native application!

                                                                                                                                                                                                                 List of already prepared products that are skipped : CAS,C3PO,cmake,cminpack,FMILibrary,gdal,hdf5,netgen,omniORB,omniORBpy,openturns,ParaView,petsc,root,TTK,URANIE,CONFIGURATION,KERNEL
Clean the source directories ...OK
Getting sources of the application SALOME-9.11.0-native
  workdir = /home/public/apps/SALOME-9.11.0-native-CO8-SRC

alabaster:                  Native : Checking system packages are installed

***** salomeTools ERROR: sat source *****
<bound method SatException.message of SatException('Error : command failed because sat was not able to find rpm command')>
Patching sources of the application SALOME-9.11.0-native
  workdir = /home/public/apps/SALOME-9.11.0-native-CO8-SRC


Patching sources of the application: OK (124 / 124)

Could you kindly assist me?

Thank you!
Nícolas

Here SAT uses rpm to figure out if system packages are installed or not. If it is available on this distro (unknown to me), you can install it and check, otherwise, you can simply use the universal binary (built on centos 7)
regards.

Dear Nabil,

Thank you for your response!

The Oracle Linux is based on Red Hat Enterprise Linux, and also include the rpm command. However, unfortunately, the SAT error still persists.

Thanks!
Nícolas

Hello!

I was able to work around the issue by setting the following distribution:
"oracle": "CO"

In the distrib.pyconf file.

Thank you!
Nícolas

1 Like