From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Re: Configuring with GMP in /usr/local Date: 26 Apr 2003 16:38:24 +0100 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1051371514 14488 80.91.224.249 (26 Apr 2003 15:38:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 26 Apr 2003 15:38:34 +0000 (UTC) Cc: Guile Development Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Apr 26 17:38:33 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 199Rl2-0003lX-00 for ; Sat, 26 Apr 2003 17:38:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 199RlU-0003Up-04 for guile-devel@m.gmane.org; Sat, 26 Apr 2003 11:39:00 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 199RlB-0002zk-00 for guile-devel@gnu.org; Sat, 26 Apr 2003 11:38:41 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 199Rkz-0002GN-00 for guile-devel@gnu.org; Sat, 26 Apr 2003 11:38:31 -0400 Original-Received: from mail.uklinux.net ([80.84.72.21] helo=s1.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 199Rky-0002Ag-00 for guile-devel@gnu.org; Sat, 26 Apr 2003 11:38:28 -0400 Original-Received: from laruns.ossau.uklinux.net (bts-0588.dialup.zetnet.co.uk [194.247.50.76]) by s1.uklinux.net (8.11.6p2/8.11.6) with ESMTP id h3QFcQ717251; Sat, 26 Apr 2003 16:38:26 +0100 Original-Received: from laruns.ossau.uklinux.net.ossau.uklinux.net (localhost [127.0.0.1])ESMTP id 71366DC4D4; Sat, 26 Apr 2003 16:38:24 +0100 (BST) Original-To: "Nelson H. F. Beebe" In-Reply-To: Original-Lines: 28 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2215 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2215 >>>>> "Nelson" == Nelson H F Beebe writes: >>> The problem is somehow getting ./configure >>> to tell gcc to look in /usr/local/{lib,include} before >>> /usr/{lib,include}. Nelson> Ahh... this is straightforward: Nelson> env \ Nelson> CFLAGS=-I/usr/local/include \ Nelson> LDFLAGS="-L/usr/local/lib -Wl,-rpath,/usr/local/lib" \ Nelson> ./configure && make all check install Nelson> For code that uses C++, you'll need to add Nelson> CXXFLAGS=-I/usr/local/include \ Nelson> I've found rare packages that also need Nelson> CPPFLAGS=-I/usr/local/include \ Nelson> Sometimes, packages don't use LDFLAGS properly, so the above recipe Nelson> fails. At that point, I fix the Makefile.in, and report the problem Nelson> to the authors. Thank you! I have a working CVS Guile now. Neil _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel