From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tobias Gerdin Newsgroups: gmane.lisp.guile.user Subject: Re: project: translate guile-tutorial.texi to use guile-cairo Date: Tue, 20 Sep 2011 21:19:42 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1316546400 30625 80.91.229.12 (20 Sep 2011 19:20:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 20 Sep 2011 19:20:00 +0000 (UTC) Cc: guile-user@gnu.org To: Andy Wingo Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Sep 20 21:19:54 2011 Return-path: Envelope-to: guile-user@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 1R65rG-000595-5c for guile-user@m.gmane.org; Tue, 20 Sep 2011 21:19:54 +0200 Original-Received: from localhost ([::1]:34303 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R65rF-00028h-KX for guile-user@m.gmane.org; Tue, 20 Sep 2011 15:19:53 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R65rC-00028O-53 for guile-user@gnu.org; Tue, 20 Sep 2011 15:19:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R65rA-0008RL-Mp for guile-user@gnu.org; Tue, 20 Sep 2011 15:19:50 -0400 Original-Received: from mail-ww0-f49.google.com ([74.125.82.49]:35084) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R65rA-0008RA-Dj for guile-user@gnu.org; Tue, 20 Sep 2011 15:19:48 -0400 Original-Received: by wwp14 with SMTP id 14so924415wwp.30 for ; Tue, 20 Sep 2011 12:19:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=GYgaZYu4EIF2oAXVcxyYjS2/wIJZAXUOg1ex6OVe4NU=; b=A9ukWd+G23d9k7krDwZMq4ky+RIKPq/GxhKySjTiUAAK4WVo9Pv5eA5HG0uUvouEHQ /BITDkbAtRkpD02MKXfE3PHLRyKjJsdM54IJoCJMekw/DMj9Yg5Kj25WDy+fYIAUZxMG V/L0jeRtvWWk9mt07e7hLGxH7Zrp5hg/LLygs= Original-Received: by 10.227.204.198 with SMTP id fn6mr1305711wbb.96.1316546382266; Tue, 20 Sep 2011 12:19:42 -0700 (PDT) Original-Received: by 10.180.82.68 with HTTP; Tue, 20 Sep 2011 12:19:42 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.49 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:8818 Archived-At: 2011/9/20 Tobias Gerdin : > Lastly, just thought I'd mention an issue that I ran into when > building Guile-Cairo (commit 1918626 from Git, looks like it > corresponds to 1.9.91). When I run autogen/configure it complains that > I need to supply a prefix argument because "the default prefix, > /usr/local, is not in the default guile load path." But on my system > it is, I built Guile from stable-2.0 branch and installed into the > default /usr/local, so I do not think I should be seeing this error > (it works if I supply --prefix=/usr/local to Guile-Cairo configure). This would be a possible fix that WFM, but too hackish? But is there no standard robust method for doing this? Will not all Guile libraries need to solve this problem? -Tobias diff --git a/configure.ac b/configure.ac index df7a306..eb90bea 100644 --- a/configure.ac +++ b/configure.ac @@ -34,7 +34,7 @@ AC_PROG_CC AC_STDC_HEADERS AC_PROG_LIBTOOL -if test "x$prefix" = xNONE; then +if test "x$prefix" = xNONE -a `guile-config info prefix` != "/usr/local"; then AC_MSG_ERROR([No explicit prefix given. Guile-Cairo requires you to explicitly enter in a prefix when