This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Jonathan, >Date: Fri, 22 Mar 2002 12:39:57 -0600 >From: "Jonathan E. Thom" <address@hidden> >Organization: Space Science and Engineering Center/UW-Madison >To: Steve Emmerson <address@hidden> >Subject: Re: 20020322: netcdf-perl build: 'POLLUTE' not known to MakeMaker >Keywords: 200203221630.g2MGUaa13764 The above message contained the following: > Here is the output from perl -V > > Summary of my perl5 (5.0 patchlevel 5 subversion 2) configuration: > Platform: > osname=solaris, osvers=2.6, archname=sun4-solaris > uname='sunos 5.6 generic_105181-06 sun4u sparc sunw,ultra-1 ' > hint=recommended, useposix=true, d_sigaction=define > usethreads=undef useperlio=undef d_sfio=undef > Compiler: > cc='gcc', optimize='-O', gccversion=2.8.1 > cppflags='-I/usr/local/include' > ccflags ='-I/usr/local/include' > 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 > alignbytes=8, usemymalloc=y, prototype=define > Linker and Libraries: > ld='gcc', ldflags =' -L/usr/local/lib' > libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib > libs=-lsocket -lnsl -ldb -ldl -lm -lc -lcrypt > libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a > Dynamic Linking: > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' > cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib' > > > Characteristics of this binary (from libperl): > Built under solaris > Compiled at Jan 2 1999 04:29:40 > @INC: > /usr/local/lib/perl5/5.00502/sun4-solaris > /usr/local/lib/perl5/5.00502 > /usr/local/lib/perl5/site_perl/5.005/sun4-solaris > /usr/local/lib/perl5/site_perl/5.005 Well, I don't see anything that would cause a problem. But that might indicate ignorance rather than confidence. In general, it's a good idea to use the same compiler to build the netCDF, perl, and netCDFPerl packages. You might try using "gcc" to build the netCDF and netCDFPerl packages. You also might try upgrading your perl to the latest version and building it with the same compiler that built the netCDF package. You might also try executing the failed compilation command from your previous email manually to see if you get a better error message that just "*** Error code 2". The failed command is /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 Execute it in the perl/ subdirectory. Regards, Steve Emmerson <http://www.unidata.ucar.edu>