[lug] OpenGL (gl.h, glx.h, glu.h)

D. Stimits stimits at idcomm.com
Mon Mar 6 19:55:48 MST 2000

Gary Hodges wrote:
> I was trying to load the Perl PDL::NetCDF module (which required another
> module), and it failed saying I needed gl.h, glx.h and glu.h.  What
> package(s) (hopefully rpm) do I need to install to get these guys?
> Cheers,
> Gary
> ---
> OpenGL.xs:8: GL/gl.h: No such file or directory
> OpenGL.xs:9: GL/glx.h: No such file or directory
> OpenGL.xs:10: GL/glu.h: No such file or directory
> make[3]: *** [OpenGL.o] Error 1
> make[3]: Leaving directory
> `/home/hodges/.cpan/build/PDL-2.003/Graphics/TriD/OpenGL'
> make[2]: *** [subdirs] Error 2
> make[2]: Leaving directory `/home/hodges/.cpan/build/PDL-2.003/Graphics/TriD'
> make[1]: *** [subdirs] Error 2
> make[1]: Leaving directory `/home/hodges/.cpan/build/PDL-2.003/Graphics'
> make: *** [subdirs] Error 2
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug

These are OpenGL headers. Linux usually uses the Mesa free version. In
either case, your X server will require the glx extension ability
(most have this, but not the actual OpenGL without Mesa). Do a search
for Mesa at

More information about the LUG mailing list