* [David Pirotte <david@altosw.be>] Re: guile problem
@ 2000-01-05 9:37 Jim Blandy
2000-01-06 13:48 ` Marius Vollmer
0 siblings, 1 reply; 2+ messages in thread
From: Jim Blandy @ 2000-01-05 9:37 UTC (permalink / raw)
To: guile-gtk
------- Start of forwarded message -------
Message-ID: <386A1205.19191457@altosw.be>
Date: Wed, 29 Dec 1999 14:52:05 +0100
From: David Pirotte <david@altosw.be>
Organization: Alto Software scrl
To: Jim Blandy <jimb@red-bean.com>
Subject: Re: guile problem
References: <3867A55A.22544CCD@altosw.be> <m3ogbbt3x3.fsf@savonarola.red-bean.com>
Jim Blandy wrote:
>
> You need a newer Guile --- 1.3 is very old. 1.3.4 is quite stable,
> and has this problem fixed.
>
Thanks Jim. In fact, I was using 1.3.4 but because of dates on the server,
I thought despite file size, that 1.3 whas "newer".
In fact I dowloaded 1.3 to try to solve a little problem, which I just now posted
to guile-gtk@sourceware.cygnus.com but got rejected.
So, here is my problem, could you forward it to guile-gtk for me? Many thanks if
yes.
David
;;;
;;; guile-gtk and ggl little problem
;;;
Hello,
I am using
guile 1.3.4
guile-gtk 0.17
david@faust:~ 1 $ env | grep guile
GUILE_LOAD_PATH=/usr/local/share/guile:/usr/local/share/guile-gtk
I have the "strange" following behavior:
david@faust:~/alto/projects/guile 6 $ ./ggl.scm
ERROR: Unbound variable: string-match
so does:
david@faust:~/alto/projects/guile 10 $ guile-gtk -s ./ggl.scm
ERROR: Unbound variable: string-match
and:
david@faust:~/alto/projects/guile 27 $ guile-gtk -e main -s ggl.scm
ERROR: Unbound variable: string-match
Although:
david@faust:~/alto/projects/guile 11 $ guile
guile> (load "ggl.scm")
guile> (ggl)
works perfectly fine!
What is it that I did not understand here?
Many thanks for your help
David
------- End of forwarded message -------
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [David Pirotte <david@altosw.be>] Re: guile problem
2000-01-05 9:37 [David Pirotte <david@altosw.be>] Re: guile problem Jim Blandy
@ 2000-01-06 13:48 ` Marius Vollmer
0 siblings, 0 replies; 2+ messages in thread
From: Marius Vollmer @ 2000-01-06 13:48 UTC (permalink / raw)
To: David Pirotte; +Cc: guile-gtk
> I have the "strange" following behavior:
>
> david@faust:~/alto/projects/guile 6 $ ./ggl.scm
> ERROR: Unbound variable: string-match
> [...]
> Although:
>
> david@faust:~/alto/projects/guile 11 $ guile
> guile> (load "ggl.scm")
> guile> (ggl)
>
> works perfectly fine!
You need to put a
(use-modules (ice-9 regex))
at the start of ggl.scm. Files that are loaded from the prompt run in
a different environment than the one loaded via the "-s" command line
option. From the prompt, the (ice-9 regex) module is already visible.
- Marius
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-01-06 13:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-05 9:37 [David Pirotte <david@altosw.be>] Re: guile problem Jim Blandy
2000-01-06 13:48 ` Marius Vollmer
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).