Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81899 - wxGTK 2.4.2 and 2.5.3 both fail to configure with USE="opengl"
Summary: wxGTK 2.4.2 and 2.5.3 both fail to configure with USE="opengl"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-13 12:28 UTC by Michael Grigoriev
Modified: 2005-03-12 10:50 UTC (History)
3 users (show)

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 Michael Grigoriev 2005-02-13 12:28:18 UTC
...
checking for GL/gl.h... no
configure: error: OpenGL libraries not available

!!! ERROR: x11-libs/wxGTK-2.4.2-r2 failed.
!!! Function src_compile, Line 78, Exitcode 1
!!! ./configure failed
!!! If you need support, post the topmost build error, NOT this status message.

but

locate GL/gl.h
/usr/include/GL/gl.h

Here's my emerge info:

Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.6.7
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec 12 2004, 16:25:09)]
distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.14.90.0.8-r1
sys-devel/libtool:   1.5.10
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /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="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache digest distlocks sandbox sfperms userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa avi berkdb bindist bitmap-fonts cdr crypt cups dvd encode esd f77 fam font-server foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml icq imagemagick imap imlib ipv6 java jpeg junit kde libg++ libwww mad maildir mikmod mmx motif mozilla moznocompose moznoirc moznomail mpeg msn ncurses nls oggvorbis opengl oscar oss pam pcmcia pda pdflib perl png python qt quicktime readline rtc samba sdl slang spell sqlite sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts trusted type1-fonts usb videos wifi xml xml2 xmms xosd xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Talamona Francesco 2005-02-13 13:43:46 UTC
Same here for x11-libs/wxGTK-2.4.2-r3 with or without opengl flag.
_But_ after setting opengl-update to xorg-x11 both wxGTK-2.4.2-r3 and wxGTK-2.4.2-r2 build succesfully.
I then reverted to opengl-update nvidia and reemerged wxGTK-2.4.2-r2, now I'm emerging wxGTK-2.4.2-r3; hoping for the best. I'll report again if something goes wrong.

I'll provide emerge --info if required.
Comment 2 Michael Grigoriev 2005-02-13 13:50:01 UTC
Actually, running opengl-update xorg-x11 seems to have solved it for me.
Although this is weird, because xorg-x11 is what I had it set to originally anyway.
I recently installed xorg 6.8.2 ebuild. Maybe it got broken during upgrade.

But anyway, seems to work now.
Comment 3 Akos Ladanyi 2005-03-11 14:20:49 UTC
Hi!

Is there a reason why this isn't closed as INVALID?

Am I right when I think this bug is the only reason why the following is still in package.mask?

# <pythonhead@gentoo.org (13 Nov 2004)
# Masking till USE='opengl' errors get ironed out
=x11-libs/wxGTK-2.5*
=dev-python/wxpython-2.5*
=dev-python/wxpython-2.4.2.4-r1
Comment 4 Rob Cakebread (RETIRED) gentoo-dev 2005-03-11 14:34:21 UTC
Marking invalid.

I was waiting to see if we'd here back from Talamona: "I'll report again if something goes wrong." 

As for why its still masked, every wx package had their dependencies as >=wxGTK-2.4*, which had to be changed to =wxGTK-2.4 because the two versions are completely incompatible. I'm still waiting for 4 or 5 package matintainers to change the dependencies. Only 2 or 3 packages can use 2.5.3 at the moment (amule and wxpython).


Comment 5 Talamona Francesco 2005-03-12 10:50:59 UTC
Fourth test didn't go wrong, so I didn't add a comment.
To recap, after xorg-x11 upgrade I had a problem with wxGTK configure phase, at that moment I was running nvidia GL; when I switched to xorg GL the problem 
was solved, but didn't came back when I turned again to nvidia.
So I started testing a 2x2 compilation matrix (xorg nvidia) x (wxGTK-2.4.2-r3 wxGTK-2.4.2-r2). All four compile were ok. 
In my opinion there was a problem with xorg-x11, that messed openGL libraries config, but any opengl-update would solve it.
I agree to mark this bug closed/resolved (and this is the important thing), not invalid, however, as the starting cause is still unknown. (Just my opinion)