Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] mesa build failure
Date: Fri, 26 Jun 2009 18:31:18
Message-Id: 5bdc1c8b0906261131g593bd913rcb9a591eb168819b@mail.gmail.com
In Reply to: Re: [gentoo-user] mesa build failure by Mark Knecht
1 On Fri, Jun 26, 2009 at 11:23 AM, Mark Knecht<markknecht@×××××.com> wrote:
2 > On Fri, Jun 26, 2009 at 10:57 AM, Alan McKinnon<alan.mckinnon@×××××.com> wrote:
3 >> On Friday 26 June 2009 18:43:37 Mark Knecht wrote:
4 >>> Yep. did all those earlier and saw this OpenGL problem with eselect.
5 >>> Sort of disregarded it at the time and figured it would get worked out
6 >>> later but now it's in the way.
7 >>
8 >> So what exactly did eselect say at the time?
9 >>
10 >> Therein likely lies the solution to your problem.
11 >
12 > Well, at the time it seems I remember two options for eselect list
13 > opengl, but at this point I'm seeing only 1. Anyway, trying to set it
14 > to 1 causes the same error message I remember:
15 >
16 > myth12 ~ # eselect opengl list
17 > Available OpenGL implementations:
18 >  [1]   xorg-x11
19 > myth12 ~ # eselect opengl set 1
20 > Switching to xorg-x11 OpenGL interface...ln: creating symbolic link
21 > `./libglx.so': File exists
22 > !!! Error: Failed to create lib/libglx.so
23 > Killed
24 > myth12 ~ #
25 >
26 > myth12 ~ # slocate libglx
27 > /usr/lib/opengl/xorg-x11/extensions/libglx.so
28 > /usr/lib/xorg/modules/extensions/libglx.so
29 > myth12 ~ # ls -al /usr/lib/opengl/xorg-x11/extensions/libglx.so
30 > -rwxr-xr-x 1 root root 338584 Jun 23 16:41
31 > /usr/lib/opengl/xorg-x11/extensions/libglx.so
32 > myth12 ~ # ls -al /usr/lib/opengl/xorg-x11/extensions/
33 > total 344
34 > drwxr-xr-x 2 root root   4096 Jun 23 16:42 .
35 > drwxr-xr-x 5 root root   4096 Jun 23 16:42 ..
36 > -rwxr-xr-x 1 root root 338584 Jun 23 16:41 libglx.so
37 > myth12 ~ #
38 >
39 >
40 > myth12 ~ # equery belongs /usr/lib/opengl/xorg-x11/extensions/libglx.so
41 > [ Searching for file(s) /usr/lib/opengl/xorg-x11/extensions/libglx.so in *... ]
42 > x11-base/xorg-server-1.5.3-r6 (/usr/lib/opengl/xorg-x11/extensions/libglx.so)
43 > myth12 ~ #
44 >
45 > So the file is there and owned by xorg-server which is in the list to
46 > get rebuilt.
47 >
48 >>
49 >>> I'm trying a kernel rebuild and will reinstall modules, reboot, etc.
50 >>
51 >> What do you hope to achieve with that? OpenGL runs in user-space, and you have
52 >> a problem with a missing header file - totally unrelated to the kernle and
53 >> it's modules.
54 >
55 > I made a mistake earlier when I built this new kernel. (Updating from
56 > 2.6.19 to 2.6.29) I forgot to include ext2 support in the kernel so
57 > for a little while I had newer modules than the kernel because I
58 > couldn't mount the boot directory to install the kernel. I decide this
59 > morning to rebuild the whole kernel, rewrite the modules and get the
60 > whole thing consistent. Nothing more than cleaning up an earlier
61 > mistake.
62 >
63 > I've just rebuilt python and run python-updater just to make sure that
64 > I didn't miss rebuilding something that was required.
65 >
66 > I have no issues at all completely removing xorg-server and everything
67 > it loads and rebuilding it from scratch if folks think that might
68 > help.
69 >
70 > thanks,
71 > Mark
72 >
73
74 Humm...removing xorg-server allowed me to set OpenGL to xorg-x11
75 without an error:
76
77
78 myth12 ~ # emerge -C xorg-server
79
80 x11-base/xorg-server
81 selected: 1.5.3-r6
82 protected: none
83 omitted: none
84
85 >>> 'Selected' packages are slated for removal.
86 >>> 'Protected' and 'omitted' packages will not be removed.
87
88 >>> Waiting 5 seconds before starting...
89 >>> (Control-C to abort)...
90 >>> Unmerging in: 5 4 3 2 1
91 >>> Unmerging x11-base/xorg-server-1.5.3-r6...
92
93 * GNU info directory index is up-to-date.
94 myth12 ~ # updatedb
95 myth12 ~ # ls -al /usr/lib/opengl/xorg-x11/extensions/
96 ls: cannot access /usr/lib/opengl/xorg-x11/extensions/: No such file
97 or directory
98 myth12 ~ # eselect opengl list
99 Available OpenGL implementations:
100 [1] xorg-x11
101 myth12 ~ # eselect opengl set 1
102 Switching to xorg-x11 OpenGL interface... done
103 myth12 ~ #
104
105 and now mesa seems to be building.
106
107 Problem solved - sort of. ;-)
108
109 Cheers,
110 Mark

Replies

Subject Author
Re: [gentoo-user] mesa build failure Mark Knecht <markknecht@×××××.com>