From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Harig Newsgroups: gmane.lisp.guile.bugs Subject: Re: Missing and out-of-date information in guile.1, the Guile man page Date: Wed, 19 Jan 2011 21:31:10 -0500 Message-ID: <8CD86613C075756-1D10-34A6@webmail-m067.sysops.aol.com> References: <8CD818429F4EFE0-D0C-28BFF@Webmail-m115.sysops.aol.com> <87d3nxgaf9.fsf@ossau.uklinux.net> <8CD83CC14D7A7E0-1624-1AA70@webmail-m056.sysops.aol.com> <3D05815A-48F6-43E8-8A9D-5415972D032F@raeburn.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1295490700 4281 80.91.229.12 (20 Jan 2011 02:31:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 20 Jan 2011 02:31:40 +0000 (UTC) To: bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Jan 20 03:31:36 2011 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 1PfkJE-0004jq-Jn for guile-bugs@m.gmane.org; Thu, 20 Jan 2011 03:31:36 +0100 Original-Received: from localhost ([127.0.0.1]:59538 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PfkJE-0005b2-4z for guile-bugs@m.gmane.org; Wed, 19 Jan 2011 21:31:36 -0500 Original-Received: from [140.186.70.92] (port=36502 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PfkJ8-0005aA-G3 for bug-guile@gnu.org; Wed, 19 Jan 2011 21:31:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PfkJ6-0004rd-Bc for bug-guile@gnu.org; Wed, 19 Jan 2011 21:31:30 -0500 Original-Received: from imr-db01.mx.aol.com ([205.188.91.95]:44408) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PfkJ6-0004rJ-9A for bug-guile@gnu.org; Wed, 19 Jan 2011 21:31:28 -0500 Original-Received: from imo-da02.mx.aol.com (imo-da02.mx.aol.com [205.188.169.200]) by imr-db01.mx.aol.com (8.14.1/8.14.1) with ESMTP id p0K2VKTC029505 for ; Wed, 19 Jan 2011 21:31:20 -0500 Original-Received: from idirectscm@aim.com by imo-da02.mx.aol.com (mail_out_v42.9.) id 7.100b.437bf0c (37555) for ; Wed, 19 Jan 2011 21:31:15 -0500 (EST) Original-Received: from smtprly-da03.mx.aol.com (smtprly-da03.mx.aol.com [205.188.249.146]) by cia-mb03.mx.aol.com (v129.7) with ESMTP id MAILCIAMB034-5bbc4d379e6f29c; Wed, 19 Jan 2011 21:31:15 -0500 Original-Received: from webmail-m067 (webmail-m067.sim.aol.com [64.12.241.44]) by smtprly-da03.mx.aol.com (v129.5) with ESMTP id MAILSMTPRLYDA033-5bbc4d379e6f29c; Wed, 19 Jan 2011 21:31:11 -0500 X-AOL-IP: 98.185.24.91 In-Reply-To: <3D05815A-48F6-43E8-8A9D-5415972D032F@raeburn.org> X-MB-Message-Source: WebUI X-MB-Message-Type: User X-Mailer: AIM WebMail 33124-STANDARD Original-Received: from 98.185.24.91 by webmail-m067.sysops.aol.com (64.12.241.44) with HTTP (WebMailUI); Wed, 19 Jan 2011 21:31:10 -0500 X-AOL-SENDER: idirectscm@aim.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:4980 Archived-At: On Wed, Jan 19, 2011 at 02:50:29PM -0500, Ken Raeburn wrote: > > I think the right answer for that is not to tell people that they > have to set environment variables in order to run Guile programs, > but to tell developers how to link programs properly so that they > find the library at run time. This tends to be somewhat > platform-dependent, but often arguments like "-R" or "-rpath" are > needed; libtool should just Do The Right Thing, if it's used. I'm > less familiar with pkg-config, but expect it should be have > similarly. In fact, the man page for pkg-config on my system (Mac > OS X with MacPorts installed) says the "--libs-only-L" option > "prints the -L/-R part" of the link options, which suggests to me > that pkg-config is indeed supposed to be printing options to set the > run-time load path. If it's not doing that for you, then we should > figure out why not. > > In short, don't document how to work around a bug, if you can just > fix the bug. :-) > OK. Whichever approach is taken, readers of the Guile Reference Manual should be able to follow the steps described and have those steps work, that is, the generated program should run. My aim is to help get Guile 2.0 have as few defects as possible before it is released so that when new users try it, they have an error-free first pass.