Opened 14 years ago

Last modified 14 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:


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@… 14 years ago.
A hack to force gdal to find netcdf for my machine

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by niles@…

Attachment: gdal-netcdf.patch added

A hack to force gdal to find netcdf for my machine

comment:1 Changed 14 years ago by warmerdam

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

Note: See TracTickets for help on using tickets.