[Thread Prev][Thread Next][Index]
RE: LAS install problems with netcdf-perl module
Jerome,
You may want to try the netcdf-perl 1.2.3 RPM distribution at:
http://home.badc.rl.ac.uk/iwi/netcdf-perl/
That one worked well for me.
Mike
-----Original Message-----
From: Jerome King [mailto:jejeking@hotmail.com]
Sent: Monday, September 13, 2004 2:06 PM
To: oar.pmel.las_users@noaa.gov
Subject: LAS install problems with netcdf-perl module
Hi all,
I have been having lots of problems with the perl modules especially the
netcdf-perl module.
I am using RedHat 9.0 and also Fedora Core II.
When I installed LAS for the first time, I got a bunch of perl modules that
did not get installed so I went through CPAN and got most of them installed
or "force" install.
However, the netcdf-perl module is not offered through CPAN. So I went
directly under /usr/local/laslxml/perl/module and found the netcdf-perl
directory there and tried to install it from there. It did not work since
it was looking for some netcdf header and library files so I installed the
Netcdf package netcdf-3.5.1 and then tried to compile the netcdf-perl module
again. I was able to point the compile towards the netcdf.h header file but
the netcdf library seem to be a big problem. I can't get "make" to compile
correctly.
these are the links I use:
netcdf header:
-I/usr/local/netcdf-3.5.1/include
netcdf libraries:
-L/usr/local/netcdf-3.5.1/lib -lnetcdf
I get the same error reported by Bob Yu a year ago:
make[1]: Entering directory
`/usr/local/las/xml/perl/modules/netcdf-perl-1.2.1'
make[2]: Entering directory
`/usr/local/las/xml/perl/modules/netcdf-perl-1.2.1'
making `dynamic' in directory
/usr/local/las/xml/perl/modules/netcdf-perl-1.2.1/perl
make[3]: Entering directory
`/usr/local/las/xml/perl/modules/netcdf-perl-1.2.1/perl'
gcc -c -I/usr/local/netcdf-3.5.1/include -D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-DPERL_POLLUTE -O2 -g -pipe -march=i386 -mcpu=i686 -DVERSION=\"\"
-DXS_VERSION=\"\" -fPIC
"-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" NetCDF.c
NetCDF.xs: In function `XS_NetCDF_inquire':
NetCDF.xs:1825: parse error before '(' token
NetCDF.xs:1829: `rd' undeclared (first use in this function)
NetCDF.xs:1829: (Each undeclared identifier is reported only once
NetCDF.xs:1829: for each function it appears in.)
NetCDF.xs: In function `XS_NetCDF_varinq':
NetCDF.xs:1962: parse error before '(' token
make[3]: *** [NetCDF.o] Error 1
make[3]: Leaving directory
`/usr/local/las/xml/perl/modules/netcdf-perl-1.2.1/perl'
make[2]: *** [perl/dynamic] Error 1
make[2]: Leaving directory
`/usr/local/las/xml/perl/modules/netcdf-perl-1.2.1'
make[1]: *** [decision] Error 2
make[1]: Leaving directory
`/usr/local/las/xml/perl/modules/netcdf-perl-1.2.1'
make: *** [all] Error 2
I tried to get in touch with Bob but my emails bounced back.
Does anyone encountered this problem with the netcdf-perl module and solved
it?
Any help would be very appreciated!
Thanks a lot!
Jerome.
Jerome King
Associate Specialist II
Institute of Marine Sciences
CIMT
Lab phone number: (831) 459-2876.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement