From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Rottmann Newsgroups: gmane.lisp.guile.devel Subject: Re: guild hall update Date: Tue, 23 Aug 2011 22:31:32 +0200 Message-ID: <877h63c1jv.fsf@rotty.yi.org> References: <87wre5jv0r.fsf@pobox.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1314131518 23601 80.91.229.12 (23 Aug 2011 20:31:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 23 Aug 2011 20:31:58 +0000 (UTC) Cc: guile-devel To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Aug 23 22:31:54 2011 Return-path: Envelope-to: guile-devel@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 1QvxdW-00070s-Lf for guile-devel@m.gmane.org; Tue, 23 Aug 2011 22:31:50 +0200 Original-Received: from localhost ([::1]:57572 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvxdW-0001q6-3K for guile-devel@m.gmane.org; Tue, 23 Aug 2011 16:31:50 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:44088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvxdT-0001px-QV for guile-devel@gnu.org; Tue, 23 Aug 2011 16:31:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QvxdN-0005KB-6A for guile-devel@gnu.org; Tue, 23 Aug 2011 16:31:47 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:40445) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QvxdM-0005K3-R2 for guile-devel@gnu.org; Tue, 23 Aug 2011 16:31:41 -0400 Original-Received: (qmail invoked by alias); 23 Aug 2011 20:31:39 -0000 Original-Received: from 85-127-63-7.dynamic.xdsl-line.inode.at (EHLO nathot.lan) [85.127.63.7] by mail.gmx.net (mp071) with SMTP; 23 Aug 2011 22:31:39 +0200 X-Authenticated: #3102804 X-Provags-ID: V01U2FsdGVkX1/YRdhlRsDYLdOWslDVJfQl4UPUMnmXT3Ti6c+nmZ sN1AI4WG9UnxWT Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by nathot.lan (Postfix) with ESMTP id 73EBD3A68F; Tue, 23 Aug 2011 22:31:38 +0200 (CEST) Original-Received: from nathot.lan ([127.0.0.1]) by localhost (nathot.lan [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SB4cYJGiaEni; Tue, 23 Aug 2011 22:31:33 +0200 (CEST) Original-Received: from delenn.lan (delenn.lan [192.168.3.11]) by nathot.lan (Postfix) with ESMTP id 4DCD93A685; Tue, 23 Aug 2011 22:31:33 +0200 (CEST) Original-Received: by delenn.lan (Postfix, from userid 1000) id CFAEF2C0086; Tue, 23 Aug 2011 22:31:32 +0200 (CEST) In-Reply-To: <87wre5jv0r.fsf@pobox.com> (Andy Wingo's message of "Mon, 22 Aug 2011 18:00:52 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.23 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:12720 Archived-At: Andy Wingo writes: > Hi all, > > Another status update on the construction of the guild hall. > > Since my last update, I moved all of the commands down from under the > "guild hall" namespace, so that it's now "guild update", "guild > install", etc. I also hacked a bit on the `guild' executable itself, > allowing "guild help FOO" to work, and generally making `guild' more > pleasant to use. > > Unlike dorodango, [... changes elided ...]. > So those are the changes. Now, the problems. The biggest problem right > now is that I don't know how it's supposed to work, by default. Should > I be able to "guild install foo" and then run guile, and import the > (foo) module directly? That's not how it currently works, because it > installs to somewhere in ~/.local by default. Should I be able to > install to the configured --prefix ? Should that be the default? If we > install to the --prefix, is it in a guild hall path or is it in Guile's > site dir? Should programs installed by the guild be in the default > path? > > Also, many upstream dorodango R6RS packages still wouldn't work, because > Guile doesn't do the .guile.sls / .sls thing by default. I think Guile > needs an --r6rs option that enables that and other R6RS options. > The way dorodango works (for programs) is that it installs a shell script wrapper for the configured implementation, which sets up the implementation-specific load-path and any options needed such as -x .guile.sls -x .sls for Guile. So for mere users, all they need to do is place e.g. ~/.local/bin into $PATH. I've tested that this works nicely for Guile as well; in fact, I'm using a few small programs (and dependent libraries) installed by dorodango, using Guile as implementation, almost daily. Scheme hackers OTOH are expected to modify their preferred implementation's load-path appropriatly, and invoke their REPL of choice with the correct incantation. Of course, an --r6rs shorthand option for Guile would help here. > Sigil doesn't currently compile files that it installs. It probably > should. It should probably recompile depending modules too, when > updating a package. > Yeah, that's indeed a feature I'd really like to add to dorodango, but I'm currently very short on personal hacking time. Regards, Rotty -- Andreas Rottmann --