When I try to emerge QT-3.3.3 it errors out on some weird error. Seems to have something todo with opengl. Tried three times and it breaks each time. Tried with "less aggressive" CFLAGS each time, although Ill only post my most aggressive ones. I suppose emerging qt with USE="-opengl" will fix it, and I will try that later, but its still a bug, eh?:) Reproducible: Always Steps to Reproduce: 1.emerge qt 2.*wait* 3.*poof* Actual Results: BLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_XINERAMA -DQT_DLOPEN_OPENGL -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC -I/var/tmp/portage/qt-3.3.3/work/qt-x11-free-3.3.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qgl.o opengl/qgl.cpp In file included from opengl/qgl.h:79, from opengl/qgl.cpp:38: /usr/X11R6/include/GL/gl.h:2469:22: GL/glext.h: No such file or directory g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_XINERAMA -DQT_DLOPEN_OPENGL -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC -I/var/tmp/portage/qt-3.3.3/work/qt-x11-free-3.3.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qglcolormap.o opengl/qglcolormap.cpp /var/tmp/portage/qt-3.3.3/work/qt-x11-free-3.3.3/bin/moc opengl/qgl_x11.cpp -o .moc/release-shared-mt/qgl_x11.moc g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_XINERAMA -DQT_DLOPEN_OPENGL -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC -I/var/tmp/portage/qt-3.3.3/work/qt-x11-free-3.3.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qsqlquery.o sql/qsqlquery.cpp make[1]: *** [.obj/release-shared-mt/qgl.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/qt-3.3.3/work/qt-x11-free-3.3.3/src' make: *** [sub-src] Error 2 !!! ERROR: x11-libs/qt-3.3.3 failed. !!! Function src_compile, Line 106, Exitcode 2 !!! (no error message) ------------------------------------------------------------- Expected Results: compiled nicely Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.8 .1-mm1) ================================================================= System uname: 2.6.8.1-mm1 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -mmmx -msse -m3dnow -fomit-frame-pointer -ffast-mat h" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2 /share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/ config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -mmmx -msse -m3dnow -fomit-frame-pointer -ffast-m ath" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirror.gentoo.no/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.no/gentoo-portage/" USE="3dnow X alsa apm artswrappersuid avi berkdb crypt cups divx4linux encode es d faad flac foomaticdb gdbm gif gnome gstreamer gtk2 gtkhtml imlib java jpeg lib g++ libwww mad mikmod mmx mozilla mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sdl slang spell sse ssl svga tc pd threads tiff truetype x86 xml xml2 xv xvid zlib" ---------------------------------------------------- aanund@moholt ~ $ ls /usr/X11R6/include/GL/ GLwDrawA.h GLwMDrawAP.h glut.h glxATI.h glxmd.h osmesa.h GLwDrawAP.h gl.h glutf90.h glxext.h glxproto.h GLwMDrawA.h glu.h glx.h glxint.h glxtokens.h
Your opengl installation is messed up somehow, if it can't find glext.h which should be in that same directory.
Created attachment 37736 [details, diff] Argh, wrong bug! Applies against qt-3.3.2. Haven't tested compiling.
I had the same prob on a newly built system. I'm on win98 box so I cant post any info but after trying qt-3.3.2 and then the patch against qt-3.3.3 which I found out is actually for the kernel libs and didn't do, I just went ahead and tried ebuild /usr/portage/packageType/paskageDir.ebuild unpack ebuild /usr/portage/packageType/paskageDir.ebuild compile ebuild /usr/portage/packageType/paskageDir.ebuild merge It worked. I am running the same default-x86-2004.2 glibc-20040808, gcc-3.3.3 gentoo-dev-sources-2.6.8 and linux-headers-2.6.7-r4
I have the same problems when upgrading the system from qt-3.3.2 to 3.3.3 with "emerge -uv world". /usr/X11R6/include/GL/glext.h is a symlink to /usr/lib/opengl/global/glext.h which is not on my system (the whole global dir is missing). Is this a problem of xorg-x11?
A "emerge opengl" did fix the problem by re-emerging xorg-x11 and replacing the symlink with the correct header file.
I tried emerge opengl without success, but I am still using xfree86. Maybe its time to switch to X.org.
After switching to x.org, qt compiled fine, as the previous post suggested.
just an opengl setup issue.
*** Bug 62719 has been marked as a duplicate of this bug. ***
does this mean i have to emerge x.org? What if i don't want to? My glext.h is also linked to a non-existent global dir. Is there another workaround? re-merging nvidia-glx did not help.
no, you dont' need xorg-x11, you just need to fiddle with "opengl-update" to make it work again (probably: opengl-update xfree)
It wont compile when my opengl is set to xfree or nvidia. Still no go. I re-emerged nvidia-glx also, and that did not seem to help. I'm out of ideas. Is the switch to x.org hard?
I'm not sure if something in the ebuild changed, but now, all of the sudden, it worked. odd.
*** Bug 65826 has been marked as a duplicate of this bug. ***