| Summary: | media-libs/libcaca-0.99_beta14 requires freeglut (needs sh love) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Chad A. Simmons <chad.simmons> |
| Component: | Current packages | Assignee: | Gentoo SuperH Porters <sh+disabled> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | mail, media-video, svrmarty, theli.ua, zlynx |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Chad A. Simmons
2008-08-06 13:48:26 UTC
Tried both gluts that provide virtual/glut checking for GL/glut.h... no configure: error: cannot find OpenGL+FreeGLUT development files Thanks, fixed now. sh and bsd don't have freeglut keyworded, they're indev profiles so I've not dropped the keywords (not sure about sh policy there). installing freeglut here still causes the failure. I suspect the configure script may need some patching as I see it is checking for some functions in GL/glut.h which is incorrect as the header file is called freeglut.h in freeglut.
configure:18959: result: no
configure:18987: checking for GL/glut.h
configure:18996: result: no
configure:19239: error: cannot find OpenGL+FreeGLUT development files
if test "${enable_gl}" != "no"; then
ac_cv_my_have_gl="no"
AC_CHECK_HEADERS(GL/gl.h OpenGL/gl.h,
[AC_CHECK_HEADERS(GL/glut.h,
[AC_CHECK_LIB(glut, glutCloseFunc,
[AC_DEFINE(HAVE_GLUTCLOSEFUNC, 1, Define to 1 if you have the `glutCloseFunc' function.)])
AC_CHECK_LIB(glut, glutMainLoopEvent,
[ac_cv_my_have_gl="yes"])
AC_CHECK_LIB(glut, glutCheckLoop,
[ac_cv_my_have_gl="yes"
AC_DEFINE(HAVE_GLUTCHECKLOOP, 1, Define to 1 if you have the `glutCheckLoop' function.)])])
break])
if test "${ac_cv_my_have_gl}" = "yes"; then
AC_DEFINE(USE_GL, 1, Define to 1 to activate the OpenGL backend driver)
GL_LIBS="${GL_LIBS} -lGL -lglut"
CACA_DRIVERS="${CACA_DRIVERS} gl"
elif test "${enable_gl}" = "yes"; then
AC_MSG_ERROR([cannot find OpenGL+FreeGLUT development files])
fi
PKG_CHECK_MODULES(FTGL, ftgl >= 2.1.3, [FTGL="yes"], [FTGL="no"])
AM_CONDITIONAL(USE_FTGL, test "${FTGL}" = "yes")
fi
(In reply to comment #3) > installing freeglut here still causes the failure. I suspect the configure > script may need some patching as I see it is checking for some functions in > GL/glut.h which is incorrect as the header file is called freeglut.h in > freeglut. > > configure:18959: result: no > configure:18987: checking for GL/glut.h > configure:18996: result: no > configure:19239: error: cannot find OpenGL+FreeGLUT development files please attach the config.log then > AC_CHECK_HEADERS(GL/gl.h OpenGL/gl.h, > [AC_CHECK_HEADERS(GL/glut.h, > [AC_CHECK_LIB(glut, glutCloseFunc, > [AC_DEFINE(HAVE_GLUTCLOSEFUNC, 1, Define to 1 if you have the > `glutCloseFunc' function.)]) > AC_CHECK_LIB(glut, glutMainLoopEvent, > [ac_cv_my_have_gl="yes"]) > AC_CHECK_LIB(glut, glutCheckLoop, I read here that it checks for the headers and then for functions present in the library libglut. bsd done This require for freeglut is screwing my dependency graph. I don't *want* to use freeglut, but libcaca requires it now and it conflicts with glut which other packages require. Really, what could libcaca possibly need from freeglut that glut can't give it? Please change the dependency to virtual/glut. Well, never mind. I finally did manage to get everything converted to freeglut. Still, an annoying problem. emerge libcaca shows the following [ebuild N ] media-libs/freeglut-2.4.0-r1 [ebuild U ] media-libs/libcaca-0.99_beta14 [0.99_beta11] USE="-mono% -ruby%" [blocks B ] media-libs/glut (is blocking media-libs/freeglut-2.4.0-r1) [blocks B ] media-libs/freeglut (is blocking media-libs/glut-3.7.1) should't it be virtual/glut ? This was fixed already |