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

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


> 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 
-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

Steve Emmerson

Ticket Details
Ticket ID: TEF-403629
Department: Support netCDF Perl
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.