NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

[netcdfgroup] mfhdf.h not found even though it's present

Hi there,

I am trying to compile netcdf4.1.1 on an Ubuntu 10.04 amd64 box. I'm 
using the dpkg-buildpackage command, which in call calls ./configure::

    ./configure --enable-netcdf4 --enable-hdf4 --enable-cxx-4

During the conftests, I get the following error:

    | #include <mfhdf.h>
    configure:25870: result: no
    configure:25870: checking for mfhdf.h
    configure:25870: result: no
    configure:25883: error: Cannot find mfhdf.h, yet --enable-hdf4 was
used.

However, mfhdf.h is present in /usr/include/hdf::

    $ find /usr/include/ | grep mfhdf.h
    /usr/include/hdf/mfhdf.h

I suppose the problem is that mfhdf.h is in /usr/include/hdf, while 
libmfhdf.* is in /usr/lib. How can I fix this?

Thanks for your insight,

Andreas.






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