Could not find a package configuration file provided by "ZLIB"- BuildIt (hdf5) failed

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
karthickmurugan
Posts: 6
Joined: Tue Feb 19, 2019 1:17 pm America/New_York
Answers: 0

Could not find a package configuration file provided by "ZLIB"- BuildIt (hdf5) failed

by karthickmurugan » 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 *****

Tags:

OB.DAAC - SeanBailey
User Services
User Services
Posts: 1470
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1
Been thanked: 5 times

Could not find a package configuration file provided by "ZLIB"- BuildIt (hdf5) failed

by OB.DAAC - SeanBailey » Fri Mar 08, 2019 7:44 am America/New_York

Unless you are modifying the code, or the binaries we distribute do not work on you system, you shouldn't need to build the code from source.
But if you want to do so, see the build instructions, specifically the "REQUIREMENTS" section :grin:

Sean

Post Reply