From: Alan Grover <awgrover@mail.msen.com>
Subject: Re: new slib and guile 1.6.7
Date: Fri, 21 Oct 2005 16:06:54 -0400 [thread overview]
Message-ID: <43594A5E.7070909@mail.msen.com> (raw)
In-Reply-To: <20051021185451.92D965283@fnord.ir.bbn.com>
I have the same problem with 1.6.4 (no surprise) and slib3a2.
First, Kevin Ryde once wrote me:
> Incidentally, the (ice-9 slib) module which comes with guile probably
> doesn't work with the latest slib, running up guile.init as described
> in the slib docs is the way to go.
I found that ice-9/slib had to be removed (and replaced at your
preference with something that loads slib/guile.init). Presumably
ice-9/slib should be removed from guile.
Second, I think there is a bug in slib/guile.init related to line 28:
(define software-type
(if (string<? (version) "1.6")
(lambda () 'UNIX)
(lambda () 'unix)))
;
>From what I can tell, use of 'unix vs. 'UNIX is inconsistent throughout
guile.init (and thus causes problems with case-preserving symbols). I
punted and added both wherever either was used:
72c71
< ((unix coherent ms-dos) ;V7 unix has a / on HOME
---
> ((UNIX unix coherent ms-dos) ;V7 unix has a / on HOME
92c91
< ((unix coherent plan9) '(#\/))
---
> ((UNIX unix coherent plan9) '(#\/))
127c126
< ((UNIX COHERENT PLAN9 AMIGA) "/"))))
---
> ((unix UNIX COHERENT PLAN9 AMIGA) "/"))))
And third, once you get the error, you must delete slibcat to try again.
And fourth, I have been too lazy to send this bug report to the slib
guy. Could you finish characterizing the behavior, and propose the
(better) fix to the slib guy?
Greg Troxel wrote:
> I'm investigating why in NetBSD pkgsrc the update of slib to 3a2
> breaks the guile-slib package, failing when it tries to build the
> catalog:
>
> cd /usr/pkg/share/guile/slib; guile -q -s /usr/pkgsrc/devel/guile-slib/files/ge
> ncat.scm
> ERROR: Unbound variable: with-load-pathname
>
> gencat.scm is provided by the guile-slib package and is really pretty
> simple:
>
> ; $NetBSD: gencat.scm,v 1.1.1.1 2000/02/23 20:36:47 jlam Exp $
>
> (use-modules (ice-9 slib))
> (slib:load "mklibcat")
>
> It seems that guile has (ice-9 slib) and does not use guile.init from
> slib. I think (ice-9 slib) needs to have support for
> with-load-pathname for the new slib to work, but I don't really
> understand this.
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
next prev parent reply other threads:[~2005-10-21 20:06 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-21 18:54 new slib and guile 1.6.7 Greg Troxel
2005-10-21 20:06 ` Alan Grover [this message]
2005-10-21 21:40 ` Kevin Ryde
2005-10-28 13:33 ` Greg Troxel
2005-10-28 22:47 ` Kevin Ryde
2005-10-28 23:40 ` Greg Troxel
2005-10-29 19:52 ` Greg Troxel
2005-10-30 0:48 ` Kevin Ryde
2005-10-30 14:35 ` Greg Troxel
2005-10-30 23:58 ` Kevin Ryde
2005-10-31 22:42 ` Greg Troxel
2005-10-31 23:52 ` Kevin Ryde
2005-11-02 15:30 ` Greg Troxel
2005-11-02 20:16 ` Kevin Ryde
2005-11-04 15:46 ` Greg Troxel
2005-11-06 18:08 ` Rob Browning
2005-11-08 7:38 ` Rob Browning
2005-11-08 18:01 ` Greg Troxel
2005-11-08 19:43 ` Rob Browning
2005-11-09 14:56 ` Greg Troxel
2005-11-20 2:29 ` Rob Browning
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43594A5E.7070909@mail.msen.com \
--to=awgrover@mail.msen.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).