[Thread Prev][Thread Next][Index]

installing on sun-os 8



Hello,

I am still in the process of installing LAS 6.3 on a sun/solaris system.
Please, I would need some help.

When installing netcdf module, I get the following error:

========================================
AutoSplitting blib/lib/NetCDF.pm (blib/lib/auto/NetCDF)
/space/ActivePerl-5.6/bin/perl
-I/space/ActivePerl-5.6/lib/5.6.1/sun4-solaris-thread-multi
-I/space/ActivePerl-5.6/lib/5.6.1 /space/ActivePerl-5.6/lib/5.6.1/ExtUtils/xsubpp
-typemap /space/ActivePerl-5.6/lib/5.6.1/ExtUtils/typemap NetCDF.xs > NetCDF.xsc && mv
NetCDF.xsc NetCDF.c
Please specify prototyping behavior for NetCDF.xs (see perlxs manual)
gcc -c -I/usr/local/include -DUSE_REENTRANT_API -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_POLLUTE  -O
-DVERSION=\"\" -DXS_VERSION=\"\" -fPIC
-I/space/ActivePerl-5.6/lib/5.6.1/sun4-solaris-thread-multi/CORE  NetCDF.c
NetCDF.xs: In function `XS_NetCDF_inquire':
NetCDF.xs:1825: parse error before `('
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 `('
make: *** [NetCDF.o] Error 1
Searching for required Perl modules...

Installation of following modules failed:
netcdf-perl-1.2.1
========================================

It appears that in the C code in NetCDF.xs, a variable named "na" is declared as
integer.
"na" is also a macro defined in  the standard Perl include file"embed.h",
thus generating a conflict.

Is this a bug in NetCDF.xs or did I install Perl incorrectly  (Active Perl 5.6) ?

Is it related to the message:
   "Please specify prototyping behavior for NetCDF.xs (see perlxs manual)"?
(I guess not)

Jean-Marie



[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement