guile-user
[Top][All Lists]
Advanced

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

Re: install guile of question


From: Mark H Weaver
Subject: Re: install guile of question
Date: Tue, 05 Mar 2013 13:38:02 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Hi dongdong12345 xie,

dongdong12345 xie <address@hidden> writes:
>           To install guile, the./configure command is executed, the
> emergence of the " configure: error: GNU MP 4.1 or greater not found,
> see README ", and then I installed gmp-5.1.1, still appear "
> configure: error: GNU MP 4.1 or greater not found, see README.", what
> reason is this.

You sent me you "config.log" files from libgmp and Guile in private
email.  It would be more helpful if you could send them to
"address@hidden" so that others can see.  This is not my area of
expertise.  In the meantime, I've included here some relevant excerpts.

First of all, here's the relevant error from the Guile config.log:

> configure:43989: checking for libgmp
> configure:44011: cc -o conftest -g -I/usr/local/include  conftest.c 
> /usr/local/lib/libgmp.sl -lm  >&5
> /usr/ccs/bin/ld: /usr/local/lib/libgmp.sl: Mismatched ABI. 64-bit PA shared 
> library found in 32-bit link.

Note that this is an HP-UX system with lots of software installed in
different directories in /opt and elsewhere.  libgmp's "./configure"
found "gcc" and ran various tests on it, but ended up using HP's C
compiler instead.  It must be a fairly old C library, since not even
"stdint.h" could be found.

It might be worth trying to reconfigure Guile as follows:

CFLAGS=+DD64 ./configure

     Mark


>From Guile's config.log:

> It was created by GNU Guile configure 2.0.7, which was
> generated by GNU Autoconf 2.69.  Invocation command line was
> 
>   $ ./configure 
[...]
> uname -m = 9000/800
> uname -r = B.11.11
> uname -s = HP-UX
> uname -v = U
[...]
> configure:4509: checking build system type
> configure:4523: result: hppa2.0w-hp-hpux11.11
> configure:4543: checking host system type
> configure:4556: result: hppa2.0w-hp-hpux11.11
> configure:4930: checking for gcc
> configure:4960: result: no

>From libgmp's config.log:

> It was created by GNU MP configure 5.1.0, which was
> generated by GNU Autoconf 2.65.  Invocation command line was
> 
>   $ ./configure 
[...]
> uname -m = 9000/800
> uname -r = B.11.11
> uname -s = HP-UX
> uname -v = U
[...]
> User:
> ABI=
> CC=
> CFLAGS=(unset)
> CPPFLAGS=(unset)
> MPN_PATH=
> GMP:
> abilist=2.0w 2.0n 1.0
> cclist=gcc cc
> configure:5438: gcc 2>&1 | grep xlc >/dev/null
> configure:5441: $? = 1
> configure:5495: checking compiler gcc -O2 -pedantic -mpa-risc-2-0 
> Test compile: 
> configure:5509: gcc -O2 -pedantic -mpa-risc-2-0  conftest.c >&5
> configure:5512: $? = 0
> configure:5517: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
> configure:5520: $? = 0
> Test compile: function pointer return
> configure:5563: gcc -O2 -pedantic -mpa-risc-2-0  conftest.c >&5
> configure:5566: $? = 0
> configure:5571: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
> configure:5574: $? = 0
> Test compile: cmov instruction
> configure:5619: gcc -O2 -pedantic -mpa-risc-2-0  conftest.c >&5
> configure:5622: $? = 0
> configure:5627: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
> configure:5630: $? = 0
> Test compile: double -> ulong conversion
> configure:5676: gcc -O2 -pedantic -mpa-risc-2-0  conftest.c >&5
> configure:5679: $? = 0
> configure:5684: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
> configure:5687: $? = 0
> Test compile: double negation
> configure:5731: gcc -O2 -pedantic -mpa-risc-2-0  conftest.c >&5
> configure:5734: $? = 0
> configure:5739: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
> configure:5742: $? = 0
> Test compile: double -> float conversion
> configure:5787: gcc -O2 -pedantic -mpa-risc-2-0  conftest.c >&5
> configure:5790: $? = 0
> configure:5795: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
> configure:5798: $? = 0
> Test compile: gnupro alpha ev6 char spilling
> configure:5872: gcc -O2 -pedantic -mpa-risc-2-0  conftest.c >&5
> configure:5875: $? = 0
> configure:5880: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
> configure:5883: $? = 0
> Test compile: __builtin_alloca availability
> configure:5923: gcc -O2 -pedantic -mpa-risc-2-0  conftest.c >&5
> /usr/ccs/bin/ld: Unsatisfied symbols:
>    main (Not referenced yet! Probably due to -u option)
> collect2: ld returned 1 exit status
> configure:5926: $? = 1
> failed program was:
> int k; int foo () { __builtin_alloca (k); }
> Test compile: abs int -> double conversion
> configure:6047: gcc -O2 -pedantic -mpa-risc-2-0  conftest.c >&5
> configure:6050: $? = 0
> configure:6055: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
> configure:6058: $? = 0
> Test compile: long long reliability test 1
> configure:6111: gcc -O2 -pedantic -mpa-risc-2-0  conftest.c >&5
> conftest.c:6: warning: ISO C90 does not support 'long long'
> configure:6114: $? = 0
> configure:6119: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
> configure:6122: $? = 0
> Test compile: long long reliability test 2
> configure:6171: gcc -O2 -pedantic -mpa-risc-2-0  conftest.c >&5
> conftest.c: In function 'f':
> conftest.c:6: warning: ISO C90 does not support 'long long'
> configure:6174: $? = 0
> configure:6179: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
> configure:6182: $? = 0
> Test compile: mpn_lshift_com optimization
> configure:6270: gcc -O2 -pedantic -mpa-risc-2-0  conftest.c >&5
> configure:6273: $? = 0
> configure:6278: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
> configure:6281: $? = 0
> Test compile: mpn_lshift_com optimization 2
> configure:6378: gcc -O2 -pedantic -mpa-risc-2-0  conftest.c >&5
> configure:6381: $? = 0
> configure:6386: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
> configure:6389: $? = 0
> configure:6535: result: yes
> configure: testlist sizeof-long-8
> configure:6710: checking compiler gcc -O2 -pedantic -mpa-risc-2-0 has 
> sizeof(long)==8
> configure:6723: gcc -O2 -pedantic -mpa-risc-2-0 -c conftest.c >&5
> conftest.c: In function 'main':
> conftest.c:4: error: size of array 'test_array' is negative
> configure:6726: $? = 1
> configure:6731: result: no
> configure:5416: cc -c conftest.c >&5
> cc: "conftest.c", line 2: error 1000: Unexpected symbol: "me".
> cc: "conftest.c", line 2: warning 501: Empty source file.
> configure:5419: $? = 1
> configure:5438: cc 2>&1 | grep xlc >/dev/null
> configure:5441: $? = 1
> configure:5495: checking compiler cc +DD64 +O2 
> Test compile: 
> configure:5509: cc +DD64 +O2  conftest.c >&5
> configure:5512: $? = 0
> configure:5517: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
> configure:5520: $? = 0
> Test compile: function pointer return
> configure:5563: cc +DD64 +O2  conftest.c >&5
> configure:5566: $? = 0
> configure:5571: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
> configure:5574: $? = 0
> Test compile: cmov instruction
> configure:5619: cc +DD64 +O2  conftest.c >&5
> configure:5622: $? = 0
> configure:5627: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
> configure:5630: $? = 0
> Test compile: double -> ulong conversion
> configure:5676: cc +DD64 +O2  conftest.c >&5
> configure:5679: $? = 0
> configure:5684: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
> configure:5687: $? = 0
> Test compile: double negation
> configure:5731: cc +DD64 +O2  conftest.c >&5
> configure:5734: $? = 0
> configure:5739: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
> configure:5742: $? = 0
> Test compile: double -> float conversion
> configure:5787: cc +DD64 +O2  conftest.c >&5
> configure:5790: $? = 0
> configure:5795: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
> configure:5798: $? = 0
> Test compile: gnupro alpha ev6 char spilling
> configure:5872: cc +DD64 +O2  conftest.c >&5
> cc: line 34: warning 5004: Uninitialized variable "p" in function 
> "param_init" (5004)
> configure:5875: $? = 0
> configure:5880: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
> configure:5883: $? = 0
> Test compile: __builtin_alloca availability
> configure:5923: cc +DD64 +O2  conftest.c >&5
> ld: Unsatisfied symbol "main" in file <no file>
> 1 errors.
> configure:5926: $? = 1
> failed program was:
> int k; int foo () { __builtin_alloca (k); }
> Test compile: abs int -> double conversion
> configure:6047: cc +DD64 +O2  conftest.c >&5
> configure:6050: $? = 0
> configure:6055: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
> configure:6058: $? = 0
> Test compile: long long reliability test 1
> configure:6111: cc +DD64 +O2  conftest.c >&5
> configure:6114: $? = 0
> configure:6119: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
> configure:6122: $? = 0
> Test compile: long long reliability test 2
> configure:6171: cc +DD64 +O2  conftest.c >&5
> configure:6174: $? = 0
> configure:6179: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
> configure:6182: $? = 0
> Test compile: mpn_lshift_com optimization
> configure:6270: cc +DD64 +O2  conftest.c >&5
> configure:6273: $? = 0
> configure:6278: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
> configure:6281: $? = 0
> Test compile: mpn_lshift_com optimization 2
> configure:6378: cc +DD64 +O2  conftest.c >&5
> configure:6381: $? = 0
> configure:6386: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
> configure:6389: $? = 0
> configure:6535: result: yes
> configure:6591: checking whether HP compiler cc is good for 64-bits
> Version string: ccom: HP92453-01 B.11.11.14 HP C Compiler
> Version number: 11.11.14
> configure:6635: result: yes
> configure:8240: checking for gcc
> configure:8267: result: cc
[...]
> configure:3020: checking build system type
> configure:3034: result: hppa2.0w-hp-hpux11.11
> configure:3054: checking host system type
> configure:3067: result: hppa2.0w-hp-hpux11.11
[...]
> configure:32349: summary of build options:
> 
>   Version:           GNU MP 5.1.0
>   Host type:         hppa2.0w-hp-hpux11.11
>   ABI:               2.0w
>   Install prefix:    /usr/local
>   Compiler:          cc
>   Static libraries:  yes
>   Shared libraries:  yes



reply via email to

[Prev in Thread] Current Thread [Next in Thread]