From the output below, i suggest use media-libs/mesa in addition to virtual/x11 Analyzing log ... Looking for libraries ... Looking for libc.so ... OK Looking for libGLU.so ... OK Looking for libIL.so ... OK Looking for libILU.so ... OK Looking for libjpeg.so ... OK Looking for liblcms.so ... OK Looking for libmng.so ... OK Looking for libpng.so ... OK Looking for libtiff.so ... OK Tracing libraries back to packages ... media-libs/tiff-3.7.3 media-libs/jpeg-6b-r5 media-libs/libmng-1.0.8-r1 media-libs/lcms-1.13-r1 media-libs/libpng-1.2.8 media-libs/devil-1.6.7-r1 media-libs/mesa-6.4 sys-libs/glibc-2.3.5-r2 sys-libs/lib-compat-1.4 Analyzing source ... Looking for absolute headers ... Looking for /usr/include/assert.h ... OK Looking for /usr/include/ctype.h ... OK Looking for /usr/include/dlfcn.h ... OK Looking for /usr/include/errno.h ... OK Looking for /usr/include/GL/gl.h ... OK Looking for /usr/include/GL/glut.h ... OK Looking for /usr/include/IL/devil_internal_exports.h ... OK Looking for /usr/include/IL/il.h ... OK Looking for /usr/include/IL/ilu.h ... OK Looking for /usr/include/IL/ilut.h ... OK Looking for /usr/include/inttypes.h ... OK Looking for /usr/include/jpeglib.h ... OK Looking for /usr/include/lcms/lcms.h ... OK Looking for /usr/include/libmng.h ... OK Looking for /usr/include/limits.h ... OK Looking for /usr/include/malloc.h ... OK Looking for /usr/include/math.h ... OK Looking for /usr/include/memory.h ... OK Looking for /usr/include/png.h ... OK Looking for /usr/include/setjmp.h ... OK Looking for /usr/include/stdint.h ... OK Looking for /usr/include/stdio.h ... OK Looking for /usr/include/stdlib.h ... OK Looking for /usr/include/string.h ... OK Looking for /usr/include/strings.h ... OK Looking for /usr/include/sys/param.h ... OK Looking for /usr/include/sys/stat.h ... OK Looking for /usr/include/sys/time.h ... OK Looking for /usr/include/sys/types.h ... OK Looking for /usr/include/sys/utsname.h ... OK Looking for /usr/include/tiffio.h ... OK Looking for /usr/include/time.h ... OK Looking for /usr/include/unistd.h ... OK Looking for /usr/include/X11/extensions/multibuf.h ... OK Looking for /usr/include/X11/extensions/Xdbe.h ... OK Looking for /usr/include/X11/Intrinsic.h ... OK Looking for /usr/include/X11/Xatom.h ... OK Looking for /usr/include/X11/Xlib.h ... OK Looking for /usr/include/X11/Xutil.h ... OK Looking for /usr/include/zlib.h ... OK Looking for relative headers ... Looking for /usr/include/jpeglib.h ... OK Looking for /usr/include/SDL/SDL.h ... OK Looking for windows.h ... More than one option found for windows.h in /usr/include. Not considering windows.h. Looking for zlib.h ... More than one option found for zlib.h in /usr/include. Not considering zlib.h. Looking for /usr/include/wine/msvcrt/conio.h ... OK Looking for /usr/include/wine/windows/d3d8.h ... OK Looking for /usr/include/wine/windows/d3d9.h ... OK Looking for /usr/include/wine/windows/ddraw.h ... OK Looking for direct.h ... More than one option found for direct.h in /usr/include. Not considering direct.h. Looking for /usr/include/wine/msvcrt/dos.h ... OK Looking for /usr/include/wine/msvcrt/float.h ... OK Looking for /usr/include/SDL/SDL.h ... OK Looking for /usr/include/wine/windows/shlobj.h ... OK Looking for stddef.h ... More than one option found for stddef.h in /usr/include. Not considering stddef.h. Looking for windows.h ... More than one option found for windows.h in /usr/include. Not considering windows.h. Looking for /usr/include/wine/windows/wininet.h ... OK Tracing headers back to packages ... Headers ignored because they exist in the tarball: 3dtest.h beScreen.h beSurface.h beTypes.h config.h DevIL-GDI+.h DevIL-MFC.h gltest.h Render2DCore.h il_bits.h il_bmp.h il_dcx.h il_dds.h il_doompal.h il_endian.h il_files.h il_gif.h il_hdr.h il_icon.h il_internal.h il_jpeg.h il_lif.h il_manip.h il_mdl.h il_pal.h il_pcx.h il_pic.h il_pnm.h il_psd.h il_psp.h il_q2pal.h il_register.h il_rle.h il_sgi.h il_stack.h il_states.h il_targa.h ilu_filter.h ilu_internal.h ilu_mipmap.h ilu_region.h ilu_states.h ilut_allegro.h ilut_internal.h ilut_opengl.h ilut_states.h list_visuals.cxx mmgr.h nommgr.h resource.h stdafx.h urarlib.h config.h Headers ignored because of duplicates in /usr/include: windows.h zlib.h direct.h stddef.h windows.h Headers ignored because they weren't found: confdefs.h D3DApp.h D3DFile.h D3DFont.h D3DUtil.h DXUtil.h mditest.h unzip.h $ac_header ac_nonexistent.h afx.h afxwin.h allegro.h D3DX8.h d3dx8tex.h fstream.h Gdiplus.h freeglut.h il.h il\il.h ilu.h il\ilu.h ilut.h il\ilut.h il_wrap.h iostream.h nv_util.h stdarg.h unzip.h vector Absolute headers: media-libs/tiff-3.7.3 media-libs/jpeg-6b-r5 media-libs/glut-3.7.1 media-libs/libmng-1.0.8-r1 media-libs/lcms-1.13-r1 media-libs/libpng-1.2.8 media-libs/devil-1.6.7-r1 sys-libs/glibc-2.3.5-r2 sys-libs/zlib-1.2.3 x11-libs/libXt-1.0.0 x11-libs/libX11-1.0.0 x11-proto/xproto-7.0.4 x11-proto/xextproto-7.0.2 Relative headers: app-emulation/wine-0.9.4 media-libs/jpeg-6b-r5 media-libs/libsdl-1.2.9-r1
Thanks, fixed