This is the mail archive of the guile-gtk@sourceware.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: cant find module gtk gdk


Ragnar Hojland Espinosa <ragnar@macula.net> writes:

> If you install guile (/usr/local) in a different prefix than guile-gtk
> (/usr/local/gtk), you need to symlink 
> 
> 	ln -s /usr/local/gtk/share/guile/gtk/
> 	ln -s /usr/local/gtk/share/guile/gtk-1.2/
> 
> into
> 
> 	/usr/local/share/guile/	

Yes, or you could add the appripritae directory to the GUILE_LOAD_PATH
environment variable.  There is this paragraph in the README that
explains my motivation.

    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.

Would you prefer to handle it differently?

- Marius

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