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

20030205: test file building perl-netcdf on standard RedHat 8



Roelof,

> To: address@hidden
> From: Roelof Burger <address@hidden>
> Subject: test file building perl-netcdf on standard RedHat 8
> Organization: ?

The above message contained the following:

> hi hope you can help me,
> make test failed with the following errors:
> 
> Checking last value of first record variable...make[2]: ***
> [test_dynamic] Segmentation fault

As far as I know, this problem only occurs on Linux 2.4.18 systems (such
as RedHat 8) with version 3.2 of the Gnu gcc compler and version 5.8 of
perl.  Unfortunately, we don't have the resources to investigate the
problem.

You might try a different version of gcc or perl, or just go ahead and
use the NetCDFPerl module -- it could be that you won't encounter the
problem in practice.

Good luck.

> thanks for the help
> roelof
> -- 
> http://theburgerweb.com <><
> 
...
> Linux pluto 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 i686 i386 GNU/Linux
> 
> File VERSION
> ------------
> 1.2.2
> 
> 
> File configure.log
> ------------------
> creating cache ./config.cache
> checking for manual-page index command... 
> checking for perl utility... /usr/bin/perl
> checking for perl manual page directory... /usr/local/man
> checking for value of perl POLLUTE variable... 0
> checking for neqn... neqn
> checking for tbl... tbl
> checking for C compiler... /usr/bin/gcc
> checking type of operating system... linux
> checking for tar flags... -chof
> checking for netCDF header-file... -I/usr/local/netcdf-3.5.0/include
> checking for netCDF library... -L/usr/local/man/../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
> 
> 
> File config.log
> ---------------
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
> 
> configure:635: checking for manual-page index command
> configure:686: checking for perl utility
> configure:694: checking for perl manual page directory
> configure:712: checking for value of perl POLLUTE variable
> configure:759: checking for neqn
> configure:791: checking for tbl
> configure:1132: checking for C compiler
> configure:1186: checking type of operating system
> configure:1263: checking for tar flags
> configure:1279: checking for netCDF header-file
> configure:1306: checking for netCDF library
> configure:1335: checking for package version
> 
> 
> File makefile.log
> -----------------
> cd perl && /usr/bin/perl Makefile.PL POLLUTE=0
> Checking if your kit is complete...
> Looks good
> Writing Makefile for NetCDF
> 
> File make.log
> --------------
> Please specify prototyping behavior for NetCDF.xs (see perlxs manual)
> make[1]: Entering directory `/usr/local/netcdf-perl-1.2.2/src'
> make[2]: Entering directory `/usr/local/netcdf-perl-1.2.2/src'
> 
> making `dynamic' in directory /usr/local/netcdf-perl-1.2.2/src/perl
> 
> make[3]: Entering directory `/usr/local/netcdf-perl-1.2.2/src/perl'
> /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
> gcc -c  -I/usr/local/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 -O2 -march=i386 -mcpu=i686   -DVERSION=\"1.2.2\" 
> -DXS_VERSION=\"1.2.2\" -fpic 
> "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"   NetCDF.c
> Running Mkbootstrap for NetCDF ()
> chmod 644 NetCDF.bs
> rm -f blib/arch/auto/NetCDF/NetCDF.so
> LD_RUN_PATH="/usr/local/man/../lib" gcc  -shared -L/usr/local/lib NetCDF.o  
> -o blib/arch/auto/NetCDF/NetCDF.so   -L/usr/local/man/../lib -lnetcdf  
> chmod 755 blib/arch/auto/NetCDF/NetCDF.so
> cp NetCDF.bs blib/arch/auto/NetCDF/NetCDF.bs
> chmod 644 blib/arch/auto/NetCDF/NetCDF.bs
> make[3]: Leaving directory `/usr/local/netcdf-perl-1.2.2/src/perl'
> 
> returning to directory /usr/local/netcdf-perl-1.2.2/src
> 
> make[2]: Leaving directory `/usr/local/netcdf-perl-1.2.2/src'
> make[1]: Leaving directory `/usr/local/netcdf-perl-1.2.2/src'
> test ! -f perl/so_locations || chmod a+w perl/so_locations
> 
> 
> file make test
> --------------
> make[1]: Entering directory `/usr/local/netcdf-perl-1.2.2/src'
> 
> making `test' in directory /usr/local/netcdf-perl-1.2.2/src/perl
> 
> make[2]: Entering directory `/usr/local/netcdf-perl-1.2.2/src/perl'
> cp NetCDF.pm blib/lib/NetCDF.pm
> AutoSplitting blib/lib/NetCDF.pm (blib/lib/auto/NetCDF)
> PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
> Creating netCDF file...........................ok
> Setting fill mode..............................ok
> Defining fixed dimensions......................ok
> Defining fixed variables.......................ok
> Writing global attribute.......................ok
> Writing variable attributes....................ok
> Defining record dimension......................ok
> Defining record variables......................ok
> Ending definition..............................ok
> Writing fixed variable values..................ok
> Synchronizing netCDF I/O.......................ok
> Writing record values..........................ok
> Closing netCDF file............................ok
> Opening netCDF file for reading................ok
> Inquiring about netCDF file....................ok
> Checking global attribute name.................ok
> Checking global attribute value................ok
> Getting second dimension ID....................ok
> Checking second dimension information..........ok
> Checking fixed variable ID.....................ok
> Checking fixed variable information............ok
> Checking last value of first record variable...make[2]: *** [test_dynamic] 
> Segmentation fault
> make[2]: Leaving directory `/usr/local/netcdf-perl-1.2.2/src/perl'
> make[1]: *** [perl/test] Error 1
> make[1]: Leaving directory `/usr/local/netcdf-perl-1.2.2/src'
> make: *** [test] Error 2
> 
> file install.log
> ----------------
> make[1]: Entering directory `/usr/local/netcdf-perl-1.2.2/src'
> make[2]: Entering directory `/usr/local/netcdf-perl-1.2.2/src'
> 
> making `install' in directory /usr/local/netcdf-perl-1.2.2/src/perl
> 
> make[3]: Entering directory `/usr/local/netcdf-perl-1.2.2/src/perl'
> Installing 
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/NetCDF/NetCDF.so
> Files found in blib/arch: installing files in blib/lib into architecture 
> dependent library tree
> Writing 
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/NetCDF/.packlist
> Appending installation info to 
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/perllocal.pod
> make[3]: Leaving directory `/usr/local/netcdf-perl-1.2.2/src/perl'
> 
> returning to directory /usr/local/netcdf-perl-1.2.2/src
> 
> make[2]: Leaving directory `/usr/local/netcdf-perl-1.2.2/src'
> make[1]: Leaving directory `/usr/local/netcdf-perl-1.2.2/src'
> make  installed_manuals MANDIR=/usr/local/man
> make[1]: Entering directory `/usr/local/netcdf-perl-1.2.2/src'
> make[2]: Entering directory `/usr/local/netcdf-perl-1.2.2/src'
> make[2]: Nothing to be done for `installed_manual'.
> make[2]: Leaving directory `/usr/local/netcdf-perl-1.2.2/src'
> make[1]: Leaving directory `/usr/local/netcdf-perl-1.2.2/src'

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