guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new slib and guile 1.6.7


From: Greg Troxel
Subject: Re: new slib and guile 1.6.7
Date: 29 Oct 2005 15:52:43 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

I put the following in ice-9/slib.scm, and while a bit gross, let me
load stdio and use printf.  This assumes that slib is a directory in
pkgdatadir; pkgsrc systems install it in /usr/pkg/share/slib and then
symlink it to /usr/pkg/share/guile/slib.

;; Load slib's init file directly, implicitly symbols into the current
;; module.
(load (string-append (assoc-ref %guile-build-info 'pkgdatadir)
                     "/slib/guile.init")))

;; use-modules will fail if the file fails to define the module
(define-module (ice-9 slib))


I'm probably going to  add a patch to pkgsrc's guile entry to change
ice-9/slib.scm to the above; right now gnucash doesn't work in pkgsrc.

Comments on the above, and how better to do it appreciated.


-- 
        Greg Troxel <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]