From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Gran Newsgroups: gmane.lisp.guile.devel Subject: Re: g-wrap - fresh git clone - can't find libguile.h: Date: Tue, 3 May 2011 17:17:23 -0700 (PDT) Message-ID: <864445.56895.qm@web37901.mail.mud.yahoo.com> References: <20110502155729.7c527910@rascar> <20110503084126.3b9e177b@rascar> <874o5be7gh.fsf@gmx.at> <87y62ncq1f.fsf@gmx.at> Reply-To: Mike Gran NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1304468264 7591 80.91.229.12 (4 May 2011 00:17:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 4 May 2011 00:17:44 +0000 (UTC) Cc: Andy Wingo , "guile-devel@gnu.org" To: Andreas Rottmann , David Pirotte Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed May 04 02:17:38 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QHPma-0008W8-Jm for guile-devel@m.gmane.org; Wed, 04 May 2011 02:17:36 +0200 Original-Received: from localhost ([::1]:58689 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHPmY-000074-TZ for guile-devel@m.gmane.org; Tue, 03 May 2011 20:17:34 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:46333) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHPmW-00006y-Dv for guile-devel@gnu.org; Tue, 03 May 2011 20:17:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QHPmQ-0002w8-IP for guile-devel@gnu.org; Tue, 03 May 2011 20:17:32 -0400 Original-Received: from nm15.bullet.mail.bf1.yahoo.com ([98.139.212.174]:40934) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QHPmQ-0002vi-0q for guile-devel@gnu.org; Tue, 03 May 2011 20:17:26 -0400 Original-Received: from [98.139.212.146] by nm15.bullet.mail.bf1.yahoo.com with NNFMP; 04 May 2011 00:17:24 -0000 Original-Received: from [98.139.212.247] by tm3.bullet.mail.bf1.yahoo.com with NNFMP; 04 May 2011 00:17:24 -0000 Original-Received: from [127.0.0.1] by omp1056.mail.bf1.yahoo.com with NNFMP; 04 May 2011 00:17:24 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 394698.74386.bm@omp1056.mail.bf1.yahoo.com Original-Received: (qmail 60547 invoked by uid 60001); 4 May 2011 00:17:23 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1304468243; bh=23jK9ET8E4qu1qXzKiNyB0BaxDDXytrHeolVxY/r29k=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=OmKYsJq1Y2TR1yvy5SJCrjg7S8C1gOlLr13CCSjaNhzVDe0o915RTYmc1E6xTv1kr6jiyraGtNWl6GpThg9okwj37uP8qsIGo4lzXvvQ1WGQ3QrAW61EeEIO9OJo4TJ6Ws0rKmm8Ln66pfrZxnCQ8xtVEwgfFOjg14Giyi3Z+5U= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=HIiKksQtCJpMX8ioQ6PQAEITWBCk4tQJBT0BR0VYdCWL1GAKLxMjjkqAwWGTjlkKbOlBFWtjzVkJ/FDmO06GqdRpRy+bm1TA3xsMN6RhKJHn8FZ1Gg2bIBbWCajeJbFzreoXgiNB9mUJd0xdGXP2e2yHSOaheXMDi0Hzh9yBWY0=; X-YMail-OSG: EYvBKHAVM1k7N0fcjD_kaCN.zZqPyd3xsmvWatObdKU1YRa Z4qBysms8TzzsT5mmFYNfqbNQCeiOy7gC4I5zvNHxQCBGQdXJlx67ufuN6LS 2pvfqk3ueIKAwdrTkF2pn51IcKCLJITNkAx7oC3c9qZkYMcF7Q8tD5LDCLJA zNvzuxmVXyelagWp9SiVz8BODKQ6YHsLf1RxnaTX8fYWjwnxfSrrIiQOqhNm 9a5lzRs6UMzFusaODgH.wYZuX4Z5cghz2wWbF63TSzAvkzOMeGt9gIbjdzGS KicJNHqbcn2pSxbc0Q2VX2pgQ19xxs5CF2uZhmilXi_UBJExghNglmTelLlk 1QbsC8oDEusfCbs332odPfYfzRgdfBTHRQozKFivNwdoSwXyIlftYc7Q8uNw bX_4GjdA43bDX Original-Received: from [207.8.91.2] by web37901.mail.mud.yahoo.com via HTTP; Tue, 03 May 2011 17:17:23 PDT X-Mailer: YahooMailWebService/0.8.110.299900 In-Reply-To: <87y62ncq1f.fsf@gmx.at> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 98.139.212.174 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:12422 Archived-At: >We have finally figured it out after some debugging via IRC:=A0 David has= =0A>had set PKG_CONFIG=3Dtrue when configuring Guile, which lead to an=0A>i= nstallation with a (silently) broken guile-config script;=0A>meta/guile-con= fig.in contains:=0A>=0A>(define %pkg-config-program "@PKG_CONFIG@")=0A>=0A>= The mayhem that resulted is left to the (hopefully vivid) imagination of=0A= >the reader ;-).=0A>=0A>IMO, the following advice given in Guile's README i= s quite dangerous, as=0A>can be seen from David's issue:=0A>=0A>=A0 - pkg-c= onfig=0A>=0A>=A0 =A0 Guile's ./configure script uses pkg-config to discover= the correct=0A>=A0 =A0 compile and link options for libgc and libffi.=A0 I= f you don't have=0A>=A0 =A0 pkg-config installed, or you have a version of = libgc that doesn't=0A>=A0 =A0 provide a .pc file, you can work around this = by setting some=0A>=A0 =A0 variables as part of the configure command-line:= =0A>=0A>=A0 =A0 - PKG_CONFIG=3Dtrue=0A>=0A>=A0 =A0 - BDW_GC_CFLAGS=3D=0A>=0A>=A0 =A0 - BDW_GC_LIBS=3D=0A>=0A>=A0 =A0 Note that because= you're bypassing all pkg-config checks, you will=0A>=A0 =A0 also have to s= pecify libffi flags as well:=0A>=0A>=A0 =A0 - LIBFFI_CFLAGS=3D=0A>=0A>=A0 =A0 - LIBFFI_LIBS=3D=0A>=0A>Note the PKG_CONFIG=3Dtrue set= ting.=A0 This should at least come with a big=0A>fat warning that the resul= ting installation of Guile will be broken=0A>wrt. to building any software = depending on Guile (unless the software in=0A>question bypasses guile-confi= g).=A0 Alternatively, we could scrap that=0A>section altogether and just sa= y that pkg-config is required (which is in=0A>fact true, with the current s= tate of afairs).=0A=0AIIRC, the PKG_CONFIG=3Dtrue hack was because of a bug= in pkg.m4 that wouldn't let=0Ayou bypass pkg-config using the XXX_CFLAGS a= nd XXX_LIBS if you didn't have=0Apkg-config installed.=A0 Newer versions of= pkg.m4 have fixed this.=0A=A0=0A-Mike