[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20030306: NetCDFperl INSTALL problem: RedHat Linux
- Subject: 20030306: NetCDFperl INSTALL problem: RedHat Linux
- Date: Fri, 07 Mar 2003 15:58:13 -0700
Bob,
>Date: Fri, 07 Mar 2003 17:40:56 -0500
>From: Bob Yu <address@hidden>
>Organization: NASA/GSFC
>To: Steve Emmerson <address@hidden>,
>To: address@hidden,
>To: address@hidden
>Subject: Re: 20030306: NetCDFperl INSTALL problem <address@hidden>
The above message contained the following:
> Thanks for the response.
>
> 1) The /model/yuy/netcdf-3.5.0/lib/libnetcdf.a does exist.
>
> Anyways, I now tried to install it on LINUX box (I will stick on LINUX
> for the installation). This time, I got errors again. Here are the info
> you may need for the help:
>
> A) uname -a: Linux aquarius1.gsfc.nasa.gov 2.4.18-26.8.0 #1 Mon Feb 24
> 10:21:42 EST 2003 i686 i686 i386 GNU/Linux
>
> B) VERSION: 1.2.1
>
> c) which cc : /usr/bin/cc (it is actually a link to /usr/bin/gcc)
>
> D, E, H, G) see the attached files.
>
> The error appears at "make" step, compiling the NetCDF.c process. This
> is the error from make.log file:
>
> "/usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap
> /usr/lib/perl5/5.8.0/ExtUtils/typemap NetCDF.xs > NetCDF.xsc && mv
> NetCDF.xsc NetCDF.c
> Please specify prototyping behavior for NetCDF.xs (see perlxs manual)
> gcc -c -I/home/yuy/netcdf-3.5.0/include -D_REENTRANT -D_GNU_SOURCE
> -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -I/usr/include/gdbm -DPERL_POLLUTE -O2 -march=i386 -mcpu=i686
> -DVERSION=\"^A^B^A\"
> -DXS_VERSION=\"^A^B^A\" -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
This problem has been reported before.
Please go to
<http://www.unidata.ucar.edu/cgi-bin/msgout?/glimpse/netcdf-perl/126>
to see my resonse and a possible work-around for your situation.
Please let me know if this helps.
Regards,
Steve Emmerson <http://www.unidata.ucar.edu>