Opened 18 years ago

Last modified 18 years ago

#1151 closed defect (later)

GDAL 1.3.1 configure failed to locate netcdf

Reported by: niles@… Owned by: warmerdam
Priority: high Milestone:
Component: default Version: unspecified
Severity: normal Keywords:
Cc:

Description

GDAL 1.3.1 failed to configure the build system correctly to find netcdf
correctly.  I tried a few invocations, but nothing seems to automatically set
things up correctly for:

/usr/include/netcdf-3/netcdf.h  and /usr/lib64/netcdf-3/libnetcdf.a

Finally I did the attached patch.  It's obviously, not the right thing, but it
might give you a hint as to how to do it right.

Attachments (1)

gdal-netcdf.patch (786 bytes ) - added by niles@… 18 years ago.
A hack to force gdal to find netcdf for my machine

Download all attachments as: .zip

Change History (2)

by niles@…, 18 years ago

Attachment: gdal-netcdf.patch added

A hack to force gdal to find netcdf for my machine

comment:1 by warmerdam, 18 years ago

You are correct that the patch isn't very general.  I'm not sure what a general
solution would be though.  I'm going to defer action on this for the time
being. 

Note: See TracTickets for help on using tickets.