This is the mail archive of the guile@cygnus.com mailing list for the guile project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Chris Bitmead <chrisb@ans.com.au> writes: > 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") The definition of x-scm:vicinity is loaded into the current module (probably the default one: (guile-user)). > guile> (require 'stringvector) Require tries to load "strvec.scm" (or whatever has been associated with the symbol stringvector) into the slib module ((ice-9 slib)). > /usr/local/share/guile/site/strvec.scm:4:43: In expression > (x-scm:vicinity): > /usr/local/share/guile/site/strvec.scm:4:43: Unbound variable: > x-scm:vicinity > ABORT: (misc-error) x-scm:vicinity isn't defined in the slib module... All of the above should work if you load the init file into the slib module: (use-modules (ice-9 slib)) ; load slib module (define-module (ice-9 slib)) ; go to slib module (load ...) (Note: The slib module is only designed as an interface to the slib library. It was never intended to emulate SCM. Using it to run other packages than slib is stretching it beyond its limits.) /mdj