When I try to emerge libquicktime, I get errors about non-existing files/directories or syntactic ones. Reproducible: Always Steps to Reproduce: 1. emerge -uDav libquicktime 2. 3. Actual Results: lqtplay.c:42:19: GL/gl.h: No existe el fichero o el directorio En el fichero inclu
When I try to emerge libquicktime, I get errors about non-existing files/directories or syntactic ones. Reproducible: Always Steps to Reproduce: 1. emerge -uDav libquicktime 2. 3. Actual Results: lqtplay.c:42:19: GL/gl.h: No existe el fichero o el directorio En el fichero incluído de lqtplay.c:43: /usr/include/GL/glu.h:35:19: GL/gl.h: No existe el fichero o el directorio In file included from lqtplay.c:43: /usr/include/GL/glu.h:262: error: error sintáctico before '*' token /usr/include/GL/glu.h:262: error: `GLvoid' declared as function returning a function /usr/include/GL/glu.h:269: error: error sintáctico before "gluBuild1DMipmapLevels" /usr/include/GL/glu.h:269: error: error sintáctico before "target" /usr/include/GL/glu.h:270: error: error sintáctico before "gluBuild1DMipmaps" /usr/include/GL/glu.h:270: error: error sintáctico before "target" /usr/include/GL/glu.h:271: error: error sintáctico before "gluBuild2DMipmapLevels" /usr/include/GL/glu.h:271: error: error sintáctico before "target" /usr/include/GL/glu.h:272: error: error sintáctico before "gluBuild2DMipmaps" /usr/include/GL/glu.h:272: error: error sintáctico before "target" /usr/include/GL/glu.h:273: error: error sintáctico before "gluBuild3DMipmapLevels" /usr/include/GL/glu.h:273: error: error sintáctico before "target" /usr/include/GL/glu.h:274: error: error sintáctico before "gluBuild3DMipmaps" /usr/include/GL/glu.h:274: error: error sintáctico before "target" /usr/include/GL/glu.h:275: error: error sintáctico before "gluCheckExtension" /usr/include/GL/glu.h:275: error: error sintáctico before '*' token /usr/include/GL/glu.h:276: error: error sintáctico before "GLdouble" /usr/include/GL/glu.h:280: error: error sintáctico before "GLdouble" /usr/include/GL/glu.h:285: error: error sintáctico before '*' token /usr/include/GL/glu.h:285: error: error sintáctico before "error" /usr/include/GL/glu.h:286: error: error sintáctico before "GLenum" /usr/include/GL/glu.h:287: error: error sintáctico before '*' token /usr/include/GL/glu.h:287: error: error sintáctico before "name" /usr/include/GL/glu.h:288: error: error sintáctico before "GLenum" /usr/include/GL/glu.h:289: error: error sintáctico before '*' token /usr/include/GL/glu.h:290: error: error sintáctico before "eyeX" /usr/include/GL/glu.h:294: error: error sintáctico before "GLenum" /usr/include/GL/glu.h:295: error: error sintáctico before "GLenum" /usr/include/GL/glu.h:298: error: error sintáctico before "GLint" /usr/include/GL/glu.h:299: error: error sintáctico before "GLenum" /usr/include/GL/glu.h:300: error: error sintáctico before "GLint" /usr/include/GL/glu.h:301: error: error sintáctico before "left" /usr/include/GL/glu.h:302: error: error sintáctico before "GLdouble" /usr/include/GL/glu.h:303: error: error sintáctico before "fovy" /usr/include/GL/glu.h:304: error: error sintáctico before "x" /usr/include/GL/glu.h:305: error: error sintáctico before "gluProject" /usr/include/GL/glu.h:305: error: error sintáctico before "objX" /usr/include/GL/glu.h:306: error: error sintáctico before "GLint" /usr/include/GL/glu.h:307: error: error sintáctico before "GLenum" /usr/include/GL/glu.h:308: error: error sintáctico before "GLenum" /usr/include/GL/glu.h:309: error: error sintáctico before "GLenum" /usr/include/GL/glu.h:310: error: error sintáctico before "GLenum" /usr/include/GL/glu.h:311: error: error sintáctico before "GLboolean" /usr/include/GL/glu.h:312: error: error sintáctico before "gluScaleImage" /usr/include/GL/glu.h:312: error: error sintáctico before "format" /usr/include/GL/glu.h:313: error: error sintáctico before "GLdouble" /usr/include/GL/glu.h:316: error: error sintáctico before "GLenum" /usr/include/GL/glu.h:319: error: error sintáctico before "GLdouble" /usr/include/GL/glu.h:320: error: error sintáctico before "GLenum" /usr/include/GL/glu.h:321: error: error sintáctico before "GLdouble" /usr/include/GL/glu.h:322: error: error sintáctico before "gluUnProject" /usr/include/GL/glu.h:322: error: error sintáctico before "winX" /usr/include/GL/glu.h:323: error: error sintáctico before "gluUnProject4" /usr/include/GL/glu.h:323: error: error sintáctico before "winX" lqtplay.c:44:20: GL/glx.h: No existe el fichero o el directorio lqtplay.c:441: error: error sintáctico before "gl_texture" lqtplay.c:441: aviso: data definition has no type or storage class lqtplay.c:442: error: `GLX_RGBA' undeclared here (not in a function) lqtplay.c:442: error: el elemento inicializador no es constante lqtplay.c:442: error: (near initialization for `gl_attrib[0]') lqtplay.c:443: error: `GLX_RED_SIZE' undeclared here (not in a function) lqtplay.c:443: error: el elemento inicializador no es constante lqtplay.c:443: error: (near initialization for `gl_attrib[1]') lqtplay.c:444: error: `GLX_GREEN_SIZE' undeclared here (not in a function) lqtplay.c:444: error: el elemento inicializador no es constante lqtplay.c:444: error: (near initialization for `gl_attrib[3]') lqtplay.c:445: error: `GLX_BLUE_SIZE' undeclared here (not in a function) lqtplay.c:445: error: el elemento inicializador no es constante lqtplay.c:445: error: (near initialization for `gl_attrib[5]') lqtplay.c:446: error: `GLX_DEPTH_SIZE' undeclared here (not in a function) lqtplay.c:446: error: el elemento inicializador no es constante lqtplay.c:446: error: (near initialization for `gl_attrib[7]') lqtplay.c:447: error: `GLX_DOUBLEBUFFER' undeclared here (not in a function) lqtplay.c:447: error: el elemento inicializador no es constante lqtplay.c:447: error: (near initialization for `gl_attrib[9]') lqtplay.c: En la función `gl_resize': lqtplay.c:453: error: `GL_PROJECTION' undeclared (first use in this function) lqtplay.c:453: error: (Each undeclared identifier is reported only once lqtplay.c:453: error: for each function it appears in.) lqtplay.c:456: error: `GL_MODELVIEW' undeclared (first use in this function) lqtplay.c: En la función `gl_blit': lqtplay.c:469: error: `GL_TEXTURE_2D' undeclared (first use in this function) lqtplay.c:470: error: `GL_TEXTURE_MAG_FILTER' undeclared (first use in this function) lqtplay.c:470: error: `GL_LINEAR' undeclared (first use in this function) lqtplay.c:471: error: `GL_TEXTURE_MIN_FILTER' undeclared (first use in this function) lqtplay.c:474: error: `GL_RGB' undeclared (first use in this function) lqtplay.c:476: error: `GL_UNSIGNED_BYTE' undeclared (first use in this function)lqtplay.c:485: error: `GL_TEXTURE_ENV' undeclared (first use in this function) lqtplay.c:485: error: `GL_TEXTURE_ENV_MODE' undeclared (first use in this function) lqtplay.c:485: error: `GL_DECAL' undeclared (first use in this function) lqtplay.c:486: error: `GL_QUADS' undeclared (first use in this function) lqtplay.c: En la función `gl_init': lqtplay.c:499: error: `GLXContext' undeclared (first use in this function) lqtplay.c:499: error: error sintáctico before "ctx" lqtplay.c:504: aviso: asignación se crea un puntero desde un entero sin una conversión lqtplay.c:509: error: `ctx' undeclared (first use in this function) lqtplay.c:539: error: `GL_FLAT' undeclared (first use in this function) lqtplay.c:540: error: `GL_UNPACK_ALIGNMENT' undeclared (first use in this function) make[3]: *** [lqtplay.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/libquicktime-0.9.4/work/libquicktime-0.9.4/utils' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/libquicktime-0.9.4/work/libquicktime-0.9.4/utils' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libquicktime-0.9.4/work/libquicktime-0.9.4' make: *** [all] Error 2 !!! ERROR: media-libs/libquicktime-0.9.4 failed. !!! Function src_compile, Line 58, Exitcode 2 !!! make failed Expected Results: emerge satisfactory
# emerge info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r4 i686) ================================================================= System uname: 2.6.11-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1.50GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Apr 29 2005, 21:27:20)] ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe -mmmx -msse2 -msse -mfpmath=sse -fforce-addr -ffast-math" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -mmmx -msse2 -msse -mfpmath=sse -fforce-addr -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="es_ES@euro" LC_ALL="es_ES@euro" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib acpi alsa apm arts avi bash-completion berkdb bitmap-fonts bonobo cdr crypt cups curl dvd dvdr emboss encode esd fam flac foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 java jpeg kde ldap libg++ libwww mad mikmod motif mozilla mp3 mpeg msn mutilib ncurse ncurses nls npl ogg oggvorbis oss pam pdflib perl png python qt quicktime readline samba sdl sockets spell sse ssl svga tcltk tcpd tiff truetipe truetype truetype-fonts type1-fonts unicode usb videos vorbis xml xml2 xmms xv zlib video_cards_radeon" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
You need to build xorg-x11 with opengl useflag to build libquicktime. I've changed the check in libquicktime ebuild so that it checks for opengl instead of xv.
Hi! I have recompiled xorg with opengl useflag, and then tried to recompile libquicktime, but I'm still having the same problem.