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

20020322: netcdf-perl build: 'POLLUTE' not known to MakeMaker



Jonathan,

> From: "Jonathan E. Thom" <address@hidden>
> Subject: netcdf perl install
> Organization: Space Science and Engineering Center/UW-Madison
> Keywords: 200203221630.g2MGUaa13764 netCDF Perl

The above message contained the following:

> I am trying to install the netcdf perl package on a Sun ultra 10. I am
> having a little bit of a problem. If you could provide any sort of help
> that would be great. My netcdf package is installed in my home
> directory, not conventional, but it was the simplest to get it done
> quickly. The requested info is found below.
> 
> Thanks in advance,
> 
> Jonathan Thom
> UW-Madison/SSEC/Antarctic Automatic Weather Stations Group
> 
> A. uname -a
> 
> SunOS ice 5.6 Generic_105181-14 sun4u sparc SUNW,Ultra-5_10
> 
> B. VERSION
> 
> 1.2.1
> 
> C. which cc
> 
> /opt/SUNWspro/bin/cc
> 
> D. configure.log
> 
> loading cache ./config.cache
> checking for catman... (cached) catman
> checking for manual-page index command... catman -w -M $(MANDIR)
> checking for perl... perl
> checking for perl manual page directory... /usr/local/man
> checking for neqn... (cached) neqn
> checking for tbl... (cached) tbl
> checking for cc... (cached) cc
> checking type of operating system... sunos5
> checking for tar flags... -chof
> checking for netCDF header-file... -I/home/jthom/netcdf-3.5.0/include
> checking for netCDF library... -L/home/jthom/netcdf-3.5.0/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
> 
> E. 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:648: checking for perl
> configure:694: checking for perl manual page directory
> configure:746: checking for neqn
> configure:778: checking for tbl
> configure:1034: checking for cc
> 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
> 
> F. makefile.log
> 
> cd perl && perl Makefile.PL POLLUTE=1
> 'POLLUTE' is not a known MakeMaker parameter name.
> Writing Makefile for NetCDF

Hmm... You might have an old version of perl. What's the output from the
command "perl -V"?  Here's ours:

$ perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=solaris, osvers=2.6, archname=sun4-solaris
    uname='sunos zero.unidata.ucar.edu 5.6 generic_105181-20 sun4u sparc 
sunw,ultra-2 '
    config_args='-de'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define 
    use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
  Compiler:
    cc='cc', optimize='-O', gccversion=
    cppflags='-I/usr/local/include -I/opt/gnu/include'
    ccflags ='-I/usr/local/include -I/opt/gnu/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib -L/opt/gnu/lib 
-L/opt/SUNWspro/SC5.0/lib '
    libpth=/usr/local/lib /opt/gnu/lib /opt/SUNWspro/SC5.0/lib /lib /usr/lib 
/usr/ccs/lib
    libs=-lsocket -lnsl -lgdbm -ldl -lm -lc -lcrypt -lsec
    libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-KPIC', lddlflags='-G -L/usr/local/lib -L/opt/gnu/lib 
-L/opt/SUNWspro/SC5.0/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: USE_LARGE_FILES
  Built under solaris
  Compiled at Jul 21 2000 08:19:02
  @INC:
    /usr/local/lib/perl5/5.6.0/sun4-solaris
    /usr/local/lib/perl5/5.6.0
    /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris
    /usr/local/lib/perl5/site_perl/5.6.0
    /usr/local/lib/perl5/site_perl

> G.  make.log
> 
> cd perl && perl Makefile.PL POLLUTE=1
> 'CXX' is not a known MakeMaker parameter name.
> 'POLLUTE' is not a known MakeMaker parameter name.
> Writing Makefile for NetCDF
> 
> making `dynamic' in directory /home/jthom/netcdf-perl-1.2.1/src/perl
> 
> /opt/SUNWspro/bin/cc -c -I/home/jthom/netcdf-3.5.0/include
> -I/usr/local/include -O     -DVERSION=\"1.21\"  -DXS_VERSION=\"1.21\"
> -KPIC -I/usr/local/lib/perl5/5.00502/sun4-solaris/CORE  NetCDF.c
> *** Error code 2
> *** Error code 1
> *** Error code 1
> *** Error code 1

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