From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vorfeed Canal Newsgroups: gmane.lisp.guile.user Subject: Re: PHP to GUILE Date: Mon, 26 Sep 2005 11:43:59 +0400 Message-ID: <6efab235050926004326d03d6a@mail.gmail.com> References: <6efab235050925145055ba774c@mail.gmail.com> <87ll1k61w4.fsf@zip.com.au> Reply-To: Vorfeed Canal NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1127730996 714 80.91.229.2 (26 Sep 2005 10:36:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 26 Sep 2005 10:36:36 +0000 (UTC) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Sep 26 12:36:32 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EJqLV-000174-2I for guile-user@m.gmane.org; Mon, 26 Sep 2005 12:36:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EJqLM-0004aV-Fr for guile-user@m.gmane.org; Mon, 26 Sep 2005 06:36:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EJnhU-0006Tj-Ea for guile-user@gnu.org; Mon, 26 Sep 2005 03:47:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EJngo-0006OB-DG for guile-user@gnu.org; Mon, 26 Sep 2005 03:46:58 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EJnen-0005fW-Ec for guile-user@gnu.org; Mon, 26 Sep 2005 03:44:14 -0400 Original-Received: from [72.14.204.192] (helo=qproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EJnec-0003Od-SV for guile-user@gnu.org; Mon, 26 Sep 2005 03:44:03 -0400 Original-Received: by qproxy.gmail.com with SMTP id p36so384244qba for ; Mon, 26 Sep 2005 00:44:00 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=c9XDnWSjzL34imwo+0fdku58xdux0KqpMx5S85Xzhi+CG++6XDWkNYBomujX7Q0PNyfeOalN8esYroWDl9GHJj8DkC2wfQ3yhGGwmiX4dXbo+zgYplm4yi0toX88K/qgBTAUyPu98tyc0HiGh3FniDen218GMuqVyhtzvKN1ysk= Original-Received: by 10.65.122.9 with SMTP id z9mr507850qbm; Mon, 26 Sep 2005 00:43:59 -0700 (PDT) Original-Received: by 10.65.100.16 with HTTP; Mon, 26 Sep 2005 00:43:59 -0700 (PDT) Original-To: guile-user@gnu.org In-Reply-To: <87ll1k61w4.fsf@zip.com.au> Content-Disposition: inline X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:4770 Archived-At: On 9/26/05, Kevin Ryde wrote: > Vorfeed Canal writes: > > With a full path to `load-extension' you can put a module anywhere. But you can not give control to user then ! > If your code is a package in its own right then this is a good thing, > so you can be certain to get the right file (ie. whatever crazy > directory the user might have given). If you are writing stand-alone package then it can be good thing, yes. But if you are writing extension module for GUILE... USER or may be APPLICATION WRITER must be in control, not GUILE! If you'll run Guile-GNOME's configure without specifying --prefix you'll see this: -- cut -- Guile-GNOME requires you to explicitly enter in a prefix when configuring. This is because the default prefix, /usr/local, is not in the default guile load path. What you probably want to do is to run ./configure --prefix=3D/usr so that guile can find the guile-gnome modules when they are installed. If you choose to install to a prefix that is not in guile's load path, you will need to modify GUILE_LOAD_PATH and LD_LIBRARY_PATH every time you run guile. (Which is a pain.) -- cut -- This means I'm not the only one who feel like this hardcoded path is not a good solution. _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user