Hi Steve,

[snip]
>Despite the name, guile-gnome does not _require_ gnome, but will check 
>for it and use it to build gnome bindings if available.   If gnome isn't 
>present, it builds into glib- and gtk+-only bindings.

        I have have confirmed this by installing guile-gnome (and easy
this was not!) and running the various test programs.  

>A few years ago I experimented with using guile-gtk from within gschem, 
>and once guile-gtk is installed, it "just worked" from gschem.  But I 
>can't find any of that hackery now.

        I actually did a little searching and found some of this original 
hackery.  And amazingly enough, I got the hello world (hello.scm in
guile-gnome) working within gschem once again (using File/Execute
Script...)  Below is the slightly modified script.


>Installing guile-gtk is harder than it should be, however.  It doesn't 
>ship with nearly as many distributions as guile, but doesn't work without 
>extra fiddling unless installed into the same prefix as guile itself. 
>Reportedly the guile folks are working to improve package installation 
>under guile-1.8.


        Yeah, installing guile-gnome was rather unpleasant.  configure script
wasn't happy with various versions of software I had installed (had to hack
the script) and I had to install a few new package (namely slib and g-wrap).
And I had to setup a whole bunch of various environment variables to get
gschem's guile interp. to find the library .so's.  But after all that, I 
was able to create a hello world button in gschem.

Fun, but hardly a piece of cake and I can't imagine people not having
trouble getting this working.

                                                                -Ales

Reply via email to