[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #UGD-926588]: Support for netCDF4 in Perl
- Subject: [netCDF #UGD-926588]: Support for netCDF4 in Perl
- Date: Mon, 10 Jan 2011 10:26:17 -0700
Cathy,
> I have the make.log file with the output from make netcdf attached.
The "make.log" file contained this:
Making all in libsrc
make[2]: Entering directory `/usr/local/src/netcdf-4.1.1/libsrc'
depbase=`echo v2i.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I.. -I../fortran -I/usr/local/include -I/usr/local/include
-I/usr/local/include -I/usr/local/include -m64 -MT v2i.lo -MD -MP -MF
$depbase.Tpo -c -o v2i.lo v2i.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../fortran
-I/usr/local/include -I/usr/local/include -I/usr/local/include
-I/usr/local/include -m64 -MT v2i.lo -MD -MP -MF .deps/v2i.Tpo -c v2i.c -fPIC
-DPIC -o .libs/v2i.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../fortran
-I/usr/local/include -I/usr/local/include -I/usr/local/include
-I/usr/local/include -m64 -MT v2i.lo -MD -MP -MF .deps/v2i.Tpo -c v2i.c -o
v2i.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CC --mode=link gcc -m64 -L/usr/local/lib -lcurl
-L/usr/kerberos/lib64 -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib
-L/usr/local/lib -o libnetcdf2.la v2i.lo
I don't see any support for large files in the compilation parameters. It would
seem odd that that would be the problem because the "-m64" option is specified.
Still, I recommend that you rebuild and reinstall the netCDF package with the
explicit support for large files that both the perl(1) and netCDF-Perl packages
experienced. You should be able to do this setting the variable CPPFLAGS while
executing the configure(1) script:
./configure ... CPPFLAGS='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' ...
> Cathy
>
> --
> ----------------------------------------------
> NOAA/ESRL PSD and CIRES CDC
> 303-497-6263
> http://www.esrl.noaa.gov/psd/people/cathy.smith/
>
> Emails about data/webpages may get quicker responses from emailing
> address@hidden
Regards,
Steve Emmerson
Ticket Details
===================
Ticket ID: UGD-926588
Department: Support netCDF Perl
Priority: Normal
Status: Closed