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: Error in configuring guile project. Date: Fri, 10 Sep 2010 23:44:57 +0200 Message-ID: <87zkvp9sti.fsf@gnu.org> References: <454D5341-D72C-4A0B-9C7B-9B3BE2F356BC@oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1284155585 11976 80.91.229.12 (10 Sep 2010 21:53:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Sep 2010 21:53:05 +0000 (UTC) Cc: bug-guile@gnu.org To: Gaurav Goel Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Sep 10 23:53:01 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.69) (envelope-from ) id 1OuBWi-0006w0-2K for guile-bugs@m.gmane.org; Fri, 10 Sep 2010 23:52:56 +0200 Original-Received: from localhost ([127.0.0.1]:49727 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OuBPD-0001UX-70 for guile-bugs@m.gmane.org; Fri, 10 Sep 2010 17:45:11 -0400 Original-Received: from [140.186.70.92] (port=60212 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OuBP4-0001PO-To for bug-guile@gnu.org; Fri, 10 Sep 2010 17:45:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OuBP3-0008GM-Hz for bug-guile@gnu.org; Fri, 10 Sep 2010 17:45:02 -0400 Original-Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:7857) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OuBP3-0008Fv-Ct for bug-guile@gnu.org; Fri, 10 Sep 2010 17:45:01 -0400 X-IronPort-AV: E=Sophos;i="4.56,348,1280700000"; d="scan'208";a="59039528" Original-Received: from reverse-83.fdn.fr (HELO nixey) ([80.67.176.83]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-SHA; 10 Sep 2010 23:44:59 +0200 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 24 Fructidor an 218 de la =?iso-8859-1?Q?R=E9volutio?= =?iso-8859-1?Q?n?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: <454D5341-D72C-4A0B-9C7B-9B3BE2F356BC@oracle.com> (Gaurav Goel's message of "Thu, 9 Sep 2010 15:25:29 +0530") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:4793 Archived-At: Hi, Gaurav Goel writes: > I was trying to build guile on my mac OS. When I tried to configur= e it with the command bash-3.2# ./../../gcc-requiredlib-4.5.1/guile-1.8.5/c= onfigure --with-gmp=3D/Users/gauravgoel/gcc-requiredlibbuild-4.5.1/gmp-5.0.= 1-build/gmp-5.0.1-install/ --prefix=3D/Users/gauravgoel/gcc-requiredlibbuil= d-4.5.1/guile-1.8.5-build/guile-1.8.5-install/ --with-mpfr=3D/Users/gauravg= oel/gcc-requiredlibbuild-4.5.1/mpfr-3.0.0-build/mpfr-3.0.0-install/ CFLAGS= =3D'-O2 -pedantic -m64 -mtune=3Dcore2 -march=3Dcore2' I got the error.=20 Two remarks: 1. Guile doesn=E2=80=99t use MPFR so you can safely omit =E2=80=98--with-= mpfr=E2=80=99. ;-) 2. Guile 1.8=E2=80=99s =E2=80=98configure=E2=80=99 doesn=E2=80=99t have a= =E2=80=98--with-gmp=E2=80=99 flag, which means you have to do things by hand. In your case, that means doing: $ LDFLAGS=3D"-L/path/to/gmp/lib" \ CPPFLAGS=3D"-I/path/to/gmp/include" \ ./configure ... Plus the caveat Andy mentioned. Hope this helps, Ludo=E2=80=99.