Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

[netcdfgroup] netcdf.pc generation bugs [Was: Linking failure with 4.0.1 on Debian sid]

In 4.0.1 there are a couple of minor bugs:

--- configure.ac.orig   2009-09-27 11:20:39.000000000 +0200
+++ configure.ac        2009-09-27 11:20:11.000000000 +0200
@@ -1159,7 +1159,7 @@
 fi
 if test "x$enable_netcdf_4" = xyes ; then 
    if test "x$HDF5DIR" != x ; then 
-      NC_LIBS="$NC_LIBS -L$HDF5DIR"
+      NC_LIBS="$NC_LIBS -L$HDF5DIR/lib"
    fi
    NC_LIBS="$NC_LIBS -lhdf5_hl -lhdf5 $SZLIB_LIBS"
    if test "x$ZLIBDIR" != x ; then 

and netcdf.pc.in uses an unexistent @FLIBS@ autoconf var which
is obviously never substituted and so copied literally in the
resulting netcdf.pc.

Cheers

-- 
Francesco P. Lovergine



  • 2009 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: