Here's the error...amd64 checking GL/gl.h usability... yes checking GL/gl.h presence... yes checking for GL/gl.h... yes checking for -lGL... no checking for -lMesaGL... no configure: error: OpenGL libraries not available !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/wxGTK-2.6.2-r1/work/wxWidgets-2.6.2/gtk2_build/config.log !!! ERROR: x11-libs/wxGTK-2.6.2-r1 failed. !!! Function econf, Line 485, Exitcode 0 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: I think this is related to my emerging of x11-xorg before thanksgiving. I am having problems with not only wxGTK but also compiling VLC. In fact, following the emerge of the new xorg-x11 (6.8.2-r6), I was unable to get the GLX module to load in X11 (meaning glxgears and ut2004 wouldn't work) until I found this thread... http://forums.gentoo.org/viewtopic-t-405472-highlight-opengl.html which suggested manually creating the following links: ln -s /usr/lib/opengl/nvidia/lib/libnvidia-tls.so.1 /usr/lib/libnvidia-tls.so.1 ln -s /usr/lib/opengl/nvidia/lib/libGLcore.so.1 /usr/lib/libGLcore.so.1 ln -s /usr/lib/opengl/nvidia/lib/libGL.so.1 /usr/lib/libGL.so.1 Adding these links and restarting x11 allowed me to run glxgears and ut2004 and stuff, but I am still unable to compile wxGTK and vlc. Things I've tried: eselecting nvidia... didn't do anything re-emerging nvidia-glx ... nothing I think that's it. I'll add the config log as an attachment as requested. Thanks! W Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r3 x86_64) ================================================================= System uname: 2.6.14-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.6.13 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [disabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -pipe -O2 -mtune=k8 -ftracer -fprefetch-loop-arrays -funroll-loops" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -pipe -O2 -mtune=k8 -ftracer -fprefetch-loop-arrays -funroll-loops" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="rsync://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://mirror.espri.arizona.edu/gentoo/ ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aalib aim alsa amd64 audiofile avi berkdb bitmap-fonts bzip2 cddb cdparanoia cdr crypt cups curl daap dbus divx4linux dv dvd dvdr dvdread eds emboss encode esd exif expat faad fam ffmpeg firefox flac foomatic foomaticdb fortran gif gimpprint glitz glut gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal howl idn imagemagick imlib ipv6 java jpeg junit lame lcms ldap libgda libsndfile libwww live lzw lzw-tiff mad matroska mjpeg mng mozilla mp3 mpeg ncurses nls nptl nptlonly nvidia offensive ogg oggvorbis openal opengl oscar oss pam pcre pdflib perl png ppds python qt quicktime readline real sdl spell ssl tcltk tcpd theora tiff tokenizer truetype truetype-fonts type1-fonts udev usb userlocales vcd vorbis wxwindows xine xinerama xml2 xpm xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
okay, I've narrowed this down to a problem with eselect-1.0-rc2. I did the following: emerge =app-admin/eselect-1.0_rc1 (downgraded to older eselect) then eselect opengl set nvidia and... it compiled. Something in eselect rc2 has to have been the problem. may be related to http://bugs.gentoo.org/show_bug.cgi?id=111877 Unfortunately, vlc still isn't emerging. Here's the error: -MD -MP -MF ".deps/libwxwidgets_plugin_a-open.Tpo" -c -o libwxwidgets_plugin_a-open.o `test -f 'open.cpp' || echo './'`open.cpp; \ then mv -f ".deps/libwxwidgets_plugin_a-open.Tpo" ".deps/libwxwidgets_plugin_a-open.Po"; else rm -f ".deps/libwxwidgets_plugin_a-open.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DSYS_LINUX -I../../../include `top_builddir="../../.." ../../../vlc-config --cxxflags plugin wxwidgets` -Wsign-compare -Wsign-compare -Wall -march=k8 -pipe -O2 -mtune=k8 -ftracer -fprefetch-loop-arrays -funroll-loops -pipe -MT libwxwidgets_plugin_a-streamout.o -MD -MP -MF ".deps/libwxwidgets_plugin_a-streamout.Tpo" -c -o libwxwidgets_plugin_a-streamout.o `test -f 'streamout.cpp' || echo './'`streamout.cpp; \ then mv -f ".deps/libwxwidgets_plugin_a-streamout.Tpo" ".deps/libwxwidgets_plugin_a-streamout.Po"; else rm -f ".deps/libwxwidgets_plugin_a-streamout.Tpo"; exit 1; fi open.cpp: In function `char* ProbeDVD(const wxChar*)': open.cpp:1337: error: request for member `data' in `tmp_buf', which is of non-class type `const wxChar*' open.cpp: In function `char* ProbeCDDA(const wxChar*)': open.cpp:1407: error: request for member `data' in `tmp_buf', which is of non-class type `const wxChar*' open.cpp: In function `char* ProbeVCD(const wxChar*)': open.cpp:1420: error: request for member `data' in `tmp_buf', which is of non-class type `const wxChar*' open.cpp: In member function `void wxvlc::OpenDialog::OnSubsFileSettings(wxCommandEvent&)': open.cpp:1769: warning: cast from pointer to integer of different size open.cpp:1775: warning: cast from pointer to integer of different size make[6]: *** [libwxwidgets_plugin_a-open.o] Error 1 make[6]: *** Waiting for unfinished jobs.... make[6]: Leaving directory `/var/tmp/portage/vlc-0.8.4-r1/work/vlc-0.8.4/modules/gui/wxwidgets' make[5]: *** [all-modules] Error 1 make[5]: Leaving directory `/var/tmp/portage/vlc-0.8.4-r1/work/vlc-0.8.4/modules/gui/wxwidgets' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/var/tmp/portage/vlc-0.8.4-r1/work/vlc-0.8.4/modules/gui' make[3]: *** [all] Error 2 make[3]: Leaving directory `/var/tmp/portage/vlc-0.8.4-r1/work/vlc-0.8.4/modules/gui' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/vlc-0.8.4-r1/work/vlc-0.8.4/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/vlc-0.8.4-r1/work/vlc-0.8.4' make: *** [all] Error 2 !!! ERROR: media-video/vlc-0.8.4-r1 failed. !!! Function src_compile, Line 213, Exitcode 2 !!! make of VLC failed !!! If you need support, post the topmost build error, NOT this status message. W
(In reply to comment #1) > Unfortunately, vlc still isn't emerging. Here's the error: > open.cpp:1337: error: request for member `data' in `tmp_buf', which is of > non-class type `const wxChar*' Different issue - see Bug 113449. *** This bug has been marked as a duplicate of 111877 ***