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

[Support #UEO-800135]: problem installing UDUNITS version 1.12.4



Sebastien,

> Steve,
> 
> No luck....
> 
> Sebastien
> 
> --
> Sebastien Biraud
> Lawrence Berkeley National Laboratory
> One Cyclotron Road  MS 90R-1116
> Berkeley, CA 94720
> USA
> 
> tel:(510) 486 6084
> fax:(510) 486 5686
> e-mail: address@hidden
> 
> 
> checking for manual-page index command...
...


> making `dynamic' in directory /usr/local/src/udunits-1.12.4/src/perl
> 
> make[1]: Entering directory `/usr/local/src/udunits-1.12.4/src/perl'
> /usr/bin/perl /usr/lib/perl5/5.8.5/ExtUtils/xsubpp  -typemap 
> /usr/lib/perl5/5.8.5/ExtUtils/typemap -typemap typemap  UDUNITS.xs > 
> UDUNITS.xsc && mv UDUNITS.xsc UDUNITS.c
> Please specify prototyping behavior for UDUNITS.xs (see perlxs manual)
> gcc -c  -I../lib -I../port/misc -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING 
> -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m64   
> -DVERSION=\"1.12.4\" -DXS_VERSION=\"1.12.4\" -fPIC 
> "-I/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE"  -DpgiFortran 
> UDUNITS.c
> Running Mkbootstrap for UDUNITS ()
> chmod 644 UDUNITS.bs
> rm -f blib/arch/auto/UDUNITS/UDUNITS.so
> gcc  -shared UDUNITS.o  -o blib/arch/auto/UDUNITS/UDUNITS.so   
> -L/usr/local/src/udunits-1.12.4/src/perl/../lib -ludunits -lm
> /usr/bin/ld: 
> /usr/local/src/udunits-1.12.4/src/perl/../lib/libudunits.a(utlib.o): 
> relocation R_X86_64_32S against `a local symbol' can not be used when making 
> a shared object; recompile with -fPIC
> /usr/local/src/udunits-1.12.4/src/perl/../lib/libudunits.a: could not read 
> symbols: Bad value
> collect2: ld returned 1 exit status
> make[1]: *** [blib/arch/auto/UDUNITS/UDUNITS.so] Error 1
> make[1]: Leaving directory `/usr/local/src/udunits-1.12.4/src/perl'
> make: *** [perl/dynamic] Error 1

We're closer.

It appears that the compiler options used to build the perl(1) utility are 
different from the default values that were used to compile the UDUNITS library.

Please try the following:


1. Go to the top-level source-directory.

2. Execute the command "make distclean".

3. Execute the command "./configure CC=gcc CPPFLAGS='-DpgiFortran 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' CFLAGS=-m64 LD_MATH=-lm".

4. Execute the command "make".

5. Execute the command "make test".

6. Execute the command "make install".

Redirect both the standard output and standard error stream from the above 
commands into their appropriate files so that, if something goes wrong, you can 
send me the files.

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: UEO-800135
Department: Support UDUNITS
Priority: Normal
Status: On Hold


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.