Hey guys,
I have installed Salome 6.5 using a deb package. I sourced the paths to env.sh file properly,
./build-configure works fine, but I get errors during ./configure. Heres the log :-
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for a thread-safe mkdir -p… /bin/mkdir -p
checking for gawk… no
checking for mawk… mawk
checking whether make sets $(MAKE)… yes
checking how to create a pax tar archive… gnutar
configure: checking for LIB_LOCATION_SUFFIX…
LIB_LOCATION_SUFFIX is
checking wether accepts -Xlinker -export-dynamic… no
checking wether accepts -transitive_link… no
checking wether accepts -Xlinker -enable-new-dtags… no
configure: checking for Kernel…
for ${KERNEL_ROOT_DIR}: /modules/KERNEL_V6_5_0p1
for Kernel: no
configure: checking for SALOME KERNEL package…
checking for style of include used by make… GNU
checking for gcc… gcc
checking whether the C compiler works… yes
checking for C compiler default output file name… a.out
checking for suffix of executables…
checking whether we are cross compiling… no
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… none needed
checking dependency style of gcc… none
checking how to run the C preprocessor… gcc -E
checking for grep that handles long lines and -e… /bin/grep
checking for egrep… /bin/grep -E
checking for ANSI C header files… yes
checking for sys/types.h… yes
checking for sys/stat.h… yes
checking for stdlib.h… yes
checking for string.h… yes
checking for memory.h… yes
checking for strings.h… yes
checking for inttypes.h… yes
checking for stdint.h… yes
checking for unistd.h… yes
configure: checking for HDF5…
configure: Trying native Hdf5…
checking hdf5.h usability… no
checking hdf5.h presence… no
checking for hdf5.h… no
for hdf5: no
checking for g77… g77
checking whether we are using the GNU Fortran 77 compiler… yes
checking whether g77 accepts -g… yes
checking how to get verbose linking output from g77… -v
checking for Fortran 77 libraries of g77… -L/usr/lib/gcc/i686-linux-gnu/4.6 -L/usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib -L/lib/i386-linux-gnu -L/lib/../lib -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib -L. -L/usr/lib/gcc/i686-linux-gnu/4.6/../../.. -lgfortran -lm -lquadmath
checking for dummy main to link with Fortran 77 libraries… none
checking for Fortran 77 name-mangling scheme… lower case, underscore, no extra underscore
checking size of Fortran integer… 4
checking size of int… 4
configure: checking for MED3…
checking for mdump… no
checking med.h usability… no
checking med.h presence… no
checking for med.h… no
for med3: no
configure: checking for Med…
for ${MED_ROOT_DIR}: /modules/MED_V6_5_0p1
for Med: no
for MULTIPR Med package:
configure: checking for SALOME MED package…
try ${GUI_ROOT_DIR}: /modules/GUI_V6_5_0p1
configure: checking for light GUI…
for light GUI: no
for full GUI: no
configure: checking for SALOME GUI package…
configure: checking for VISU…
for VISU: no
configure: checking for SALOME VISU package…
configure: calculating OS parameters
configure: @OS_NAME@ == "Ubuntu"
configure: @UBUNTU_CODENAME@ == "precise"
configure: @OS_ARCHITECTURE@ == "i386"
configure: checking for HDF5 environemnt…
checking for h5dump… yes
checking for //include/hdf5.h… no
checking for /usr/include/hdf5.h… no
checking for //lib/libhdf5.so… no
checking for /usr/lib/libhdf5.so… no
checking for g++… g++
checking whether we are using the GNU C++ compiler… yes
checking whether g++ accepts -g… yes
checking dependency style of g++… none
checking how to run the C++ preprocessor… g++ -E
configure: checking for Python environemnt…
checking for python… yes
checking for /usr/include/python2.7/Python.h… yes
checking Python.h usability… yes
checking Python.h presence… yes
checking for Python.h… yes
checking for /usr/lib/libpython2.7.so… yes
checking for linking to Python libraries … yes
configure: @PYTHON_VERSION@ == "2.7"
configure: checking for VTK Library…
checking for /usr/include/vtk-5.8/vtkPlane.h… yes
checking vtkPlane.h usability… yes
checking vtkPlane.h presence… yes
checking for vtkPlane.h… yes
checking for /usr/lib/libvtkCommon.so… yes
checking for linking to VTK libraries … no
configure: checking for Boost Library in general…
checking for /usr/include/boost/version.hpp… yes
checking boost/version.hpp usability… yes
checking boost/version.hpp presence… yes
checking for boost/version.hpp… yes
configure: @BOOST_VERSION@ == "104601"
configure: @BOOST_MAJOR_VERSION@ == "1"
configure: @BOOST_MINOR_VERSION@ == "46"
configure: @FROM_BOOST_VERSION@ == ">=1.46"
configure: @TO_BOOST_VERSION@ == "<=1.48.0.2"
configure: checking for Boost "program_options" library…
------------------- mandatory products ---------------------
salome_kernel : no
salome_med : no
salome_gui : no
salome_visu : no
hdf5 : yes
vtk : no
boost_program_options : no
FATAL ERROR: some mandatory products are missing.
Installing the missing products is required before running the configure script.
Maybe I am missing some path variables, but I have triple checked, am I missing something?
Thanks for your help.
Sangram P.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
As I already said, "to save your time and energy as a first try I would suggest to start with the same SALOME version that was tested - r5.1.3". I mean compiled and installed from sources.
SALOME KERNEL (the starting point for SALOME) can not recognize itself.
So, the question is how did you install SALOME (from binaries, sources e.t.c)?
Could you provide corresponding "configure" log file?
Best regards,
Alexey
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey guys,
I have installed Salome 6.5 using a deb package. I sourced the paths to env.sh file properly,
./build-configure works fine, but I get errors during ./configure. Heres the log :-
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for a thread-safe mkdir -p… /bin/mkdir -p
checking for gawk… no
checking for mawk… mawk
checking whether make sets $(MAKE)… yes
checking how to create a pax tar archive… gnutar
configure: checking for LIB_LOCATION_SUFFIX…
LIB_LOCATION_SUFFIX is
checking wether accepts -Xlinker -export-dynamic… no
checking wether accepts -transitive_link… no
checking wether accepts -Xlinker -enable-new-dtags… no
configure: checking for Kernel…
for ${KERNEL_ROOT_DIR}: /modules/KERNEL_V6_5_0p1
for Kernel: no
configure: checking for SALOME KERNEL package…
checking for style of include used by make… GNU
checking for gcc… gcc
checking whether the C compiler works… yes
checking for C compiler default output file name… a.out
checking for suffix of executables…
checking whether we are cross compiling… no
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… none needed
checking dependency style of gcc… none
checking how to run the C preprocessor… gcc -E
checking for grep that handles long lines and -e… /bin/grep
checking for egrep… /bin/grep -E
checking for ANSI C header files… yes
checking for sys/types.h… yes
checking for sys/stat.h… yes
checking for stdlib.h… yes
checking for string.h… yes
checking for memory.h… yes
checking for strings.h… yes
checking for inttypes.h… yes
checking for stdint.h… yes
checking for unistd.h… yes
configure: checking for HDF5…
configure: Trying native Hdf5…
checking hdf5.h usability… no
checking hdf5.h presence… no
checking for hdf5.h… no
for hdf5: no
checking for g77… g77
checking whether we are using the GNU Fortran 77 compiler… yes
checking whether g77 accepts -g… yes
checking how to get verbose linking output from g77… -v
checking for Fortran 77 libraries of g77… -L/usr/lib/gcc/i686-linux-gnu/4.6 -L/usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib -L/lib/i386-linux-gnu -L/lib/../lib -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib -L. -L/usr/lib/gcc/i686-linux-gnu/4.6/../../.. -lgfortran -lm -lquadmath
checking for dummy main to link with Fortran 77 libraries… none
checking for Fortran 77 name-mangling scheme… lower case, underscore, no extra underscore
checking size of Fortran integer… 4
checking size of int… 4
configure: checking for MED3…
checking for mdump… no
checking med.h usability… no
checking med.h presence… no
checking for med.h… no
for med3: no
configure: checking for Med…
for ${MED_ROOT_DIR}: /modules/MED_V6_5_0p1
for Med: no
for MULTIPR Med package:
configure: checking for SALOME MED package…
try ${GUI_ROOT_DIR}: /modules/GUI_V6_5_0p1
configure: checking for light GUI…
for light GUI: no
for full GUI: no
configure: checking for SALOME GUI package…
configure: checking for VISU…
for VISU: no
configure: checking for SALOME VISU package…
configure: calculating OS parameters
configure: @OS_NAME@ == "Ubuntu"
configure: @UBUNTU_CODENAME@ == "precise"
configure: @OS_ARCHITECTURE@ == "i386"
configure: checking for HDF5 environemnt…
checking for h5dump… yes
checking for //include/hdf5.h… no
checking for /usr/include/hdf5.h… no
checking for //lib/libhdf5.so… no
checking for /usr/lib/libhdf5.so… no
checking for g++… g++
checking whether we are using the GNU C++ compiler… yes
checking whether g++ accepts -g… yes
checking dependency style of g++… none
checking how to run the C++ preprocessor… g++ -E
configure: checking for Python environemnt…
checking for python… yes
checking for /usr/include/python2.7/Python.h… yes
checking Python.h usability… yes
checking Python.h presence… yes
checking for Python.h… yes
checking for /usr/lib/libpython2.7.so… yes
checking for linking to Python libraries … yes
configure: @PYTHON_VERSION@ == "2.7"
configure: checking for VTK Library…
checking for /usr/include/vtk-5.8/vtkPlane.h… yes
checking vtkPlane.h usability… yes
checking vtkPlane.h presence… yes
checking for vtkPlane.h… yes
checking for /usr/lib/libvtkCommon.so… yes
checking for linking to VTK libraries … no
configure: checking for Boost Library in general…
checking for /usr/include/boost/version.hpp… yes
checking boost/version.hpp usability… yes
checking boost/version.hpp presence… yes
checking for boost/version.hpp… yes
configure: @BOOST_VERSION@ == "104601"
configure: @BOOST_MAJOR_VERSION@ == "1"
configure: @BOOST_MINOR_VERSION@ == "46"
configure: @FROM_BOOST_VERSION@ == ">=1.46"
configure: @TO_BOOST_VERSION@ == "<=1.48.0.2"
configure: checking for Boost "program_options" library…
------------------- mandatory products ---------------------
salome_kernel : no
salome_med : no
salome_gui : no
salome_visu : no
hdf5 : yes
vtk : no
boost_program_options : no
FATAL ERROR: some mandatory products are missing.
Installing the missing products is required before running the configure script.
Maybe I am missing some path variables, but I have triple checked, am I missing something?
Thanks for your help.
Sangram P.
Hi Sangram,
As I already said, "to save your time and energy as a first try I would suggest to start with the same SALOME version that was tested - r5.1.3". I mean compiled and installed from sources.
At any case, from what I can see from the
-> "configure" output
-> https://github.com/asimurzin/foam2med/blob/master/configure.in
-> https://github.com/alexey4petrov/confFlu/blob/master/admin/confflu_check_salome_kernel.m4
-> http://git.salome-platform.org/gitweb/?p=KERNEL_SRC.git;a=blob;f=salome_adm/unix/config_files/check_Kernel.m4;h=b3a78f62c59f7de2ffd22ce4ab41056351f17b5e;hb=V6_main
SALOME KERNEL (the starting point for SALOME) can not recognize itself.
So, the question is how did you install SALOME (from binaries, sources e.t.c)?
Could you provide corresponding "configure" log file?
Best regards,
Alexey