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

20021101: netcdf-perl make fails: perl 5.8.0 & SunOS 5.7



Nate,

> To: address@hidden
> From: Nate Huffnagle <address@hidden>
> Subject: netcdf-perl make fails
> Organization: UCAR/Unidata

The above message contained the following:

> uname: SunOS coast 5.7 Generic_106541-21 sun4u sparc SUNW,Ultra-Enterprise
> VERSION: 1.2.1
> C compiler: gcc (GCC) 3.1
> perl: This is perl, v5.8.0 built for sun4-solaris-thread-multi
> netcdf: netcdf-3.5.0
> 
> The make fails. We used gcc to compile the newer version of perl. Using
> the cc compiler gives the same errors. Same errors using netcdf-3.4 header 
> files. It will compile using an older version of perl (version 5.005_02 
> built for sun4-solaris-thread).

Sounds like a problem with the version of perl that you're using.

Unfortunately, we don't have perl 5.8.0 installed yet. I'll have to find
a copy or install one in order to investigate your problem.

I'll let you know.

> configure.log:
> **************************************************************************
> creating cache ./config.cache
> checking for catman... catman
> checking for manual-page index command... catman -w -M $(MANDIR)
> checking for perl utility... /apps/perl5/bin/perl
> checking for perl manual page directory... /apps/man
> checking for neqn... neqn
> checking for tbl... tbl
> checking for C compiler... /apps/gcc/bin/gcc
> checking type of operating system... sunos5
> checking for tar flags... -chof
> checking for netCDF header-file... -I/apps/include
> checking for netCDF library... -L/apps/lib -lnetcdf 
> checking for package version... 1.2
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> creating perl/Makefile.PL
> creating port/master.mk
> creating port/Makefile
> expanding `include's in file `Makefile'
> expanding `include's in file `perl/Makefile.PL'
> expanding `include's in file `port/master.mk'
> expanding `include's in file `port/Makefile'
> **************************************************************************
> 
> config.log:
> **************************************************************************
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
> 
> configure:593: checking for catman
> configure:635: checking for manual-page index command
> configure:686: checking for perl utility
> configure:694: checking for perl manual page directory
> configure:746: checking for neqn
> configure:778: checking for tbl
> configure:1119: checking for C compiler
> configure:1173: checking type of operating system
> configure:1250: checking for tar flags
> configure:1266: checking for netCDF header-file
> configure:1293: checking for netCDF library
> configure:1322: checking for package version
> **************************************************************************
> 
> makefile.log
> **************************************************************************
> Checking if your kit is complete...
> Looks good
> Writing Makefile for NetCDF
> **************************************************************************
> 
> make.log:
> **************************************************************************
> making `dynamic' in directory /home/nate/src/netcdf-perl-1.2.1/src/perl
> 
> /apps/perl5/bin/perl /apps/perl5/lib/5.8.0/ExtUtils/xsubpp  -typemap 
> /apps/perl5/lib/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/apps/include  -D_REENTRANT -fno-strict-aliasing 
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSOCKS -DSOCKS -DSOCKS -DSOCKS 
> -DSOCKS -DPERL_POLLUTE -O    -DVERSION=\"^A^B^A\"  -DXS_VERSION=\"^A^B^A\" 
> -fPIC "-I/apps/perl5/lib/5.8.0/sun4-solaris-thread-multi/CORE"   NetCDF.c
> NetCDF.xs: In function `XS_NetCDF_inquire':
> NetCDF.xs:1825: parse error before '(' token
> NetCDF.xs: In function `XS_NetCDF_varinq':
> NetCDF.xs:1963: parse error before '(' token
> *** Error code 1
> make: Fatal error: Command failed for target `NetCDF.o'
> Current working directory /home/nate/src/netcdf-perl-1.2.1/src/perl
> *** Error code 1
> make: Fatal error: Command failed for target `perl/dynamic'
> Current working directory /home/nate/src/netcdf-perl-1.2.1/src
> *** Error code 1
> make: Fatal error: Command failed for target `decision'
> Current working directory /home/nate/src/netcdf-perl-1.2.1/src
> *** Error code 1
> make: Fatal error: Command failed for target `all'
> *******************************************************************************

Regards,
Steve Emmerson   <http://www.unidata.ucar.edu>