[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #AQK-466372]: NETCDF-4.1.3 build error

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [netCDF #AQK-466372]: NETCDF-4.1.3 build error
  • Date: Fri, 30 Sep 2011 13:02:29 -0600

Sudheer,

> I downloaded the netCDF4-0.9.5
> and tried to install it using python setup.py install command and getting
> below error. Can any one suggest a slution??

That Python package is developed, maintained, and supported by a netCDF
contributor, Jeff Whitaker, who is much better qualified to answer questions 
about it.  See

  http://code.google.com/p/netcdf4-python/

for his email address.

--Russ

> with best regards,
> Sudheer
> 
> "netCDF4.c", line 31138.15: 1506-068 (W) Operation between types "char*" and
> "const char*" is not allowed.
> "netCDF4.c", line 31271.17: 1506-068 (W) Operation between types "char*" and
> "const char*" is not allowed.
> "netCDF4.c", line 32267.19: 1506-068 (W) Operation between types "char*" and
> "const char*" is not allowed.
> "netCDF4.c", line 32436.17: 1506-068 (W) Operation between types "char*" and
> "const char*" is not allowed.
> error: Command "xlc_r -g -DNDEBUG -O -I/gpfs1/sjo/pkgs/local/include
> -I/gpfs1/sjo/pkgs/local/include
> -I/gpfs1/sjo/pkgs/local/lib/python2.7/site-packages/numpy/core/include
> -I/gpfs1/sjo/pkgs/local/include/python2.7 -c netCDF4.c -o
> build/temp.aix-5.3-2.7/netCDF4.o" failed with exit status 1
> 
> 

Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: AQK-466372
Department: Support netCDF
Priority: Normal
Status: Closed