[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDFPerl #EAI-177889]: netcdf-perl 1.2.3 build problem
- Subject: [netCDFPerl #EAI-177889]: netcdf-perl 1.2.3 build problem
- Date: Thu, 07 May 2009 13:18:20 -0600
Charlie,
What's with all the French? :-)
What version of the netCDF package are you using?
> Yes, I have legacy scripts that use netcdf-perl.
> Can you help me get it built on my fully patched
> Ubuntu 9.04 Jaunty Jackalope x86_64 system?
>
> Any help appreciated,
> Charlie
>
> zender@givre:/data/zender/tmp/netcdf-perl-1.2.3/src$ gcc --version
> gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3
> zender@givre:/data/zender/tmp$ wget
> ftp://ftp.unidata.ucar.edu/pub/netcdf-perl/netcdf-perl.tar.Z
> --2009-05-07 09:17:49--
> ftp://ftp.unidata.ucar.edu/pub/netcdf-perl/netcdf-perl.tar.Z
> => `netcdf-perl.tar.Z'
>
> Résolution de ftp.unidata.ucar.edu... 128.117.149.64
>
> Connexion vers ftp.unidata.ucar.edu|128.117.149.64|:21... connecté.
>
> Ouverture de session en anonymous... Session établie!
>
> ==> SYST ... complété. ==> PWD ... complété.
>
> ==> TYPE I ... complété. ==> CWD /pub/netcdf-perl ... complété.
>
> ==> SIZE netcdf-perl.tar.Z ... 93929
>
> ==> PASV ... complété. ==> RETR netcdf-perl.tar.Z ... complété.
>
> Taille: 93929 (92K)
>
>
> 100%[=========================================================>] 93 929
> --.-K/s in 0,1s
>
> 2009-05-07 09:17:49 (697 KB/s) - « netcdf-perl.tar.Z » sauvegardé [93929]
>
> zender@givre:/data/zender/tmp$ tar -xzvf netcdf-perl.tar.Z
> netcdf-perl-1.2.3/src/COPYRIGHT
> netcdf-perl-1.2.3/src/CUSTOMIZE
> netcdf-perl-1.2.3/src/HISTORY
> netcdf-perl-1.2.3/src/INSTALL
> netcdf-perl-1.2.3/src/Makefile.in
> netcdf-perl-1.2.3/src/README
> netcdf-perl-1.2.3/src/VERSION
> netcdf-perl-1.2.3/src/aclocal.m4
> netcdf-perl-1.2.3/src/configure
> netcdf-perl-1.2.3/src/configure.in
> netcdf-perl-1.2.3/src/perl/MANIFEST
> netcdf-perl-1.2.3/src/perl/Makefile.PL.in
> netcdf-perl-1.2.3/src/perl/NetCDF.pm
> netcdf-perl-1.2.3/src/perl/NetCDF.xs
> netcdf-perl-1.2.3/src/perl/test.pl
> netcdf-perl-1.2.3/src/netCDFPerl.1
> netcdf-perl-1.2.3/src/port/COPYRIGHT
> netcdf-perl-1.2.3/src/port/Makefile.in
> netcdf-perl-1.2.3/src/port/master.mk.in
> netcdf-perl-1.2.3/src/port/acsite.m4
> zender@givre:/data/zender/tmp$ export PERL_MANDIR='/usr/man'
> zender@givre:/data/zender/tmp$ export CPP_NETCDF='-I/usr/local/include'
> zender@givre:/data/zender/tmp$ export LD_NETCDF='-L/usr/local/lib -lnetcdf'
> zender@givre:/data/zender/tmp$ cd netcdf-perl-1.2.3/src
> zender@givre:/data/zender/tmp/netcdf-perl-1.2.3/src$ ./configure
> creating cache ./config.cache
> checking for manual-page index command...
> checking for perl... perl
> checking for perl manual page directory... /usr/man
> checking for value of perl POLLUTE variable... 0
> checking for neqn... neqn
> checking for tbl... tbl
> checking for c89... c89
> checking type of operating system... linux
> checking for tar flags... -chof
> checking for netCDF header-file... -I/usr/local/include
> checking for netCDF library... -L/usr/local/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'
> zender@givre:/data/zender/tmp/netcdf-perl-1.2.3/src$ make
> make[1]: entrant dans le répertoire «
> /data/zender/tmp/netcdf-perl-1.2.3/src »
> make[2]: entrant dans le répertoire «
> /data/zender/tmp/netcdf-perl-1.2.3/src »
> cd perl && perl Makefile.PL POLLUTE=0
>
> Checking if your kit is complete...
>
> Looks good
>
> Writing Makefile for NetCDF
>
>
> making `dynamic' in directory /data/zender/tmp/netcdf-perl-1.2.3/src/perl
>
> make[3]: entrant dans le répertoire «
> /data/zender/tmp/netcdf-perl-1.2.3/src/perl »
> /usr/bin/perl /usr/share/perl/5.10/ExtUtils/xsubpp -typemap
> /usr/share/perl/5.10/ExtUtils/typemap NetCDF.xs > NetCDF.xsc && mv
> NetCDF.xsc NetCDF.c
> Please specify prototyping behavior for NetCDF.xs (see perlxs manual)
>
> cc -c -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN
> -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"1.2.3\"
> -DXS_VERSION=\"1.2.3\" -fPIC "-I/usr/lib/perl/5.10/CORE" NetCDF.c
>
> NetCDF.xs: In function ‘vec_print’:
>
> NetCDF.xs:1237: attention : format ‘%ld’ expects type ‘long int’, but
> argument 3 has type ‘nclong’
> NetCDF.xs: In function ‘constant’:
>
> NetCDF.xs:1641: erreur: ‘MAX_NC_OPEN’ undeclared (first use in this
> function)
> NetCDF.xs:1641: erreur: (Each undeclared identifier is reported only once
> NetCDF.xs:1641: erreur: for each function it appears in.)
> make[3]: *** [NetCDF.o] Erreur 1
> make[3]: quittant le répertoire «
> /data/zender/tmp/netcdf-perl-1.2.3/src/perl »
> make[2]: *** [perl/dynamic] Erreur 1
> make[2]: quittant le répertoire « /data/zender/tmp/netcdf-perl-1.2.3/src »
> make[1]: *** [decision] Erreur 2
> make[1]: quittant le répertoire « /data/zender/tmp/netcdf-perl-1.2.3/src »
> make: *** [all] Erreur 2
> zender@givre:/data/zender/tmp/netcdf-perl-1.2.3/src$ make test
> make[1]: entrant dans le répertoire «
> /data/zender/tmp/netcdf-perl-1.2.3/src »
>
> making `test' in directory /data/zender/tmp/netcdf-perl-1.2.3/src/perl
>
> make[2]: entrant dans le répertoire «
> /data/zender/tmp/netcdf-perl-1.2.3/src/perl »
> cp NetCDF.pm blib/lib/NetCDF.pm
> AutoSplitting blib/lib/NetCDF.pm (blib/lib/auto/NetCDF)
> cc -c -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN
> -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"1.2.3\"
> -DXS_VERSION=\"1.2.3\" -fPIC "-I/usr/lib/perl/5.10/CORE" NetCDF.c
> NetCDF.xs: In function ‘vec_print’:
> NetCDF.xs:1237: attention : format ‘%ld’ expects type ‘long int’, but
> argument 3 has type ‘nclong’
> NetCDF.xs: In function ‘constant’:
> NetCDF.xs:1641: erreur: ‘MAX_NC_OPEN’ undeclared (first use in this
> function)
> NetCDF.xs:1641: erreur: (Each undeclared identifier is reported only once
> NetCDF.xs:1641: erreur: for each function it appears in.)
> make[2]: *** [NetCDF.o] Erreur 1
> make[2]: quittant le répertoire «
> /data/zender/tmp/netcdf-perl-1.2.3/src/perl »
> make[1]: *** [perl/test] Erreur 1
> make[1]: quittant le répertoire « /data/zender/tmp/netcdf-perl-1.2.3/src »
> make: *** [test] Erreur 2
>
> --
> Charlie Zender, Department of Earth System Science
> University of California, Irvine (949) 824-2987 :)
Regards,
Steve Emmerson
Ticket Details
===================
Ticket ID: EAI-177889
Department: Support netCDF Perl
Priority: Normal
Status: Closed