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

Re: 19990727: installation: udunits-1.11.7: cc vs. gcc

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: Re: 19990727: installation: udunits-1.11.7: cc vs. gcc
  • Date: Tue, 27 Jul 1999 09:13:44 -0600

Hi, Xunqiang:

>Date: Tue, 27 Jul 1999 17:00:48 +0200 (MET DST)
>From: BI XUNQIANG <address@hidden>
>Organization: Abdus Salam International Centre for Theoretical Physics
>To: Steve Emmerson <address@hidden>
>Subject: Re: 19990726: installation: udunits-1.11.7: cc vs. gcc 
>Keywords: 199907261402.IAA21347

In the above message, you wrote:

> The UNUNITS without PERL extension is OK for me.

OK.

> For "perl -V" , the message is:
> 
> spclima7:1> perl -V
> Summary of my perl5 (5.0 patchlevel 4 subversion 3) configuration:
>   Platform:
>     osname=solaris, osvers=2.4, archname=sun4-solaris
>     uname='sunos sv9 5.4 generic_101945-32 sun4m sparc '
>     hint=previous, useposix=true, d_sigaction=define
>     bincompat3=n useperlio=undef d_sfio=undef
>   Compiler:
>     cc='gcc', optimize='-O', gccversion=2.7.2
...

The last line above indicates that your perl utility was compiled using
the GNU C compiler.  The fact that an executing perl program can't find
the "__eprintf" function of the GNU C runtime indicates a problem with
the GNU C installation---probably a new version of GNU C was installed
since the perl utility was last built.  If so, then the perl utility
would need to be reinstalled in order to fix this problem.

If you can live without the perl extension module for UDUNITS (as you've
said) then wouldn't bother trying to upgrade your perl.

>     cppflags='-I/usr/local/include -I/opt/gnu/include'
>     ccflags ='-I/usr/local/include -I/opt/gnu/include'
>     stdchar='unsigned char', d_stdstdio=define, usevfork=false
>     voidflags=15, castflags=0, d_casti32=define, d_castneg=define
>     intsize=4, alignbytes=8, usemymalloc=y, randbits=15
>   Linker and Libraries:
>     ld='gcc', ldflags ='-L/usr/local/lib -L/opt/gnu/lib'
>     libpth=/usr/local/lib /opt/gnu/lib /lib /usr/lib
>     libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
>     libc=/lib/libc.so, so=so
>     useshrplib=true, libperl=libperl.so
>   Dynamic Linking:
>     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
>     cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib
> -L/opt/gnu/lib'
> 
> 
> Characteristics of this binary (from libperl): 
>   Built under solaris
>   Compiled at Sep 22 1997 15:45:18
>   @INC:
>     /opt/perl/lib/sun4-solaris/5.00403
>     /opt/perl/lib
>     /opt/perl/lib/site_perl/sun4-solaris
>     /opt/perl/lib/site_perl
> 
> spclima7:2>
> 
> With my best regards !
> 
> ################################################################
> # Xunqiang Bi              http://www.ictp.trieste.it/~bixq/   # 
> # Physics of Weather and Climate Group                         #
> # The Abdus Salam International Centre for Theoretical Physics #
> # P.O. BOX 586, 34100 Trieste, ITALY                           #
> # Phone: + 39 (040) 2240 345         Fax: + 39 (040)  224 163  #
> # email: address@hidden                                  #
> ################################################################

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