From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.bugs Subject: Re: Guile 1.8.4 build difficulties on old Linux Date: Sat, 26 Apr 2008 21:58:36 +0200 Message-ID: <87skx8gzgz.fsf@gnu.org> References: <20080426131147.GA29494@free.fr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1209240086 30539 80.91.229.12 (26 Apr 2008 20:01:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Apr 2008 20:01:26 +0000 (UTC) To: bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sat Apr 26 22:02:01 2008 connect(): Connection refused Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jpqaf-00048J-8z for guile-bugs@m.gmane.org; Sat, 26 Apr 2008 22:01:45 +0200 Original-Received: from localhost ([127.0.0.1]:51825 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JpqZz-0007yd-31 for guile-bugs@m.gmane.org; Sat, 26 Apr 2008 16:01:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JpqXs-0006Qu-LU for bug-guile@gnu.org; Sat, 26 Apr 2008 15:58:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JpqXs-0006PP-2M for bug-guile@gnu.org; Sat, 26 Apr 2008 15:58:52 -0400 Original-Received: from [199.232.76.173] (port=35468 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JpqXr-0006P3-Gv for bug-guile@gnu.org; Sat, 26 Apr 2008 15:58:51 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JpqXq-0001H6-UC for bug-guile@gnu.org; Sat, 26 Apr 2008 15:58:51 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JpqXl-00015w-Bs for bug-guile@gnu.org; Sat, 26 Apr 2008 19:58:45 +0000 Original-Received: from reverse-83.fdn.fr ([80.67.176.83]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Apr 2008 19:58:45 +0000 Original-Received: from ludo by reverse-83.fdn.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Apr 2008 19:58:45 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 51 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: reverse-83.fdn.fr X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 8 =?iso-8859-1?Q?Flor=E9al?= an 216 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEB1F5364 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 821D 815D 902A 7EAB 5CEE D120 7FBA 3D4F EB1F 5364 X-OS: i686-pc-linux-gnu User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) Cancel-Lock: sha1:PhVWjfdI7M9D3ZFtxYSHeTNDnD4= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:3860 Archived-At: Hi Alain, Alain Guibert 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.