unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* SLIB load broken.
@ 2004-06-13 15:32 Han-Wen Nienhuys
  2004-06-14 22:56 ` Kevin Ryde
  0 siblings, 1 reply; 2+ messages in thread
From: Han-Wen Nienhuys @ 2004-06-13 15:32 UTC (permalink / raw)


X-Mailer: VM 7.14 under Emacs 21.3.1
Reply-To: hanwen@xs4all.nl
FCC: ~/persoonlijk/Mail/sent


following the instructions in README, I get

	byrd:~/usr/src/lilypond$ ls -l ` guile-config info pkgdatadir`
	totaal 4
	drwxrwxr-x  8 hanwen hanwen 4096 jun 13 00:22 1.7
	lrwxrwxrwx  1 hanwen hanwen   26 jun 13 17:06 slib -> /usr/share/umb-scheme/slib
	byrd:~/usr/src/lilypond$ guile
	guile> (use-modules (ice-9 slib))

	ERROR: Unbound variable: system
	ABORT: (unbound-variable)
	guile> 



-- 

 Han-Wen Nienhuys   |   hanwen@xs4all.nl   |   http://www.xs4all.nl/~hanwen 



_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: SLIB load broken.
  2004-06-13 15:32 SLIB load broken Han-Wen Nienhuys
@ 2004-06-14 22:56 ` Kevin Ryde
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Ryde @ 2004-06-14 22:56 UTC (permalink / raw)
  Cc: guile-devel

Han-Wen Nienhuys  <hanwen@xs4all.nl> writes:
>
> 	guile> (use-modules (ice-9 slib))
>
> 	ERROR: Unbound variable: system

Oh, it got stricter about redefinitions within modules I guess.  Maybe
it should be

(if (defined? 'system)
    (begin
      (define guile-core-system system)
      (define-public system
        (lambda (str)
          (let ((st (guile-core-system str)))
            (or (status:exit-val st)
                (+ 128 (or (status:term-sig st)
                           (status:stop-sig st)))))))))


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-06-14 22:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-13 15:32 SLIB load broken Han-Wen Nienhuys
2004-06-14 22:56 ` Kevin Ryde

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).