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

[netCDFPerl #EAI-177889]: netcdf-perl 1.2.3 build problem



Charlie,

It looks like, with netCDF-4, that you have to specify the HDF5 
include-directory and library-directory as well as the netCDF ones to the 
configure(1) script.  On my Linux workstation, I did this:

(reverse-i-search)`./con': PERL_MANDIR=/usr/share/man 
CPP_NETCDF='-I/upc/netcdf-4/include -I/usr/local/include' 
LD_NETCDF='-L/upc/netcdf-4/lib -lnetcdf -L/usr/local/lib -lhdf5 -lhdf5_hl' 
./configure &>configure.log && echo OK

So, try this:

1. Execute a "make distclean".
2. Execute the configure(1) script with CPP_NETCDF and LD_NETCDF modified to 
reference your HDF5 installation.
3. Execute the "make" and "make test".
4. Execute the "make install" (probably as root in order to install into the 
perl(1) installation).

Let me know.

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: EAI-177889
Department: Support netCDF Perl
Priority: Normal
Status: Closed