Guile Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Some sort of bug??
Version is slib2c3 I think, which I believe is the latest one. Which one
should I be using?
Anyway, It doesn't seem to be some deep dark slib problem. Is there
something going on here
with modules and namespaces I don't understand? The xscm:vicinity symbol
seems to be
defined, but gives an error when it is accessed in a loaded file. But I
think if I get that strvec.scm
file and cut and paste it into the REPL, it seems to be ok.
email@example.com on 10/28/98 04:29:04 AM
cc: firstname.lastname@example.org (bcc: Chris Bitmead/CHA)
Subject: Re: Some sort of bug??
> What should I make of this?....
> guile> (use-modules (ice-9 slib))
> ;; set up some slib catalogs....
> guile> (load "/usr/local/share/guile/site/xscm-init.scm")
> guile> (require 'stringvector)
> /usr/local/share/guile/site/strvec.scm:4:43: In expression
> /usr/local/share/guile/site/strvec.scm:4:43: Unbound variable:
> ABORT: (misc-error)
What version of SLIB are you using? I don't think the latest works
> Type "(backtrace)" to get more information.
> guile> (x-scm:vicinity)
> guile> x-scm:vicinity
> #<procedure x-scm:vicinity ()>
> guile> ^^D
> $ cat /usr/local/share/guile/site/strvec.scm
> ;; $Id: strvec.scm,v 1.2 1996/04/18 12:15:30 skimu Exp $
> (if (and (defined? 'dynamic-link)
> (not (defined? 'stringvector)))
> (let ((shl (dynamic-link (in-vicinity (x-scm:vicinity)
> (dynamic-call "init_strvec" shl)))
Guile Home |
Main Index |