On Fri, 12 Jul 2002, Tom Sawyer wrote:

> Date: Fri, 12 Jul 2002 03:18:04 +0900
> From: Tom Sawyer <transami / transami.net>
> Reply-To: ruby-talk / ruby-lang.org
> To: ruby-talk ML <ruby-talk / ruby-lang.org>
> Subject: Re: opengl
>
> just did apt-get mesag-dev. still the same thing:
>
> Now Making glut extend module
> make[1]: Entering directory `/var/installs/opengl'
> gcc -fPIC -g -O2 -fPIC  -I. -I. -I/usr/lib/ruby/1.6/i386-linux -I.
> -I/usr/include    -I/usr/X11R6/include -c -o glut.o glut.c
> make[1]: Leaving directory `/var/installs/opengl'
> glut.c:8: GL/glut.h: No such file or directory
> make[1]: *** [glut.o] Error 1
> make: *** [glut.so] Error 2
>
> ~transami

I would figure out where your gnut.h files reside and then just add thatq
directory to your gcc command line with the -I option.

Your Makefile or even Configure likely has options to support this, so you
shouldn't have to edit the Makefile manually.

-Chris