From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.lisp.guile.bugs Subject: Re: [PATCH] Declare `GC_dump' ourselves if doesn't. Date: Tue, 12 Jan 2010 16:36:26 +0100 Message-ID: <87hbqrmj2d.fsf@ambire.localdomain> References: <87zl4nmmpl.fsf@ambire.localdomain> <878wc45m5w.fsf@gnu.org> <87k4vodjga.fsf@ambire.localdomain> <874omro1b1.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1263311112 4986 80.91.229.12 (12 Jan 2010 15:45:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Jan 2010 15:45:12 +0000 (UTC) To: bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Jan 12 16:45:02 2010 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 1NUivV-0007JA-0A for guile-bugs@m.gmane.org; Tue, 12 Jan 2010 16:45:01 +0100 Original-Received: from localhost ([127.0.0.1]:47814 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUivV-00051K-JO for guile-bugs@m.gmane.org; Tue, 12 Jan 2010 10:45:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NUivN-00050R-AK for bug-guile@gnu.org; Tue, 12 Jan 2010 10:44:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NUivJ-0004yC-Lb for bug-guile@gnu.org; Tue, 12 Jan 2010 10:44:51 -0500 Original-Received: from [199.232.76.173] (port=33130 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUivJ-0004y4-E2 for bug-guile@gnu.org; Tue, 12 Jan 2010 10:44:49 -0500 Original-Received: from smtp-out113.alice.it ([85.37.17.113]:3468) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NUivI-0001Y8-HW for bug-guile@gnu.org; Tue, 12 Jan 2010 10:44:49 -0500 Original-Received: from FBCMMO03.fbc.local ([192.168.68.197]) by smtp-out113.alice.it with Microsoft SMTPSVC(6.0.3790.3959); Tue, 12 Jan 2010 16:38:59 +0100 Original-Received: from FBCMCL01B05.fbc.local ([192.168.69.86]) by FBCMMO03.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Tue, 12 Jan 2010 16:38:55 +0100 Original-Received: from ambire.localdomain ([79.45.67.66]) by FBCMCL01B05.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Tue, 12 Jan 2010 16:38:55 +0100 Original-Received: from ttn by ambire.localdomain with local (Exim 4.63) (envelope-from ) id 1NUinC-0003Z2-W4 for bug-guile@gnu.org; Tue, 12 Jan 2010 16:36:27 +0100 In-Reply-To: <874omro1b1.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Tue, 12 Jan 2010 15:17:06 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) X-OriginalArrivalTime: 12 Jan 2010 15:38:55.0438 (UTC) FILETIME=[5982E6E0:01CA939D] X-detected-operating-system: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ 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:4450 Archived-At: () ludo@gnu.org (Ludovic Court=C3=A8s) () Tue, 12 Jan 2010 15:17:06 +0100 So how did =E2=80=98configure=E2=80=99 find your libgc? I've modified configure.ac (see "Don't clobber..." patch) to look like: | dnl See note for PKG_CHECK_MODULES in aclocal.m4. | PKG_PROG_PKG_CONFIG | if test "$BDW_GC_CFLAGS" || test "$BDW_GC_LIBS" ; then : | dnl We don't need to declare those env vars precious; | dnl PKG_CHECK_MODULES does that. | else | PKG_CHECK_MODULES([BDW_GC], [bdw-gc]) | fi Then, i call configure like so: $ .../configure -C \ --with-threads \ --prefix /tmp/a/b/z \ BDW_GC_LIBS=3D'-lgc' \ LDFLAGS=3D'-L/home/ttn/local/lib' (The `LDFLAGS' is incidentally for finding libltdl.) thi