[GRASSLIST:987] Re: GRASS cvs doesn't find gl.h at configure time - Ubuntu Dapper

Hamish hamish_nospam at yahoo.com
Wed May 3 06:34:16 EDT 2006


> > > I'm on Ubuntu Dapper Drake, so I'm quite on an experiment.. I'll be
> > > grateful if you can help me.
> > > 
> > > I'm not able to get 6.1.cvs configured for compiling as usual.
> > > configure complains about missing the file gl.h
..
> I double checked and perhaps this is the problem:
> 
> steko at cycnus:~$ apt-file search gl.h | grep /gl.h$
> k3d-dev: usr/include/k3d/k3dsdk/gl.h
> libclanlib-dev: usr/include/ClanLib/gl.h
> libcoin40-dev: usr/include/Inventor/C/glue/gl.h
> libcoin40-dev: usr/include/Inventor/system/gl.h
> libfltk1.1-dev: usr/include/FL/gl.h
> mesa-common-dev: usr/include/GL/gl.h
> mingw32-runtime: usr/i586-mingw32msvc/include/GL/gl.h
> nvidia-glx-dev: usr/share/doc/nvidia-glx-dev/include/GL/gl.h
> nvidia-glx-legacy-dev: usr/share/doc/nvidia-glx-legacy-dev/include/GL/gl.h
> 
> steko at cycnus:~$ ls /usr/include/GL/
> freeglut_ext.h  freeglut_std.h  glu.h         glut.h    glx.h     glx_mangle.h  glxproto.h   internal
> freeglut.h      gle.h           glu_mangle.h  glxext.h  glxint.h  glxmd.h       glxtokens.h
> 
> It seems like in fact gl.h isn't provided by that package.


check if the file is registered as being installed,

$ dpkg -S /usr/include/GL/gl.h
xlibmesa-gl-dev: /usr/include/GL/gl.h

(that's a symlink to /usr/X11R6/include/GL/gl.h)

$ locate /gl.h
/usr/include/GL/gl.h
/usr/X11R6/include/GL/gl.h

after locating, maybe you have to set with ./configure
--with-opengl-includes=
--with-opengl-libs=

--with-glw-*= ?


Hamish




More information about the grass-user mailing list