bug report re build

Alan Iwi
  • Alan Iwi

    Alan Iwi - 2011-01-11

    Trying to build snapshot downloaded 10 Jan 2010.

    After doing:
    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.

  • Charlie Zender

    Charlie Zender - 2011-02-06

    the NCO build system is not, err, overly robust. patches would be appreciated.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks