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]

Re: Error in guile-gtk


Ivan Toshkov <ivant@intransco.com> writes:

> On Tue, Jun 15, 1999 at 07:05:15PM -0500, Ariel Rios wrote:
> > I 've a problem with guile-gtk when it is installed in Red Hat 6.0.
> > After making the installation guile-gtk won't work. The following error is
> > returned by guile.
> >  
> > > [lunarbard@localhost lunarbard]$ guile-gtk
> > > ERROR: In procedure gsubr-apply in expression (scm-error (quote
> > > misc-error) #f ...):
> > > ERROR: no such module (gtk-1.2 gtk)
>
> I've experienced such an error, too. RedHat 6.0 guile doesn't search
> for modules in /usr/local/share/guile by default and this is where
> the guile-gtk is installed.

I suppose so, too.  Here is what the guile-gtk/README has to say about
this issue:

    NOTE: This package installs its Scheme code in a location
    determined by the prefix given to the configure script.  It does
    not pay attention to where your Guile is installed.  When Guile
    and this package are installed under the same prefix, everything
    is fine.  When you use a different prefix for this package, you
    need to make sure that Guile knows about this location.  For
    example, when you install this package under
    /usr/local/stuff/guile-gtk, you may want to add
    GUILE_LOAD_PATH=/usr/local/stuff/guile-gtk/share/guile to your
    environment.  Or you might want to make some symlinks.  This
    package does not try to be clever about these issues, as there are
    too many variations and potential solutions.

I think this problem should be solved by the RH6 package maintainer of
Guile by patching Guile to include /usr/local/share/guile in the
default %load-path.

- Marius

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]