Opened 7 years ago

Closed 7 years ago

#54467 closed defect (worksforme)

gmt5 @5.4.2 : hdf5 searching error in configure phase

Reported by: kuni255 Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: Cc:
Port: gmt5

Description

I got following error message during configuring gmt5. I'm using following revision of ports on GitHub.

Ports revision on GitHub

commit 3f4ab80935efa049afbd37d0f5da6f0bc0aa0d1e
Author: Jackson Isaac <ijackson@macports.org>
Date:   Wed Jul 12 11:58:11 2017 +0530

    net/youtube-dl: Update to 2017.07.09

Configure error log

  1 DEBUG: configure phase started at Sun Jul  9 02:11:33 JST 2017
  2 --->  Configuring gmt5
  3 DEBUG: Preferred compilers: clang macports-clang-3.9 macports-clang-3.8 macports-clang-3.7
  4 DEBUG: Using compiler 'Xcode Clang'
  5 DEBUG: Executing proc-pre-org.macports.configure-configure-0
  6 DEBUG: Executing proc-pre-org.macports.configure-configure-1
  7 DEBUG: Executing proc-pre-org.macports.configure-configure-2
  8 DEBUG: Executing org.macports.configure (gmt5)
  9 DEBUG: Environment: 
 10 DEBUG: CC='/usr/bin/clang'
 11 DEBUG: CC_PRINT_OPTIONS='YES'
 12 DEBUG: CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_science_gmt5/gmt5/work/.CC_PRINT_OPTIO    NS'
 13 DEBUG: CFLAGS='-pipe -fstrict-aliasing'
 14 DEBUG: CPATH='/opt/local/include'
 15 DEBUG: CPPFLAGS='-I/opt/local/include'
 16 DEBUG: CXX='/usr/bin/clang++'
 17 DEBUG: CXXFLAGS='-pipe -stdlib=libc++'
 18 DEBUG: F77FLAGS='-m64'
 19 DEBUG: F90FLAGS='-pipe -m64'
 20 DEBUG: FCFLAGS='-pipe -m64'
 21 DEBUG: FFLAGS='-pipe'
 22 DEBUG: INSTALL='/usr/bin/install -c'
 23 DEBUG: LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names'
 24 DEBUG: LIBRARY_PATH='/opt/local/lib'
 25 DEBUG: MACOSX_DEPLOYMENT_TARGET='10.12'
 26 DEBUG: OBJC='/usr/bin/clang'
 27 DEBUG: OBJCFLAGS='-pipe'
 28 DEBUG: OBJCXX='/usr/bin/clang++'
 29 DEBUG: OBJCXXFLAGS='-pipe -stdlib=libc++'
 30 Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_science_gmt5/gmt5/work/build" && /opt/local/bin/cmak    e -DCMAKE_INSTALL_PREFIX='/opt/local' -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_C_COMPILER="$CC" -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_FIND    _FRAMEWORK=LAST -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DCMAKE_INSTALL_RPATH=/opt/local/lib -DCMAKE_MODULE_PATH=/opt/local/share/cmake/Modules -DCMAKE_SYSTEM_PREFIX    _PATH="/opt/local;/usr" -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev -DCMAKE_BUILD_TYPE=RelWithDebInfo -DDCW_ROOT=/opt/local/share/gmt/dcw -DGSHHG_ROOT=/opt/local/share/gmt/    gshhg -DNETCDF_ROOT=/opt/local -DFFTW3_ROOT=off -DGMT_OPENMP=off -DGMT_INSTALL_MODULE_LINKS=off -DGMT_INSTALL_TRADITIONAL_FOLDERNAMES=off -DGDAL_ROOT=/opt/local -DPC    RE_ROOT=/opt/local -DLICENSE_RESTRICTED=no -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.12" -DCMAKE_OSX_SYSROOT="/" /opt/local/var/macports/b    uild/_opt_local_var_macports_sources_github.com_macports_macports-ports_science_gmt5/gmt5/work/gmt-5.4.2 
 31 DEBUG: system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_science_gmt5/gmt5/work/build" && /opt/local/bin/    cmake -DCMAKE_INSTALL_PREFIX='/opt/local' -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_C_COMPILER="$CC" -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_    FIND_FRAMEWORK=LAST -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DCMAKE_INSTALL_RPATH=/opt/local/lib -DCMAKE_MODULE_PATH=/opt/local/share/cmake/Modules -DCMAKE_SYSTEM_PR    EFIX_PATH="/opt/local;/usr" -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev -DCMAKE_BUILD_TYPE=RelWithDebInfo -DDCW_ROOT=/opt/local/share/gmt/dcw -DGSHHG_ROOT=/opt/local/share/    gmt/gshhg -DNETCDF_ROOT=/opt/local -DFFTW3_ROOT=off -DGMT_OPENMP=off -DGMT_INSTALL_MODULE_LINKS=off -DGMT_INSTALL_TRADITIONAL_FOLDERNAMES=off -DGDAL_ROOT=/opt/local     -DPCRE_ROOT=/opt/local -DLICENSE_RESTRICTED=no -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.12" -DCMAKE_OSX_SYSROOT="/" /opt/local/var/macpor    ts/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_science_gmt5/gmt5/work/gmt-5.4.2 
 32 -- The C compiler identification is AppleClang 8.1.0.8020042
 33 -- Check for working C compiler: /usr/bin/clang
 34 -- Check for working C compiler: /usr/bin/clang -- works
 35 -- Detecting C compiler ABI info
 36 -- Detecting C compiler ABI info - done
 37 -- Detecting C compile features
 38 -- Detecting C compile features - done
 39 -- Found UnixCommands: /bin/bash   
 40 -- Searching dependent libraries. This may take a few minutes...
 41 -- Looking for nc_def_var_deflate
 42 CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
 43 Please set them or make sure they are set and tested correctly in the CMake files:
 44 _found_lib_hdf5
 45     linked by target "cmTC_d165e" in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_science_gmt5/gmt5/wor    k/build/CMakeFiles/CMakeTmp
 46 _found_lib_hdf5_hl

Change History (3)

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Cc: takeshi@… removed
Owner: set to tenomoto
Status: newassigned

comment:2 Changed 7 years ago by kuni255

I had proposed the way to resolve this problem in GitHub as this pull request . Please check it. I'm sorry to inform this fact.

comment:3 Changed 7 years ago by raimue (Rainer Müller)

Resolution: worksforme
Status: assignedclosed
Note: See TracTickets for help on using tickets.