Configuring guile-1.8.1 on Sun Sparc Solaris2.9 fails thusly: checking whether sethostname is declared... no checking for library containing crypt... none required checking for __gmpz_init in -lgmp... no configure: error: GNU MP not found, see README You have mail in /var/mail/hgs
I have installed gmp-4.2.1 on the system, and it passed all its tests. I have seen http://www.archivum.info/bug-guile@gnu.org/2006-03/msg00024.html and subsequent messages: and though there is no response about compiling the C program to debug this I get: bash-2.05$ cat foo.c #include <gmp.h> int main () { mpz_import (0, 0, 0, 0, 0, 0, 0); return 0; } bash-2.05$ gcc -o foo -g -O2 foo.c -lgmp -lcrypt -lm -lltdl /usr/local/bin/ld: skipping incompatible /usr/local/lib/gcc/sparc-sun-solaris2.9/4.1.0/../../../libgmp.so when searching for -lgmp /usr/local/bin/ld: skipping incompatible /usr/local/lib/gcc/sparc-sun-solaris2.9/4.1.0/../../../libgmp.a when searching for -lgmp /usr/local/bin/ld: skipping incompatible /usr/local/lib/libgmp.so when searching for -lgmp /usr/local/bin/ld: skipping incompatible /usr/local/lib/libgmp.a when searching for -lgmp /usr/local/bin/ld: cannot find -lgmp collect2: ld returned 1 exit status bash-2.05$ bash-2.05$ gcc -o foo -g -O2 foo.c -lgmp -lcrypt -lm -lltdl /usr/local/bin/ld: skipping incompatible /usr/local/lib/gcc/sparc-sun-solaris2.9/4.1.0/../../../libgmp.so when searching for -lgmp /usr/local/bin/ld: skipping incompatible /usr/local/lib/gcc/sparc-sun-solaris2.9/4.1.0/../../../libgmp.a when searching for -lgmp /usr/local/bin/ld: skipping incompatible /usr/local/lib/libgmp.so when searching for -lgmp /usr/local/bin/ld: skipping incompatible /usr/local/lib/libgmp.a when searching for -lgmp /usr/local/bin/ld: cannot find -lgmp collect2: ld returned 1 exit status bash-2.05$ And I have bash-2.05$ gcc --version ; /usr/local/bin/ld --version gcc (GCC) 4.1.0 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. GNU ld version 2.17 Copyright 2005 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. bash-2.05$ with ld built after that GCC, formerly from binutils-2.16, which failed also. What else should I tell you about? As the cited thread states, there is nothing useful stated in config.log about gmp. Hugh _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user