Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39874 - gtkglextmm will not compile
Summary: gtkglextmm will not compile
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-30 05:54 UTC by Soren Hauberg
Modified: 2004-10-22 12:09 UTC (History)
0 users

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


Attachments
file: /var/tmp/portage/gtkglextmm-1.0.0/work/gtkglextmm-1.0.0/config.log (config.log,59.77 KB, text/plain)
2004-01-31 07:44 UTC, Soren Hauberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Soren Hauberg 2004-01-30 05:54:30 UTC
Doing emerge gtkglextmm gives to following error:

[snip]
checking BASE_DEPENDENCIES_LIBS... -Wl,--export-dynamic -L/usr/X11R6/lib -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lXmu -lXt -lSM -lICE -lgtkmm-2.0 -latkmm-1.0 -lgtk-x11-2.0 -latk-1.0 -lgdkmm-2.0 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpangomm-1.0 -lglibmm-2.0 -lpango-1.0 -lsigc-1.2 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GtkGLExt - version >= 1.0.0... no
*** Could not run GtkGLExt test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GtkGLExt is incorrectly installed.
configure: error: GtkGLExt not found
 
!!! ERROR: dev-cpp/gtkglextmm-1.0.1 failed.
!!! Function econf, Line 339, Exitcode 1
!!! econf failed

I have tried with gtkglext 1.0.4 & 1.0.5

Don't know what else to say 

Reproducible: Always
Steps to Reproduce:
1. emerge gtkglextmm
2.
3.

Actual Results:  
gtkglextmm did not install

Expected Results:  
It should have installed

Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.6.1)
=================================================================
System uname: 2.6.1 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer -foptimize-sibling-calls"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm avi berkdb bonobocdr cdr crypt cups encode esd foomaticdb
gdbm gif gnome gpm gtk gtk2 guile imlib java jpeg libg++ libwww mad mikmod motif
mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png postgres
python quicktime readline scanner sdl slang spell ssl svga tcpd tetex truetype
x86 xml2 xv zlib"
Comment 1 foser (RETIRED) gentoo-dev 2004-01-30 12:13:44 UTC
attach the config.log of the failing build.
Comment 2 Soren Hauberg 2004-01-31 07:44:02 UTC
Created attachment 24693 [details]
file: /var/tmp/portage/gtkglextmm-1.0.0/work/gtkglextmm-1.0.0/config.log
Comment 3 Yi Quang (RETIRED) gentoo-dev 2004-01-31 13:50:11 UTC
foser,
I can confrim this bug, but I'm not sure how to fix it.  The problem is that gtkglextmm is not installing the dependency gtkglext, although it is listed in the DEPEND section of the ebuild.  If you install gtkglext manually, gtkglextmm will go fine.  
Comment 4 Soren Hauberg 2004-02-01 01:14:48 UTC
gtkglext is already installed.
I have managed to get gtkglextmm compiled, but I need to use the xfree opengl instead of nvidia's opengl.
Basicly: I can compile if I do 'opengl-update xfree' first.
Comment 5 foser (RETIRED) gentoo-dev 2004-02-29 09:56:00 UTC
we could use the gl switching hack that we used in gtkglext as well probably. Not very neat though...
Comment 6 Rene Meier 2004-09-18 02:06:37 UTC
i dont know if this fixes this bug, but there is a problem with dependencies in the ebuild. 
from the ebuild:
-----------
DEPEND=">=x11-libs/gtkglext-1
    =dev-cpp/gtkmm-2.2*
    virtual/x11
    virtual/opengl
    virtual/glu"

DEPEND="${RDEPEND}
    dev-util/pkgconfig"
-----------
it overwrites the DEPEND variable. it should be:
RDEPEND=">=x11-libs/gtkglext-1
    =dev-cpp/gtkmm-2.2*
    virtual/x11
    virtual/opengl
    virtual/glu"

DEPEND="${RDEPEND}
    dev-util/pkgconfig"
Comment 7 Alastair Tse (RETIRED) gentoo-dev 2004-10-17 11:22:26 UTC
it works for me with opengl-update nvidia? could it be that gtkglext and gtkglextmm were compiled with different settings for the opengl-update?

also fixed the R/DEPENDs problem for 1.0.1
Comment 8 Alastair Tse (RETIRED) gentoo-dev 2004-10-22 12:09:43 UTC
needinfo