Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12005 - gtkglarea-1.2.3-r1 do not compile
Summary: gtkglarea-1.2.3-r1 do not compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-11 23:23 UTC by Thiago dos Santos Alves
Modified: 2002-12-12 18:10 UTC (History)
1 user (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 Thiago dos Santos Alves 2002-12-11 23:23:46 UTC
I've report a similar error to kdegraphics-3.1_rc5... I have mldonkey installed and the 
new release of it needs to install gtkglarea-1.2.3-r1 to updateit. When emerge tryies to 
compile gtkglarea-1.2.3-r1 I get this error: 
 
Making all in examples 
make[1]: Entering directory 
`/var/tmp/portage/gtkglarea-1.2.3-r1/work/gtkglarea-1.2.3/examples' 
i686-pc-linux-gnu-gcc -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1  -I. -I.  -I..    
-mcpu=athlon-xp -O3 -pipe -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I/usr/X11R6/include  -c simple.c 
/bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc  -mcpu=athlon-xp -O3 -pipe 
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include   -o 
simple  simple.o ../gtkgl/libgtkgl.la -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic 
-lgmodule -lglib -ldl -lXi -lXext -lX11 -lm  -lGLU -lGL 
mkdir .libs 
i686-pc-linux-gnu-gcc -mcpu=athlon-xp -O3 -pipe -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o .libs/simple simple.o 
-rdynamic  ../gtkgl/.libs/libgtkgl.so -L/usr/lib -L/usr/X11R6/lib /usr/lib/libgtk.so 
/usr/lib/libgdk.so /usr/lib/libgmodule.so /usr/lib/libglib.so -ldl -lXi -lXext -lX11 -lm -lGLU 
-lGL 
creating simple 
i686-pc-linux-gnu-gcc -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1  -I. -I.  -I..    
-mcpu=athlon-xp -O3 -pipe -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I/usr/X11R6/include  -c zktor.c 
zktor.c:32:20: GL/glu.h: No such file or directory 
make[1]: *** [zktor.o] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/gtkglarea-1.2.3-r1/work/gtkglarea-1.2.3/examples' 
make: *** [all-recursive] Error 1 
 
!!! ERROR: x11-libs/gtkglarea-1.2.3-r1 failed. 
!!! Function src_compile, Line 24, Exitcode 2 
!!! (no error message) 
 
As I said on kdegraphics bug I have a NVidia card and I installed mesa and mesa-glu, 
than all stuffs with graphics messed up. Than I emerge nvidia-glx (new drivers) and 
everything goes back to normal including the bug of kdegraphics that disapears, but 
this bug with gtkglarea do not fix it self. 
 
Just to help: 
 
ls /usr/include/GL/gl* -1 
 
/usr/include/GL/gl.h 
/usr/include/GL/glut.h 
/usr/include/GL/glutf90.h 
/usr/include/GL/glx.h 
/usr/include/GL/glxint.h 
/usr/include/GL/glxmd.h 
/usr/include/GL/glxproto.h 
/usr/include/GL/glxtokens.h 
 
 
emerge info 
 
Portage 2.0.45-r3 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2) 
================================================================= 
System uname: 2.4.19-gentoo-r9 i686 AMD Athlon(tm) XP 1700+ 
USE="x86 oss libg++ mikmod ncurses nls pdflib qtmt quicktime spell xml2 xmms gdbm 
berkdb slang readline aalib svga tcltk java tcpd pam libwww ssl perl python esd imlib 
motif mozilla X gtk -gnome alsa kde qt 3dnow apm arts avi cdr crypt cups dga directfb 
dvd encode fbcon gpm gif jpeg kerberos ldap mmx mpeg oggvorbis opengl png samba 
sdl tetex tiff truetype wmf xv zlib" 
ARCH="x86" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-mcpu=athlon-xp -O3 -pipe" 
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe" 
ACCEPT_KEYWORDS="x86 ~x86" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
MAKEOPTS="-j2" 
JDK_HOME="/opt/blackdown-jdk-1.4.1_beta" 
JAVA_HOME="/opt/blackdown-jdk-1.4.1_beta" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
Comment 1 foser (RETIRED) gentoo-dev 2002-12-12 07:08:27 UTC
It should come with xfree, tried re-emerging xfree ? anyway not really a gnome
bug , reassigning.
Comment 2 foser (RETIRED) gentoo-dev 2002-12-12 13:16:16 UTC
bug wranglers, this is a GL problem, not gtk. Please reassign.
Comment 3 SpanKY gentoo-dev 2002-12-12 14:26:15 UTC
could you try emerging 1.99.0 ? 
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2002-12-12 15:39:33 UTC
Thiago,

Here's what I would like you to try:

emerge opengl-update
opengl-update nvidia
emerge gtkglarea

if that fails, then try:

opengl-update xfree
emerge gtkglarea

please report your findings :)
Comment 5 Thiago dos Santos Alves 2002-12-12 17:27:38 UTC
Sorry to report only now! As foser sugest me I reemerge xfree and it work fine! 
everything works now! thanks guys. 
Comment 6 SpanKY gentoo-dev 2002-12-12 18:10:11 UTC
sounds good :)