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

20010313: Installation of NetCDF-perl-1.2.1

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.


  • Subject: 20010313: Installation of NetCDF-perl-1.2.1
  • Date: Tue, 13 Mar 2001 14:09:08 -0700

Alford,

> To: "'address@hidden'" <address@hidden>
> From: "Alford, Glennette R" <address@hidden>
> Subject: Installation of NetCDF-perl-1.2.1
> Organization: UCAR/Unidata
> Keywords: 200103131940.f2DJeZL13393

The above message contained the following:

> I attempted to install the above software onto a Sun computer.  The test
> installation aborted with the error indicated.  
> I noticed that your instructions refers to a "cc" or "acc" compiler.  On our
> system we have a "gcc" compiler.  Do we
> have to install the "cc" compiler?  Your assistance as to the reason for the
> error is greatly appreciated.

In general, you'll need to use the same compiler that was used to build
your perl utility.  If that compiler was "gcc", then you should be OK.

>       A.  SunOS hihan 5.7 Generic_106541-07 Sun4d sparc SUNW, SPARC
> server-1000
> 
>       B.  Version is 1.2.1
> 
>       C.  No "cc" compiler.  We have "gcc"
> 
>          <<configure.log>>  <<test.log>>  <<make.log>>  <<makefile.log>>  
> <<install.log>> 
> 
> 
> ------_=_NextPart_000_01C0ABF0.79B17E70
> Content-Type: application/octet-stream;
>       name="configure.log"
> Content-Disposition: attachment;
>       filename="configure.log"
> 
> loading cache ./config.cache
> checking for catman... (cached) catman
> checking for manual-page index command... catman -w -M $(MANDIR)
> checking for perl utility... /usr/local/bin/perl
> checking for perl manual page directory... /usr/local/bin/../man
> checking for neqn... (cached) neqn
> checking for tbl... (cached) tbl
> checking for cc... (cached) gcc
> checking type of operating system... sunos5
> checking for tar flags... -chof
> checking for netCDF header-file... -I/DODS_DISK/DODS/netcdf-3.4/include
> checking for netCDF library... -L/DODS_DISK/DODS/netcdf-3.4/lib -lnetcdf
> checking for package version... 1.2
> creating ./config.status
> creating Makefile
> creating perl/Makefile.PL
> creating port/master.mk
> creating port/Makefile
> 
> ------_=_NextPart_000_01C0ABF0.79B17E70
> Content-Type: application/octet-stream;
>       name="test.log"
> Content-Transfer-Encoding: quoted-printable
> Content-Disposition: attachment;
>       filename="test.log"
> 
> 
> making `test' in directory =
> /DODS_DISK/DODS/perlmodules/netcdf-perl-1.2.1/src/perl
> 
> PERL_DL_NONLAZY=3D1 /usr/local/bin/perl -Iblib/arch -Iblib/lib =
> -I/usr/local/lib/perl5/5.00503/sun4-solaris =
> -I/usr/local/lib/perl5/5.00503 test.pl
> *** Error code 255
> *** Error code 1
> *** Error code 1

There's no error message in the above and the file "make.log" didn't
indicate any problems.  Could it be that you didn't redirect both
standard output AND standard error to the file "test.log" when you
executed the command "make test".  If so, then please retry and send me
the output.  If not, then there's not much I can do because there's no
indication of what the error might be.

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