Hi Alain, Alain Guibert <[EMAIL PROTECTED]> writes:
> | $ ./configure > | [...] > | checking for __gmpz_init in -lgmp... no > | configure: error: GNU MP not found, see README > > Indeed this distribution has its original old gmp 2.0.2 as > /usr/lib/libgmp.so.2.0.2, which has no __gmpz_init (but a mpz_init). > The gmp 4.2.2 built from source as /usr/local/lib/libgmp.so.3.4.2 is not > checked automatically. Problem workaround by presetting LDFLAGS. It's not a workaround, it's the proper way to let `configure' know. :-) > Line 194 of pthread.h (of Gnu PTH 2.0.7) is "typedef int socklen_t;", > the platform doesn't have socklen_t otherwise. Problem workaround by > --disable-error-on-warning. Isn't that a GNU Pth problem (that its header contains an "empty declaration")? > Line 320 of libguile/read.c ends by two semi-colons, the attached > bug-double-semicolon.patch should fix it. Thanks, applied. > | $ make check > | [...] > | gcc -I../../test-suite/standalone -I../.. -g -O2 -Wall -Wmissing-prototypes > -o .libs/test-with-guile-module > test_with_guile_module-test-with-guile-module.o -L/usr/local/lib > ../../libguile/.libs/libguile.so /usr/local/lib/libintl.so > /usr/local/lib/libiconv.so -lc /usr/local/lib/libgmp.so -lm > /usr/local/lib/libltdl.so -ldl -Wl,--rpath -Wl,/usr/local/lib > | test_with_guile_module-test-with-guile-module.o: In function `do_join': > | /tmp/guile-1.8.4/test-suite/standalone/test-with-guile-module.c:32: > undefined reference to `pthread_join' > | test_with_guile_module-test-with-guile-module.o: In function `inner_main': > | /tmp/guile-1.8.4/test-suite/standalone/test-with-guile-module.c:41: > undefined reference to `pthread_create' > | make[4]: *** [test-with-guile-module] Error 1 > | make[4]: Leaving directory `/tmp/guile-1.8.4/test-suite/standalone' > | make[3]: *** [check-am] Error 2 > | make[3]: Leaving directory `/tmp/guile-1.8.4/test-suite/standalone' > | make[2]: *** [check] Error 2 > | make[2]: Leaving directory `/tmp/guile-1.8.4/test-suite/standalone' > | make[1]: *** [check-recursive] Error 1 > | make[1]: Leaving directory `/tmp/guile-1.8.4/test-suite' > | make: *** [check-recursive] Error 1 I've fixed it as well: this test is no longer built when pthread support is disabled. Thanks! Ludovic.
