[netcdfgroup] Problems Installing netcdf-c-4.9.3

  • To: "netcdfgroup@xxxxxxxxxxxxxxxx" <netcdfgroup@xxxxxxxxxxxxxxxx>
  • Subject: [netcdfgroup] Problems Installing netcdf-c-4.9.3
  • From: "Helly, John" <hellyj@xxxxxxxx>
  • Date: Wed, 23 Jul 2025 23:59:21 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ucsd.edu; dmarc=pass action=none header.from=ucsd.edu; dkim=pass header.d=ucsd.edu; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=PlHIYiChU31NJ3CUk2x5uX+TRzUzqFv+ZQSKhZbx+cM=; b=lwVe2+TdpXSCgEfgxdVcHRmJDMQdW0U37Ltaw6fse8ttSKEkLG2X8MkQt5dsxjLFyh99rtzz3zvSvkoXqCZfCd37fi2eytlmVglb4GkXOy97pP4lv228HKpPf2jHNNrU7jsvxMGKzGuav7PdoO73rbo55FTD1zd6aHg4Jw9gHrkO6jHbpRl+KsEmRPAWLe2ixmLocvoYo/QNI9ESpk5wa2n3VWYdz9c0n4kIprbSf1Ntogsag8qy9yT1RZEE2dyRUaycwHllr+TtRszUyDTEOAbN4ziMaasjBP3C425HbpGwidFn8lHGHnEeiVprEmqdQu4JWdS3cjlr4oMmL9HktA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=KTF9ViKK+a2qGa0Q/ogUczMUO9GgdgCPym28HIvrXM46Nmznt1OEaWHOiLEyS0J5d9MahKdRJ8DIQff9Tk8lDj7PRNjyCVX1yhiK7O+pNVIBA81ZOWlCTJ5rG1SyUIf0qLxBFbuOyGYONCp1H7D+Osa6ZG5guhhxIPvT6AICBcUOWCKzYCp3IZ9fhpI25HEXBdQP4j0Ebqhpx9eJuqIHw7M5pdoSd4IFNO/Gr6JN31t+oJ9rjyfleNDGInpqCLGjRpD9LNAl12dQ7Mv6/8AGPciYqkXrsS+8J+t1bJ0mptu3R3tkh3y3zyRpCmo6ybceTY6LsGQNcxm6EZnO1jtARg==
  • Pp_allow_relay: proofpoint_allowed
Aloha.

I've installed earlier versions of netCDF many, many times but I've been away 
from it for  a few years (maybe more than a few).

Anyway, I'm trying to install on OSX 15.5 (Sequoia) on Apple M2 hardware.  I've 
(apparently) successfully installed hdf5-1.14.6 and am not trying to compile NC 
against it.  But when I run this ...


CPPFLAGS='-I/Users/hellyj/src/hdf5-1.14.6/Build/include' \
LDFLAGS='-L/Users/hellyj/src/hdf5-1.14.6/Build/lib'  \
./configure --prefix=/Users/hellyj/src/netcdf-c-4.9.3/Build  --enable-netcdf-4 
--enable-f90  --with-hdf5=/Users/hellyj/src/hdf5-1.14.6/Build
make check install

This is what happens:


configure: error: Compiling a test with HDF5 failed.  Either hdf5.h cannot be 
found, or config.log should be checked for other reason.

+ make check install


When I look at config.log the only error I find is:


configure:4531: $? = 0

configure:4520: gcc -V >&5

gcc: error: unrecognized command-line option '-V'


Which seems to be a problem with gcc arguments.  However, not sure how to 
correct this in the 'configure' script or if it should be happening at all.


Any advice is very welcome.


Mahalo

----------------------------------------------------------------------------------------------------------------------
John Helly / San Diego Supercomputer Center / Scripps Institution of 
Oceanography
https://www.sdsc.edu/~hellyj / 808 205 9882 / 760 8408660

  • 2025 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: