RE: [ncl-install] NCL Source Install Document Misprint?

From: Huber, David <dbh409_at_nyahnyahspammersnyahnyah>
Date: Tue May 25 2010 - 12:00:10 MDT

Hi Mary,

Thanks for the confirmation. I did get HDF-EOS 5 to install, but it required a little extra effort. I ran the script you suggested, bin/INSTALL_HDFEOS, and input the information about the location of various libraries and include directories, but once it started building I received the following:

Building HDFEOS5

-----------------------------------------------------------------------

make[1]: Entering directory `/home/dbh409/hdfeos5/src'
gcc -O -ansi -DH5_USE_16_API -Df2cFortran -DLINUX64 -I. -I/home/dbh409/hdfeos5/include -I/usr/local/include -c EHapi.c -o /home/dbh409/hdfeos5/obj/linux64/EHapi.o
gcc -O -ansi -DH5_USE_16_API -Df2cFortran -DLINUX64 -I. -I/home/dbh409/hdfeos5/include -I/usr/local/include -c TSapi.c -o /home/dbh409/hdfeos5/obj/linux64/TSapi.o
gcc -O -ansi -DH5_USE_16_API -Df2cFortran -DLINUX64 -I. -I/home/dbh409/hdfeos5/include -I/usr/local/include -c PTapi.c -o /home/dbh409/hdfeos5/obj/linux64/PTapi.o
gcc -O -ansi -DH5_USE_16_API -Df2cFortran -DLINUX64 -I. -I/home/dbh409/hdfeos5/include -I/usr/local/include -c GDapi.c -o /home/dbh409/hdfeos5/obj/linux64/GDapi.o
gcc -O -ansi -DH5_USE_16_API -Df2cFortran -DLINUX64 -I. -I/home/dbh409/hdfeos5/include -I/usr/local/include -c SWapi.c -o /home/dbh409/hdfeos5/obj/linux64/SWapi.o
gcc -O -ansi -DH5_USE_16_API -Df2cFortran -DLINUX64 -I. -I/home/dbh409/hdfeos5/include -I/usr/local/include -c ZAapi.c -o /home/dbh409/hdfeos5/obj/linux64/ZAapi.o
ar -r /home/dbh409/hdfeos5/lib/linux64/libhe5_hdfeos.a /home/dbh409/hdfeos5/obj/linux64/EHapi.o /home/dbh409/hdfeos5/obj/linux64/TSapi.o /home/dbh409/hdfeos5/obj/linux64/PTapi.o /home/dbh409/hdfeos5/obj/linux64/GDapi.o /home/dbh409/hdfeos5/obj/linux64/SWapi.o /home/dbh409/hdfeos5/obj/linux64/ZAapi.o
make[1]: Leaving directory `/home/dbh409/hdfeos5/src'

-----------------------------------------------------------------------

Cleaning up

-----------------------------------------------------------------------

rm -f *.o /home/dbh409/hdfeos5/obj/linux64/*.o

-----------------------------------------------------------------------

Building HDFEOS5 utilities

-----------------------------------------------------------------------

make[1]: Entering directory `/home/dbh409/hdfeos5/util'
 
 
 --- ERROR: One or more of the environment variables HDFINC,
 --- HDF5INC, HDFEOS5_INC, SZIPINC, HDFLIB, HDF5LIB, HDFEOS5_LIB,
 --- SZIPLIB has not been set. Failed building utility executable.
 
make[1]: Leaving directory `/home/dbh409/hdfeos5/util'
chmod: cannot access `/home/dbh409/hdfeos5/bin/linux64/HE5_GDconvert_ij2ll': No such file or directory

-----------------------------------------------------------------------

    HDFEOS5 installation ending at Tue May 25 12:52:24 CDT 2010

-----------------------------------------------------------------------

What I ended up doing was manually setting each of the variables, HDFINC etc, to the respective locations. After that, it worked.

Thanks,

David

-----Original Message-----
From: Mary Haley [mailto:haley@ucar.edu]
Sent: Tue 5/25/2010 9:57 AM
To: Huber, David
Cc: ncl-install@ucar.edu
Subject: Re: NCL Source Install Document Misprint?
 
Hi David,

Sorry for the confusion. This should read "HDF-EOS 5" and not "GDAL". I'll fix this shortly.

Meanwhile, were you able to get HDF-EOS 5 built? Sometimes if I have problems with the below method,
I try using the "bin/INSTALL_HDFEOS" method.

You run this script:

    bin/INSTALL_HDFEOS

and answer some questions about where your HDF5 and SZIP libraries and include files reside.
From there it will try to do the build based on your environment settings (if any) for CFLAGS, CC, CPPFLAGS, etc.

--Mary

On May 20, 2010, at 9:25 PM, Huber, David wrote:

> Hello,
> I'm working through the "How to build NCL and NCAR Graphics from source code" document on the website, and I noticed something peculiar. Under the section "HDF-EOS 5 software" there is a step stating:
>
>
> Once you have the GDAL source code, you can build and install it with:
>
> ./configure --with-hdf5=/usr/local --with-zlib=/usr/local --with-szlib=/usr/local --prefix=/usr/local
> make all install
>
>
> Since this section is not for GDAL, I thought it odd that I should be compiling GDAL, so I assume this is actually supposed to read "Once you have the hdf5-eos source code..."
>
> However, following these instructions, I am unable to compile hdf-eos. Ironically, the only other supporting package I was unable to compile was GDAL! Can someone please clarify this for me?
>
> Thanks,
>
> DH
>
>
>
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Tue May 25 12:00:27 2010

This archive was generated by hypermail 2.1.8 : Wed May 26 2010 - 10:38:09 MDT