Re: trouble building 4.4.2 with hdf

From: Rick Grubin <grubin_at_nyahnyahspammersnyahnyah>
Date: Thu, 19 Jul 2007 15:35:05 -0600

Hi David

> I'm trying to build ncar graphics [...] Our previous installation
> (4.4.0)

Indeed, a bit older than current, which is NCAR Graphics v4.4.2:
http://ngwww.ucar.edu

> Here is the problem I am encountering --
>
> In 4.4.0 ncarview/src/lib/libncarg_ras/hdf.c there are these lines:
>
> #include <hdf.h>
> #include <dfgr.h>
>
> In 4.4.2 ncarview/src/lib/libncarg_ras/hdf.c there are these lines:
>
> #include <hdf/hdf.h>
> #include <hdf/df.h>
> #include <hdf/dfgr.h>
>
> I have provided a valid include search path during config; the
> above three #include statements assume a directory structure that
> does not
> exist in our HDF installation. This seems like a bug to me.

In the time since your current version of NCAR Graphics was
installed, some changes to the expected supporting directory
structure have been made. As you note, the NCAR Graphics build
process is expecting to find HDF include files in a
directory structure of the form

     .../hdf/{hdf.h, dfgr.h, df.h}

This is noted on the NCAR Graphics Installation Notes web page for
installing from source code:

     http://www.ncarg.ucar.edu/ng/installsrc.html

There you'll find a note about HDF and what NCAR Graphics expects in
terms of version, installation, and such:

     http://www.ncarg.ucar.edu/ng/installsrc.html#GetHDF

You don't say what version of HDF you're using; we suggest HDF
4.2r1. When installing HDF, you may specify the location
of installed header files at configuration time.

Please contact me or the group if you have further questions.

-Rick.
----
Rick Grubin NCAR/TDD/CISL/VETS
Visualization + Enabling Technologies
grubin_at_ucar.edu 303.497.1832

_______________________________________________
ncarg-talk mailing list
ncarg-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
Received on Thu Jul 19 2007 - 15:35:05 MDT

This archive was generated by hypermail 2.2.0 : Fri Jul 27 2007 - 08:08:36 MDT