Summary: | gnubg 0.14.3 only runs in text mode | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | giovanni.bobbio |
Component: | New packages | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
giovanni.bobbio
2005-02-25 03:19:16 UTC
obviously it needs gtk for graphics Something is not so obvious: 1) Version 0.14.2 worked graphically with the gtk flags disabled, evidently +X was sufficient. 2) Version 0.14.3, emerged with +gtk2 still only works in text mode. 3) Version 0.14.3 with +gtk doesn't emerge, because it depends on x11-libs/gtkglext-1.0.5 that breaks looking for the file /etc/env.d/09opengl (it's actually /etc/env.d/03opengl). 4) Fixing the gtkglext ebuild by hand to look for the correct file, I can proceed to emerge gnubg (with +gtk). Sadly it breaks with the following error: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I./../lib -I/usr/include/libxml2 -I./../intl -DLOCALEDIR=\"\" -I/usr/include/freetype2 -O3 -march=pentium3 -pipe -fomit-frame-pointer -I/usr/include/FTGL -I/usr/include/freetype2 -c `test -f 'widget3d.c' || echo './'`widget3d.c widget3d.c:40:29: gtkgl/gtkglarea.h: No such file or directory widget3d.c: In function `CreateGLWidget': widget3d.c:224: error: `GDK_GL_RGBA' undeclared (first use in this function) widget3d.c:224: error: (Each undeclared identifier is reported only once widget3d.c:224: error: for each function it appears in.) widget3d.c:224: error: `GDK_GL_DOUBLEBUFFER' undeclared (first use in this function) widget3d.c:224: error: `GDK_GL_DEPTH_SIZE' undeclared (first use in this function) widget3d.c:224: error: `GDK_GL_STENCIL_SIZE' undeclared (first use in this function) widget3d.c:224: error: `GDK_GL_NONE' undeclared (first use in this function) widget3d.c:224: warning: assignment makes pointer from integer without a cast widget3d.c: At top level: widget3d.c:392: error: parse error before '*' token widget3d.c:392: warning: data definition has no type or storage class widget3d.c: In function `SetupVisual': widget3d.c:462: error: `GDK_GL_RGBA' undeclared (first use in this function) widget3d.c:463: error: `GDK_GL_DEPTH_SIZE' undeclared (first use in this function) widget3d.c:464: error: `GDK_GL_STENCIL_SIZE' undeclared (first use in this function) widget3d.c:465: error: `GDK_GL_NONE' undeclared (first use in this function) widget3d.c:469: warning: assignment makes pointer from integer without a cast widget3d.c: In function `RenderBoard3d': widget3d.c:490: error: `GdkGLPixmap' undeclared (first use in this function) widget3d.c:490: error: `glpixmap' undeclared (first use in this function) widget3d.c:492: warning: assignment makes pointer from integer without a cast make[2]: *** [widget3d.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/gnubg-0.14.3/work/gnubg-0.14.3/board3d' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnubg-0.14.3/work/gnubg-0.14.3' make: *** [all] Error 2 So, could you please look into this a bit before dismissing it? Thanks a lot. well.. 1. I think you're mistaken. even with -gtk -gtk2 I think .2 actually linked against gtk to get the gui. 2. -gtk gtk2 isn't valid. 3. your issue with x11-libs/gtkglext is unrelated to gnubg so file a new bug about that if you desire. 4. gtk -gtk2 was broken. That's fixed. looks like gtk1 support is broken in .3 so I disabled it. only the gtk2 gui is available. If you want to look at the pretty pictures with gnubg you'll need USE=gtk. |