GNOME Bugzilla – Bug 562699
configure.ac doesn't find opengl on os x
Last modified: 2009-08-10 23:50:44 UTC
After running autogen.sh, the configure scrip fails on this line: dnl Check for GLEW/OpenGL AC_SEARCH_LIBS(glLoadIdentity, [GL opengl32], , AC_MSG_ERROR([Opengl not found make sure you have Opengl installed])) with the error: checking for library containing glLoadIdentity... no configure: error: Opengl not found make sure you have Opengl installed configure failed
On my OS X 10.4 box, glLoadIdentity is actually resolved via -framework OpenGL, not -lGL directly.
did you change your own configure.ac then?
I didn't try it (I don't have enough sandbox machines to play with CVS releases of this right now), but a standard OS X porting trick is to pass flags like that via LDFLAGS. First gotta see if it solves the problem before working out a clean & portable ./configure test alternative. OTOH, you noted that the test failed, but not really *how* it failed. Would be useful to see the config.log results to know what the actual error was (could be something unrelated to the actual symbol check).
ping ? (should be ok now)
Yeah it is fixed now, thanks.