Alex Gutteridge wrote:

>I'm having problems installing the Ruby bindings for GtkGlExt. I've
>installed the latest version of GtkGlExt (v.1.0.6) which seems to have
>installed the following libs:
>
>The GtkGlExt libraries seem to call themselves libgtkglext-x11, is
>this why extconf can't find them? If so should I rename the libraries,
>or patch extconf?
>
>  
>
I'm assuming from the information you provided that you should have a file
called /home/alexg/lib/pkgconfig/gtkglext-1.0.pc

The most likely cause of the problem is that your PKG_CONFIG_PATH 
variable isn't set up correctly to find libraries installed in 
non-system locations.
To set it, use something like (in a sh-style shell):

  $ export 
PKG_CONFIG_PATH=/home/alexg/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig

To check that pkg-config is now finding the .pc file use:
    $ pkg-config --list-all|grep gtkglext

It should list:
    gtkglext-x11-1.0            GtkGLExt - OpenGL Extension to GTK+ (x11 
target)
    gtkglext-1.0                GtkGLExt - OpenGL Extension to GTK+ (x11 
target)

If it does, you'll just need to make sure that PKG_CONFIG_PATH is set 
the same way before calling extconf.rb.

HTH,


Geoff.