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] Update configure script hints wrt precious env vars. Date: Wed, 13 Jan 2010 09:19:08 +0100 Message-ID: <871vhuwh6r.fsf@ambire.localdomain> References: <87wrzrmlqd.fsf@ambire.localdomain> <87wrzprhch.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1263370923 21342 80.91.229.12 (13 Jan 2010 08:22:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Jan 2010 08:22:03 +0000 (UTC) To: bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Wed Jan 13 09:21:52 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 1NUyUC-0003BA-2s for guile-bugs@m.gmane.org; Wed, 13 Jan 2010 09:21:52 +0100 Original-Received: from localhost ([127.0.0.1]:53676 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUyUC-0004MA-QG for guile-bugs@m.gmane.org; Wed, 13 Jan 2010 03:21:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NUyU8-0004Lu-09 for bug-guile@gnu.org; Wed, 13 Jan 2010 03:21:48 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NUyU5-0004Kl-KP for bug-guile@gnu.org; Wed, 13 Jan 2010 03:21:46 -0500 Original-Received: from [199.232.76.173] (port=51989 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUyU5-0004Kh-Hr for bug-guile@gnu.org; Wed, 13 Jan 2010 03:21:45 -0500 Original-Received: from smtp-out114.alice.it ([85.37.17.114]:2835) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NUyU5-0006Uo-74 for bug-guile@gnu.org; Wed, 13 Jan 2010 03:21:45 -0500 Original-Received: from FBCMMO01.fbc.local ([192.168.68.195]) by smtp-out114.alice.it with Microsoft SMTPSVC(6.0.3790.3959); Wed, 13 Jan 2010 09:21:39 +0100 Original-Received: from FBCMCL01B09.fbc.local ([192.168.171.26]) by FBCMMO01.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Wed, 13 Jan 2010 09:21:39 +0100 Original-Received: from ambire.localdomain ([79.16.70.126]) by FBCMCL01B09.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Wed, 13 Jan 2010 09:21:39 +0100 Original-Received: from ttn by ambire.localdomain with local (Exim 4.63) (envelope-from ) id 1NUyRY-0004sn-C0 for bug-guile@gnu.org; Wed, 13 Jan 2010 09:19:08 +0100 In-Reply-To: (Andy Wingo's message of "Tue, 12 Jan 2010 20:34:03 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) X-OriginalArrivalTime: 13 Jan 2010 08:21:39.0263 (UTC) FILETIME=[6DF20CF0:01CA9429] 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:4460 Archived-At: >From eb2713038b601abd59fdf377847510f27fd17e83 Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Sat, 9 Jan 2010 10:07:48 +0100 Subject: [PATCH] Update configure script hints wrt precious env vars. * README: Don't suggest setting vars before running configure. Instead, suggest specifying them on the configure command-line. Signed-off-by: Thien-Thi Nguyen --- BTW, apparently, this is the space for comments; "git am" should ignore all this stuff. thi README | 21 ++++++++++++--------- 1 files changed, 12 insertions(+), 9 deletions(-) diff --git a/README b/README index 5669ce8..ea68081 100644 --- a/README +++ b/README @@ -50,16 +50,19 @@ names (where that is supported), makes it impossible to later move the built executables and libraries to an installation location other than the one that was specified at build time. -Another possible approach is to set CPPFLAGS and LDFLAGS before -running configure, so that they include -I options for all the +Another possible approach is to set CPPFLAGS and LDFLAGS on the +configure command-line, so that they include -I options for all the non-standard places where you have installed header files and -L options for all the non-standard places where you have installed libraries. This will allow configure and make to find those headers -and libraries during the build. The locations found will not be -hardcoded into the build executables and libraries, so with this -approach you will probably also need to set LD_LIBRARY_PATH -correspondingly, to allow Guile to find the necessary libraries again -at runtime. +and libraries during the build. E.g.: + + ../configure [...] CPPFLAGS='-I/my/include' LDFLAGS='-L/my/lib' + +The locations found will not be hardcoded into the build executables and +libraries, so with this approach you will probably also need to set +LD_LIBRARY_PATH correspondingly, to allow Guile to find the necessary +libraries again at runtime. Required External Packages ================================================ @@ -93,8 +96,8 @@ Guile requires the following external packages: Guile's ./configure script uses pkg-config to discover the correct compile and link options for libgc. If you don't have pkg-config installed, or you have a version of libgc that doesn't provide a - .pc file, you can work around this by setting some environment - variables before running ./configure: + .pc file, you can work around this by setting some variables as + part of the configure command-line: - PKG_CONFIG=true -- 1.6.3.2