[ncl-install] error compiling ncl/ncar graphics (missing hdf files?)

Anat Baharad baharad at post.tau.ac.il
Thu Jan 12 07:33:31 MST 2012


Hi all,

 

i am trying to install ncl & ncar graphics (ncl_ncarg-6.0.0),
unsuccessfully.

some of it was installed, some is missing.

 

when i try to run "idt gmeta" i get the following error:

 

reading stdout of translator: Resource temporarily unavailable

Translator aborted

 

i checked $NCARG_ROOT/bin and  i do not have ctrans or ictrans.

 

the compilation output got several warning and errors, here is the first
group of errors:

gcc -ansi -fPIC  -O  -I../../../.././include -I/usr/include/freetype2
-I/usr/include -I/usr/local/include   -DBuildRasterHDF -DLINUX
-DBuildRasterHPPCL -DBuildRasterNrif -DBuildRasterSun
-DBuildRasterXWD  -DBuildRasterAVS -DBuildRasterSGI
-DBuildRasterAbekas  -DBuildRasterBinary -DBuildRasterYUV
-DNGTMPDIR='"tmp"' -Dx86_64 -DIBM -DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE
-DByteSwapped -DNeedFuncProto    -c -o hdf.o hdf.c
hdf.c:54:21: error: hdf/hdf.h: No such file or directory
hdf.c:55:20: error: hdf/df.h: No such file or directory
hdf.c:56:22: error: hdf/dfgr.h: No such file or directory
hdf.c: In function 'HDFOpen':
hdf.c:119: error: 'int32' undeclared (first use in this function)
hdf.c:119: error: (Each undeclared identifier is reported only once
hdf.c:119: error: for each function it appears in.)
hdf.c:119: error: expected expression before ')' token
hdf.c:127: error: expected expression before ')' token
hdf.c: In function 'HDFWrite':
hdf.c:314: error: 'DFTAG_RLE' undeclared (first use in this function)
hdf.c:328: error: 'VOIDP' undeclared (first use in this function)
hdf.c:328: error: expected ')' before 'ras'
hdf.c:333: error: expected ')' before 'ras'
hdf.c:347: error: expected ')' before 'ras'
hdf.c:353: error: expected ')' before 'ras'
hdf.c: In function 'HDFRead':
hdf.c:428: error: 'VOIDP' undeclared (first use in this function)
hdf.c:428: error: expected ')' before 'ras'
make[5]: *** [hdf.o] Error 1

 

and here is one of the warnings, about libctrans:

Making Makefiles in ./ncarview/src/lib/libctrans
In file included from ../../../.././config/Template:877,
                 from <stdin>:2:
./ymake.tmp2114:22: warning: extra tokens at end of #endif directive
./ymake.tmp2114:28: warning: extra tokens at end of #endif directive

 

what am i missing? where should i find hdf.h, df.h, dfgr.h?

any help will be appreciate!

thanks,

Anat

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20120112/6d2c4fcf/attachment.html 


More information about the ncl-install mailing list