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

[netCDFPerl #TEF-403629]: installing netCDF Perl -1.2.4 version



Shakti,

> I here attach file where i did coy and paste whole  information  after
> executing  the make option. Please find the attachment file  with name
> "Netcdf_perl_problems.odt".

The "make.log" contained this:

cc -c  -I/usr/local/unidata/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN 
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"1.2.4\" 
-DXS_VERSION=\"1.2.4\" -fPIC "-I/usr/lib/perl/5.10/CORE"   NetCDF.c
NetCDF.xs:25:20: error: netcdf.h: No such file or directory

The build procedure doesn't know where your netCDF installation is. Before 
executing the "configure" script, set the environment variable CPP_NETCDF to 
reference the directory that contains the netCDF netcdf-file, "netcdf.h" (e.g., 
"-I/usr/local/include"). Also, set the environment variable LD_NETCDF to 
reference the installed netCDF library (e.g., "-L/usr/local/lib -Lnetcdf"). 
Then, execute the configure script and the rest of the installation steps.

> Thank you!
> 
> Shakti

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: TEF-403629
Department: Support netCDF Perl
Priority: Normal
Status: Closed