Trying to build snapshot downloaded 10 Jan 2010.
env NETCDF_INC=… NETCDF_LIB=… ./configure -enable-dap-netcdf
I get the following:
configure:16657: checking for nc__opendap in -lnetcdf
configure:16682: gcc -std=gnu99 -o conftest -g -O2 conftest.c -lnetcdf -lcurl >&5
/usr/bin/ld: cannot find -lnetcdf
collect2: ld returned 1 exit status
i.e. it is failing to add -L… (and also -I…) in the gcc command line. The result is that the test fails, so it wrongly disables opendap.
I can work around it by adding setting variables CFLAGS=-I… and LDFLAGS=-L… explicitly, but these should have been implied by the NETCDF_INC and NETCDF_LIB variables which I set.
the NCO build system is not, err, overly robust. patches would be appreciated.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.