[Plib-users] Re: [FGFS-Devel] Can't build glut
Brought to you by:
sjbaker
From: Jason E. S. <tam...@ai...> - 2000-04-22 15:01:03
|
Jon Berndt writes: > I am atill trying to build plib. I may have discovered part of the problem, > and that is that even after having run ./configure, and having the gl, glut, > et. al. headers in > /usr/local/include/gl, somehow the ./configure.in script for plib is NOT > setting GLUT_IS_PRESENT. When running ./configure I get this: > > .. > .. > checking for GL/gl.h... (cached) no > checking for GL/glu.h... (cached) no > checking for windows.h... (cached) yes > checking for joystick.h... (cached) no > checking for linux/joystick.h... (cached) no > checking for GL/glut.h... (cached) no > checking for GL/freeglut.h... (cached) no > updating cache ./config.cache > .. > .. > > Well, that's just plain bogus, because the GL headers are right where they > are supposed to be. I wish I knew more about ./configure and how it worked. > I tried putting the glut.h header in all worts of places where it should > have been found, but I still get the same error for the compile. > > Now, if I go in and manually > > #include <GL/glut.h> > > I get a lot farther. A lot. So, under CygWin, there appears to be some > wierdness in the configure process - at least on my machine... > > Jon > Configure caches many types of checks in a file called config.cache. If you change something that is checked by configure that is cached, it won't pick it up. Try removing config.cache and running configure again. If that doesn't work, examine config.log. Configure checks for headers by trying to build a small program which includes the relevant header. You can check config.log (which should contain rather verbose output from configure) to see why the compilation failed and that should give you better information. Cheers, -Jason |