Gentoo Archives: gentoo-user

From: Kevin O'Gorman <kogorman@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] portage and library troubles with GL
Date: Mon, 03 Aug 2009 02:47:52
Message-Id: 9acccfe50908021947s2d5974e8t3774a14955613d3a@mail.gmail.com
In Reply to: Re: [gentoo-user] portage and library troubles with GL by "Arttu V."
1 On Sun, Aug 2, 2009 at 7:27 AM, Arttu V.<arttuv69@×××××.com> wrote:
2 > On 8/2/09, Kevin O'Gorman <kogorman@×××××.com> wrote:
3 >> checking for GL/glu.h... yes
4 >> checking for glVertex3d in -lGLcore... no
5 >
6 > Starting from here, libGLcore.so on my current desktop system belongs
7 > to nvidia-drivers:
8 >
9 > lrwxrwxrwx 1 root root     30  2.8. 17:13 /usr/lib64/libGLcore.so ->
10 > opengl/nvidia/lib/libGLcore.so
11 >
12 > If you are similarly running proprietary ati-drivers or
13 > nvidia-drivers, then you should probably re-emerge them, then run
14 > eselect opengl set (whatever you use).
15 >
16
17 An interesting idea but no joy.
18 I re-emerged xf86-video-mach64 (for my motherboard's Rage XL).
19 I re-selected ati for opengl.
20
21 I peeked at /usr/lib and got something that looks a little different from yours:
22 treat lib # ls -l --color=n libGL*
23 -rw-r--r-- 1 root root 743 2009-08-01 20:52 libGLU.la
24 lrwxrwxrwx 1 root root 11 2009-08-01 20:52 libGLU.so -> libGLU.so.1
25 lrwxrwxrwx 1 root root 20 2009-08-01 20:52 libGLU.so.1 ->
26 libGLU.so.1.3.070300
27 -rwxr-xr-x 1 root root 456268 2009-08-01 20:52 libGLU.so.1.3.070300
28 lrwxrwxrwx 1 root root 11 2009-08-01 20:52 libGLw.so -> libGLw.so.1
29 lrwxrwxrwx 1 root root 15 2009-08-01 20:52 libGLw.so.1 -> libGLw.so.1.0.0
30 -rwxr-xr-x 1 root root 10572 2009-08-01 20:52 libGLw.so.1.0.0
31 treat lib #
32
33 I attempted to re-emerge wxGTK and it finished in this way:
34
35
36 checking for GTK+ version...
37 checking for pkg-config... /usr/bin/pkg-config
38 checking for GTK+ - version >= 2.0.0... yes (version 2.14.7)
39 checking whether gtk_icon_size_lookup is declared... yes
40 checking if GTK+ is version >= 2.6... yes
41 checking for X11/Xlib.h... yes
42 checking for X11/XKBlib.h... yes
43 checking for sql.h... yes
44 checking for SQLAllocEnv in -liodbc... no
45 checking for SQLAllocEnv in -lunixodbc... no
46 checking for SQLAllocEnv in -lodbc... yes
47 checking for Xinerama... yes
48 checking for Xxf86vm extension... yes
49 checking for X11/extensions/xf86vmode.h... yes
50 checking for -lSM - X11 session management... yes
51 checking for OpenGL headers... found in /usr/include
52 checking for GL/gl.h... yes
53 checking GL/glu.h usability... yes
54 checking GL/glu.h presence... yes
55 checking for GL/glu.h... yes
56 checking for -lGL... no
57 checking for -lMesaGL... no
58 configure: error: OpenGL libraries not available
59
60 !!! Please attach the following file when seeking support:
61 !!! /var/tmp/portage/x11-libs/wxGTK-2.8.10.1-r1/work/wxPython-src-2.8.10.1/wxgtk_build/config.log
62 *
63 * ERROR: x11-libs/wxGTK-2.8.10.1-r1 failed.
64 * Call stack:
65 * ebuild.sh, line 49: Called src_configure
66 * environment, line 2800: Called econf
67 '--enable-compat26' '--enable-shared' '--enable-unicode'
68 '--with-regex=builtin' '--with-zlib=sys' '--with-expat=sys'
69 '--disable-debug' '--disable-precomp-headers' '--with-sdl'
70 '--with-odbc=sys' '--enable-graphics_ctx' '--enable-gui'
71 '--with-libpng=sys' '--with-libxpm=sys' '--with-libjpeg=sys'
72 '--with-libtiff=sys' '--enable-mediactrl' '--enable-opengl'
73 '--with-opengl' '--with-gnomeprint' '--without-gnomevfs'
74 * ebuild.sh, line 534: Called die
75 * The specific snippet of code:
76 * die "econf failed"
77 * The die message:
78 * econf failed
79 *
80 * If you need support, post the topmost build error, and the call
81 stack if relevant.
82 * A complete build log is located at
83 '/var/tmp/portage/x11-libs/wxGTK-2.8.10.1-r1/temp/build.log'.
84 * The ebuild environment file is located at
85 '/var/tmp/portage/x11-libs/wxGTK-2.8.10.1-r1/temp/environment'.
86 *
87
88 >>> Failed to emerge x11-libs/wxGTK-2.8.10.1-r1, Log file:
89
90 >>> '/var/tmp/portage/x11-libs/wxGTK-2.8.10.1-r1/temp/build.log'
91 treat GL #
92
93 --
94 Kevin O'Gorman, PhD