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

Re: 20050912: udunits 1.12.4 build fails on Linux SuSE SLES 9 ia64 GNU compilers



Harsh,

> To: address@hidden
> cc: Harsh Anand <address@hidden>
> From: Harsh Anand <address@hidden>
> Subject: udunits 1.12.4 build fails on Linux SuSE SLES 9 ia64 GNU compilers
> Organization: UCAR/Unidata
> Keywords: 200509122002.j8CK2MnX021006

The above message contained the following:

> I am trying to install udunits 1.12.4 on Linux SuSE SLES 9 ia64
> (using gcc 3.3.3)  make fails.

Please see the attached files
> and the information appended below.
> 
> Thanks for your help.
> 
> Harsh
> 
> 
> 
> Here are the list of environment variables that I set before
> runnning the script Configure:
> 
> setenv CPPFLAGS '-DNDEBUG -Df2cFortran'
> setenv CFLAGS '-O -fno-builtin'
> setenv PERL   /usr/bin/perl
> setenv CC   /usr/bin/gcc
> setenv LDFLAGS '-ldl'
> 
> 278-> uname -a
> Linux davinci 2.6.5-7.193-sn2 #1 SMP Wed Jul 20 14:39:18 UTC 2005 ia64 
> ia64 ia64 GNU/Linux
> 
> 279-> cat VERSION
> 1.12.4
> 
> 282-> which gcc
> /usr/bin/gcc
>  
>                                        283-> gcc -v
> Reading specs from /usr/lib/gcc-lib/ia64-suse-linux/3.3.3/specs
> Configured with: ../configure --enable-threads=posix --prefix=/usr 
> --with-local-prefix=/usr/local --infodir=/usr/share/info 
> --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada 
> --disable-checking --libdir=/usr/lib --enable-libgcj 
> --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib 
> --with-system-zlib --enable-shared --enable-__cxa_atexit ia64-suse-linux
> Thread model: posix
> gcc version 3.3.3 (SuSE Linux)
...
> making `dynamic' in directory /usr/common/usg/udunits/1.12.4/src/perl
> 
> make[1]: Entering directory `/usr/common/usg/udunits/1.12.4/src/perl'
> /usr/bin/perl /usr/lib/perl5/5.8.3/ExtUtils/xsubpp  -typemap 
> /usr/lib/perl5/5.8.3/ExtUtils/typemap -typemap typemap  UDUNITS.xs > 
> UDUNITS.xsc && mv UDUNITS.xsc UDUNITS.c
> Please specify prototyping behavior for UDUNITS.xs (see perlxs manual)
> /usr/bin/gcc -c  -I../lib -I../port/misc -D_REENTRANT -D_GNU_SOURCE 
> -DTHREADS_HAVE_PIDS -fno-strict-aliasing -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -O2 -fmessage-length=0 -Wall -Wall -pipe   
> -DVERSION=\"1.12.4\" -DXS_VERSION=\"1.12.4\" -fPIC 
> "-I/usr/lib/perl5/5.8.3/ia64-linux-thread-multi/CORE"  -DNDEBUG -Df2cFortran 
> UDUNITS.c
> UDUNITS.xs: In function `constant':
> UDUNITS.xs:160: warning: label `not_there' defined but not used
> UDUNITS.c: At top level:
> UDUNITS.xs:14: warning: `not_here' defined but not used
> Running Mkbootstrap for UDUNITS ()
> chmod 644 UDUNITS.bs
> rm -f blib/arch/auto/UDUNITS/UDUNITS.so
> LD_RUN_PATH="" cc  -shared UDUNITS.o  -o blib/arch/auto/UDUNITS/UDUNITS.so   
> -L/usr/common/usg/udunits/1.12.4/src/perl/../lib -ludunits -lm   
> /usr/lib/gcc-lib/ia64-suse-linux/3.3.3/../../../../ia64-suse-linux/bin/ld: 
> /usr/common/usg/udunits/1.12.4/src/perl/../lib/libudunits.a(utscan.o): @gprel 
> relocation against dynamic symbol utin
> /usr/lib/gcc-lib/ia64-suse-linux/3.3.3/../../../../ia64-suse-linux/bin/ld: 
> /usr/common/usg/udunits/1.12.4/src/perl/../lib/libudunits.a(utscan.o): @gprel 
> relocation against dynamic symbol utout

I've seen this problem before.  See

    
http://my.unidata.ucar.edu/cgi-bin/getfile?file=/content/support/help/MailArchives/udunits/msg00218.html

Do you need to support access to the UDUNITS library via the perl(1)
utility?  If not, then you can exclude support for that from the UDUNITS
build by defining the environment variable PERL to be the empty string
before (re)executing the configure(1) script.

Regards,
Steve Emmerson