Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115115 - x11-libs/wxGTK-2.6.2-r1 fails to emerge with OpenGL
Summary: x11-libs/wxGTK-2.6.2-r1 fails to emerge with OpenGL
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-10 11:28 UTC by OKUMURA N. Shin-ya
Modified: 2006-02-17 20:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description OKUMURA N. Shin-ya 2005-12-10 11:28:00 UTC
emerge =x11-libs/wxGTK-2.6.2-r1 fails as follows;
----------
(snip)
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

!!! ERROR: x11-libs/wxGTK-2.6.2-r1 failed.
!!! Function subconfigure, Line 83, Exitcode 1
!!! ./configure failed
!!! If you need support, post the topmost build error, NOT this status message.
----------

It seems to be caused by broken $SEARCH_LIB in configure script,
for example,
"/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/lib".

The reason, why such a variable is set, is configure judges which the
build-environment is self-compile or cross-compile, with the following way;
  if test "$build" != "$host" -a "$GCC" = yes; then
where "$build" is "x86_64-unknown-linux-gnu", but "$host" is "x86_64-pc-linux-gnu".

I added "--bulid=x86_64-pc-linux-gnu" to $myconf in wxGTK-2.6.2-r1.ebuild, then
it works.

Just in case, my emerge info says;

Portage 2.0.53 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-gentoo x86_64)
=================================================================
System uname: 2.6.14-gentoo x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.0_pre11
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
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.15.92.0.2-r1, 2.16.1-r1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.gentoo.gr.jp"
LANG="ja_JP.eucJP"
LINGUAS="ja en"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acl alsa arts audiofile avi berkdb bitmap-fonts bmp bonobo bzip2
bzlib canna cdparanoia cdr chasen cjk crypt cscope cups curl doc dv dvdr eds
emboss emul-linux-x86 encode esd exif expat fam ffmpeg flash font-server
foomaticdb fortran gcj gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml
guile idn imagemagick imlib ipv6 java jpeg junit kde lcms ldap libg++ libwww
linguas_ja lua lzw lzw-tiff m17n-lib mad mbox mhash mikmod milter mime ming mng
motif mozilla mp3 mpeg mule ncurses nls nptl objc ogg oggvorbis openal opengl
pam pcre pdflib perl php png postgres python qt quicktime readline recode samba
sdk sdl slang speex spell ssl svg symlink tcltk tcpd tiff truetype
truetype-fonts type1-fonts udev unicode usb userlocales vorbis wmf xml xml2 xmms
xpm xv zlib linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, MAKEOPTS
Comment 1 Anton Bolshakov 2006-02-17 16:24:54 UTC
Please sync and check the bug again.
I had the same problem but not anymore.
 
Comment 2 OKUMURA N. Shin-ya 2006-02-17 20:19:49 UTC
O.K, it is not reproduced anymore, here.
I changes resolution to FIXED.