[MacPorts] #51778: Processing of port gmt5 failed
MacPorts
noreply at macports.org
Wed Jul 6 03:34:40 PDT 2016
#51778: Processing of port gmt5 failed
-------------------------+-----------------------
Reporter: luzareli@… | Owner: florian@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords:
Port: gmt5 |
-------------------------+-----------------------
Comment (by florian@…):
CMake says:
{{{
901 :info:configure CMake Error at cmake/modules/FindNETCDF.cmake:132
(message):
902 :info:configure Library found but netCDF-4/HDF5 format
unsupported. Do not configure
903 :info:configure netCDF-4 with --disable-netcdf-4.
}}}
I suspect that you have installed netCDF but without netCDF-4/HDF5
support. If you installed netCDF from macports then make sure to enable
the variant ''netcdf4''. You can verify this by issuing
{{{
port info netcdf
}}}
You should get something like this:
{{{
netcdf @4.4.0_3 (science)
Variants: clang33, clang34, clang35, clang36, clang37,
clang38, clang39, dap, debug,
dragonegg33, dragonegg34, gcc44, gcc45, gcc46,
gcc47, gcc48, gcc49, gcc5,
gcc6, gcc7, hdf4, llvm, mpich, mpich_devel,
[+]netcdf4, openmpi,
openmpi_devel, universal
[...]
Library Dependencies: hdf5-18, curl
}}}
If the netcdf4 variant ist not selected and hdf5-18 is not listed as
library dependency you need to rebuild netcdf before gmt.
--
Ticket URL: <https://trac.macports.org/ticket/51778#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list