Could not find a package configuration file provided by "ZLIB"- BuildIt (hdf5) failed
Posted: Thu Mar 07, 2019 12:59 am America/New_York
Hi,
while installing SeaDAS 7.5.2, I got following error during buildit. Kindly direct me further.
CMake Warning at CMakeFilters.cmake:36 (find_package):
Could not find a package configuration file provided by "ZLIB" with any of
the following names:
ZLIBConfig.cmake
zlib-config.cmake
Add the installation prefix of "ZLIB" to CMAKE_PREFIX_PATH or set
"ZLIB_DIR" to a directory containing one of the above files. If "ZLIB"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
CMakeLists.txt:574 (include)
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
-- Filter ZLIB is ON
-- The Fortran compiler identification is GNU 5.4.0
-- Check for working Fortran compiler: /usr/bin/gfortran
-- Check for working Fortran compiler: /usr/bin/gfortran -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/bin/gfortran supports Fortran 90
-- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes
-- Detecting Fortran/C Interface
-- Detecting Fortran/C Interface - Found GLOBAL and MODULE mangling
-- Testing Fortran sizeof
-- Testing Fortran sizeof - OK
-- Testing Fortran c_sizeof
-- Testing Fortran c_sizeof - OK
-- Testing Fortran storage_size
-- Testing Fortran storage_size - OK
-- Testing Fortran ISO_FORTRAN_ENV
-- Testing Fortran ISO_FORTRAN_ENV - OK
-- Testing Fortran RealIsNotDouble
-- Testing Fortran RealIsNotDouble - OK
-- Testing Fortran iso_c_binding
-- Testing Fortran iso_c_binding - OK
CMake Error at /usr/share/cmake-3.5/Modules/CMakePackageConfigHelpers.cmake:254 (file):
file RELATIVE_PATH must be passed a full path to the file:
Call Stack (most recent call first):
CMakeInstallation.cmake:85 (configure_package_config_file)
CMakeLists.txt:813 (include)
-- Configuring incomplete, errors occurred!
See also "/home/karthick/seadas/ocssw/opt/src/hdf5/hdf5-1.8.18/build/CMakeFiles/CMakeOutput.log".
See also "/home/karthick/seadas/ocssw/opt/src/hdf5/hdf5-1.8.18/build/CMakeFiles/CMakeError.log".
***** cmake failed *****
***** BuildIt (hdf5) failed *****
while installing SeaDAS 7.5.2, I got following error during buildit. Kindly direct me further.
CMake Warning at CMakeFilters.cmake:36 (find_package):
Could not find a package configuration file provided by "ZLIB" with any of
the following names:
ZLIBConfig.cmake
zlib-config.cmake
Add the installation prefix of "ZLIB" to CMAKE_PREFIX_PATH or set
"ZLIB_DIR" to a directory containing one of the above files. If "ZLIB"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
CMakeLists.txt:574 (include)
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
-- Filter ZLIB is ON
-- The Fortran compiler identification is GNU 5.4.0
-- Check for working Fortran compiler: /usr/bin/gfortran
-- Check for working Fortran compiler: /usr/bin/gfortran -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/bin/gfortran supports Fortran 90
-- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes
-- Detecting Fortran/C Interface
-- Detecting Fortran/C Interface - Found GLOBAL and MODULE mangling
-- Testing Fortran sizeof
-- Testing Fortran sizeof - OK
-- Testing Fortran c_sizeof
-- Testing Fortran c_sizeof - OK
-- Testing Fortran storage_size
-- Testing Fortran storage_size - OK
-- Testing Fortran ISO_FORTRAN_ENV
-- Testing Fortran ISO_FORTRAN_ENV - OK
-- Testing Fortran RealIsNotDouble
-- Testing Fortran RealIsNotDouble - OK
-- Testing Fortran iso_c_binding
-- Testing Fortran iso_c_binding - OK
CMake Error at /usr/share/cmake-3.5/Modules/CMakePackageConfigHelpers.cmake:254 (file):
file RELATIVE_PATH must be passed a full path to the file:
Call Stack (most recent call first):
CMakeInstallation.cmake:85 (configure_package_config_file)
CMakeLists.txt:813 (include)
-- Configuring incomplete, errors occurred!
See also "/home/karthick/seadas/ocssw/opt/src/hdf5/hdf5-1.8.18/build/CMakeFiles/CMakeOutput.log".
See also "/home/karthick/seadas/ocssw/opt/src/hdf5/hdf5-1.8.18/build/CMakeFiles/CMakeError.log".
***** cmake failed *****
***** BuildIt (hdf5) failed *****