gmt5.1.1 install problem

Junqing Liu <[email protected]>
Newsgroups gmane.comp.gis.gmt.user
Message-ID <CAD5NoopR439WOh3jZSV9KSkAvogX_F+sZnxgTQiw75fR+BaamA@mail.gmail.com>
Dear sir,

I encountered the install problem as follows.I install the netcdf bu yum

yum install gdal-devel

installed gdal-devel  netcdf-4.1.1  hdf5
+++++++++++++++++
[root@liu-jq build]# cmake ..
-- Searching dependent libraries. This may take a few minutes...
-- Looking for nc_def_var_deflate
-- Looking for nc_def_var_deflate - not found
CMake Error at cmake/modules/FindNETCDF.cmake:127 (message):
  Library found but netCDF-4/HDF5 format unsupported.  Do not configure
  netCDF-4 with --disable-netcdf-4.
Call Stack (most recent call first):
  src/CMakeLists.txt:39 (find_package)


CMake Error at
/usr/share/cmake28/Modules/FindPackageHandleStandardArgs.cmake:108
(message):
  Could NOT find NETCDF (missing: HAVE_NETCDF4)
Call Stack (most recent call first):
  /usr/share/cmake28/Modules/FindPackageHandleStandardArgs.cmake:315
(_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindNETCDF.cmake:132 (find_package_handle_standard_args)
  src/CMakeLists.txt:39 (find_package)


-- Configuring incomplete, errors occurred!
[root@liu-jq build]#
+++++++++++++++++++

To unsubscribe, send the message "signoff gmt-help" to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.