[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #OIY-321184]: problems installing netcdf



Hello Tamara,

It appears that the compiler is unable to find the include header file 
`hdf5_hl.h` that it is looking for.  This file will typically exist in 
/usr/include/, /usr/local/include, or some other user-specified place.  You 
would inform the compiler about this location using the `CFLAGS` directive when 
running configure, e.g.:

    $ CFLAGS="-I/usr/local/include" ./configure

This assumes that your hdf5 install was built with the high-level interface 
enabled; this is done when configuring hdf5 with the `--enable-hl` option.

Can you confirm that the hdf5_hl.h header file exists on your system? If so, if 
you can provide the location, I can provide you a specific command to ensure 
that it is on the path.  If the file does not exist, you will need to reinstall 
hdf5 using the `--enable-hl` function.

I hope this helps!

-Ward


> Hi,
> 
> I have been trying for several days to install the library and keep
> get ting error messages. I finally found out that for Centos I need to
> install netcdf c and then netcdf fortran but I have been trying so many
> things that i got lost now.
> 
> I don/t have many things installed in my server, but have been trying
> fro m repositories, to direct installation. When I yum it, I don´t seem
> to ha ve it working (it doesn't create the directories it's supposed to).
> 
> configure goes alright, not the same with make. this is all I can get
> (I am installing netcdf c now):
> 
> 
> [root@venus2 netcdf-4.4.1]# make
> make  all-recursive
> make[1]: Entering directory `/var/tamara/netcdf-4.4.1'
> Making all in include
> make[2]: Entering directory `/var/tamara/netcdf-4.4.1/include'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/var/tamara/netcdf-4.4.1/include'
> Making all in oc2
> make[2]: Entering directory `/var/tamara/netcdf-4.4.1/oc2'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/var/tamara/netcdf-4.4.1/oc2'
> Making all in h5_test
> make[2]: Entering directory `/var/tamara/netcdf-4.4.1/h5_test'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/var/tamara/netcdf-4.4.1/h5_test'
> Making all in libdispatch
> make[2]: Entering directory `/var/tamara/netcdf-4.4.1/libdispatch'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/var/tamara/netcdf-4.4.1/libdispatch'
> Making all in libsrc
> make[2]: Entering directory `/var/tamara/netcdf-4.4.1/libsrc'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/var/tamara/netcdf-4.4.1/libsrc'
> Making all in libsrc4
> make[2]: Entering directory `/var/tamara/netcdf-4.4.1/libsrc4'
> /bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  
> -I../include -I../oc2      -MT libnetcdf4_la-nc4file.lo -MD -MP -MF 
> .deps/libnetcdf4_la-nc4file.Tpo -c -o libnetcdf4_la-nc4file.lo `test -f 
> 'nc4file.c' || echo './'`nc4file.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../oc2 -MT 
> libnetcdf4_la-nc4file.lo -MD -MP -MF .deps/libnetcdf4_la-nc4file.Tpo -c 
> nc4file.c  -fPIC -DPIC -o .libs/libnetcdf4_la-nc4file.o
> nc4file.c: In function 'nc4_open_file':
> nc4file.c:2322: error: 'H5LT_FILE_IMAGE_DONT_COPY' undeclared (first use in 
> this function)
> nc4file.c:2322: error: (Each undeclared identifier is reported only once
> nc4file.c:2322: error: for each function it appears in.)
> nc4file.c:2322: error: 'H5LT_FILE_IMAGE_DONT_RELEASE' undeclared (first use 
> in this function)
> make[2]: *** [libnetcdf4_la-nc4file.lo] Error 1
> make[2]: Leaving directory `/var/tamara/netcdf-4.4.1/libsrc4'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/var/tamara/netcdf-4.4.1'
> make: *** [all] Error 2
> 
> can you please help? I need the libraries to run Fall3d and it doesn't
> seem to work.
> 
> Thanks!!!
> 
> Tamara.-
> 
> 


Ticket Details
===================
Ticket ID: OIY-321184
Department: Support netCDF
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.