Trying to emerge blender 2.32, it fails on glx.h on a ~x86 system. Reproducible: Always Steps to Reproduce: 1. emerge -Dv blender Actual Results: g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../intern/string -I/usr/include/SDL -I/usr/include/freetype2 -DWITH_FREETYPE2 -I/usr/include -I/usr/include -I/usr/include/mozilla/nspr -O2 -mcpu=i686 -pipe -funsigned-char -MT GHOST_EventPrinter.lo -MD -MP -MF .deps/GHOST_EventPrinter.Tpo -c intern/GHOST_EventPrinter.cpp -o GHOST_EventPrinter.o g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../intern/string -I/usr/include/SDL -I/usr/include/freetype2 -DWITH_FREETYPE2 -I/usr/include -I/usr/include -I/usr/include/mozilla/nspr -O2 -mcpu=i686 -pipe -funsigned-char -MT GHOST_ISystem.lo -MD -MP -MF .deps/GHOST_ISystem.Tpo -c intern/GHOST_ISystem.cpp -o GHOST_ISystem.o In file included from intern/GHOST_ISystem.cpp:52: intern/GHOST_SystemX11.h:40:20: GL/glx.h: No such file or directory gmake[3]: *** [GHOST_ISystem.lo] Error 1 gmake[3]: *** Waiting for unfinished jobs.... echo timestamp > GHOST_EventPrinter.lo gmake[3]: Leaving directory `/portage/tmp/portage/blender-2.32/work/blender-2.32/intern/ghost' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/portage/tmp/portage/blender-2.32/work/blender-2.32/intern' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/portage/tmp/portage/blender-2.32/work/blender-2.32' make: *** [all] Error 2 !!! ERROR: media-gfx/blender-2.32 failed. !!! Function src_compile, Line 72, Exitcode 2 !!! (no error message) Expected Results: Compiled and installed. Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.5) ================================================================= System uname: 2.6.5 i686 AMD Athlon(tm) XP 2400+ Gentoo Base System version 1.4.9 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-xp -march=athlon-xp -msse -mmmx -m3dnow -O2 -fomit-frame-pointer -frerun-loop-opt -pipe" 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 /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.binarycompass.org ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.uninett.no/pub/linux/Gentoo ftp://mirror.pudas.net/gentoo" MAKEOPTS="-j2" PKGDIR="/portage/packages" PORTAGE_TMPDIR="/portage/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnow X Xaw3d aalib alsa apm avi berkdb bonobo cdr crypt cups dga directfb doc dvd dvdr encode esd fbcon foomaticdb freetype gdbm gif gnome gnutls gpm gstreamer gtk gtk2 guile imap imlib ipv6 jabber java joystick jpeg kde kerberos libg++ libwww mad maildir mbox mikmod mmx motif mozcalendar mozilla mpeg mpeg4 ncurses nls nptl nvidia oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline sasl sdl slang slp spell sse ssl stroke svga tcltk tcpd tetex tiff truetype type1 unicode usb vim-with-x wmf x86 xchattext xine xml2 xmms xv zlib"
Looks like that your X11 system isn't complete. If you are using a non DRI implementation of opengl please make sure you have set it using opengl-update. If the file does not exist you may have to remerge xfree or xorg-x11 and/or the ebuild provinding your opengl implementation (eg ati-drivers,nvidia-glx)
Actually forgot to retry this after I noticed that my ati-drivers installation had gotten a bit botched. :) This symlink was missing: # ls -lart /usr/lib/opengl/ati/include lrwxrwxrwx 1 root root 16 Apr 26 14:52 /usr/lib/opengl/ati/include -> ../xfree/include
Compiled okay now, reason was that missing symlink in ati-drivers installation...
Closing