[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 20020723: installing UDUNITS on IRIX64: -64
- Subject: Re: 20020723: installing UDUNITS on IRIX64: -64
- Date: Tue, 23 Jul 2002 10:57:22 -0600
Bonjour Sophie,
> To: address@hidden
> From: "Sophie Bouffies-Cloche (IPSL)" <address@hidden>
> Subject: problem installing the UDUNITS package
> Organization: Université Pierre et Marie Curie
> Keywords: 200207230944.g6N9iF920773
The above message contained the following:
> I have some problems to install the Udunits package on IRIX-64. Here are
> the different output and files:
>
> uname -a:
> IRIX64 rhodes 6.5 10100655 IP27
>
> Here are the different attached files:
>
> conf.out : standard output from configure
> conf.err: error output from configure
> config.log: the log file from configure
>
> make.out : standard output from make
> make.err: error output from make
>
> NB: I have just modify the CUSTOMIZE file as follows:
> # C compiler flags (default is `-O'):
> CFLAGS=-64
>
>
> Thank you for your help
>
>
>
> --
> Sophie Cloché
> Université Pierre et Marie Curie, IPSL/ Tour 26
> 4, place Jussieu
> 75252 PARIS CEDEX 05
> TEL: (33) 01 44 27 61 70 FAX: (33) 01 44 27 61 71
> e_mail:address@hidden
...
> making `dynamic' in directory
> /home/rech/psl/rpsl376/UTIL/udunits-1.11.7/src/perl
>
> /usr/sbin/perl -I/usr/share/lib/perl5/irix-n32/5.00404
> -I/usr/share/lib/perl5 /usr/share/lib/perl5/ExtUtils/xsubpp -typemap
> /usr/share/lib/perl5/ExtUtils/typemap -typemap typemap UDUNITS.xs >UDUNITS.tc
> && mv UDUNITS.tc UDUNITS.c
> cc -c -I../lib -I../port/misc -D_BSD_SIGNALS -D_BSD_TYPES -D_BSD_TIME
> -woff 1009,1110,1184 -OPT:Olimit=0:space=ON -DLANGUAGE_C -DEMBEDMYMALLOC -O3
> -mips3 -DVERSION=\"1.11.7\" -DXS_VERSION=\"1.11.7\"
> -I/usr/share/lib/perl5/irix-n32/5.00404/CORE UDUNITS.c
> mkdir ./blib
> mkdir ./blib/arch
> mkdir ./blib/arch/auto
> mkdir ./blib/arch/auto/UDUNITS
> Running Mkbootstrap for UDUNITS ()
> chmod 644 UDUNITS.bs
>
> LD_RUN_PATH="/home/rech/psl/rpsl376/UTIL/udunits-1.11.7/src/perl/../lib:/usr/lib32"
> cc -o ./blib/arch/auto/UDUNITS/UDUNITS.so -n32 -mips3 -shared UDUNITS.o
> -L/home/rech/psl/rpsl376/UTIL/udunits-1.11.7/src/perl/../lib -ludunits -lm
> *** Error code 2 (bu21)
C'est tout? "Error code 2"? I'm afraid that the above error message
is not enough to diagnose the problem. I suspect that we can get more
information.
Would you please do the following:
1. Go into the "perl/" subdirectory of the UDUNITS package.
2. Execute the following command:
LD_RUN_PATH="/home/rech/psl/rpsl376/UTIL/udunits-1.11.7/src/perl/../lib:/usr/lib32"
cc -o ./blib/arch/auto/UDUNITS/UDUNITS.so -n32 -mips3 -shared UDUNITS.o
-L/home/rech/psl/rpsl376/UTIL/udunits-1.11.7/src/perl/../lib -ludunits -lm
Redirect the standard output and standard error of the command
to the file "cc.log".
3. Send me the file "cc.log".
Also, I notice that you built the UDUNITS library using the "-64"
option, but that the above command uses the "-n32" option. I suspect
that your perl utility was built using the "-n32" option (you can
verify this via the command "perl -V"). It could be that a UDUNITS perl
module built with "-64" is not compatible with a perl utility built with
"-n32". If this is so, then you will have to build the UDUNITS package
using the same option that was used to built the perl utility.
Regards,
Steve Emmerson <http://www.unidata.ucar.edu>