From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-97223-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1MKGCj-0004Pe-Tm
	for garchives@archives.gentoo.org; Fri, 26 Jun 2009 18:31:18 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 54B4AE052B;
	Fri, 26 Jun 2009 18:31:16 +0000 (UTC)
Received: from mail-yx0-f193.google.com (mail-yx0-f193.google.com [209.85.210.193])
	by pigeon.gentoo.org (Postfix) with ESMTP id 2F4B9E052B
	for <gentoo-user@lists.gentoo.org>; Fri, 26 Jun 2009 18:31:16 +0000 (UTC)
Received: by yxe31 with SMTP id 31so3766624yxe.32
        for <gentoo-user@lists.gentoo.org>; Fri, 26 Jun 2009 11:31:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:received:in-reply-to:references
         :date:message-id:subject:from:to:content-type
         :content-transfer-encoding;
        bh=Dhizl8M6O6Lrxkk0LMW/qQhZyEH2SZ06qXyflpIM6Zw=;
        b=KWkkR7fKaWP2Z1XIEqRHLeTXkDiR+T3nMosRy+yFj8oZckLb6xY8AlfhjbFk6LgsqY
         wxKuuYJXVnGiGVidJwzT+TKcmjIIk1O88GqsGKbXElSATHW1j3K4ZzrD1/NDN1ieptQT
         yRrqwh4MfF9YXgMK0dCHBasB81QepJitYal+A=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type:content-transfer-encoding;
        b=JLdh40KADwWePQFnswC0psNgVbeHEzUp1Y7B76UNaL5ChaIhlPwIzkR3n5oJgulZsc
         AWHK2HlI81sMw+xpvA2Tyq6NxIdKx1OH2AtYtPBNPtdu+SfrEHQ2NBPUvLhNj8+syxC/
         JeA3K33aJj2nbYZApppt3AZrMkdqT0QB05/NU=
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.151.105.3 with SMTP id h3mr489019ybm.271.1246041075913; Fri, 
	26 Jun 2009 11:31:15 -0700 (PDT)
In-Reply-To: <5bdc1c8b0906261123o5dea7f6eq982420318af0f576@mail.gmail.com>
References: <5bdc1c8b0906260816w2e028a7v8759a4d3e3a48504@mail.gmail.com>
	 <200906261817.38529.alan.mckinnon@gmail.com>
	 <5bdc1c8b0906260943r7f8cdd48h20955c91022e757c@mail.gmail.com>
	 <200906261957.44815.alan.mckinnon@gmail.com>
	 <5bdc1c8b0906261123o5dea7f6eq982420318af0f576@mail.gmail.com>
Date: Fri, 26 Jun 2009 11:31:15 -0700
Message-ID: <5bdc1c8b0906261131g593bd913rcb9a591eb168819b@mail.gmail.com>
Subject: Re: [gentoo-user] mesa build failure
From: Mark Knecht <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 55d69e2b-7369-494f-9ac7-e3bfcaed4812
X-Archives-Hash: 4a3daeaf8737a8851fefebaf402b45d1

On Fri, Jun 26, 2009 at 11:23 AM, Mark Knecht<markknecht@gmail.com> wrote:
> On Fri, Jun 26, 2009 at 10:57 AM, Alan McKinnon<alan.mckinnon@gmail.com> =
wrote:
>> On Friday 26 June 2009 18:43:37 Mark Knecht wrote:
>>> Yep. did all those earlier and saw this OpenGL problem with eselect.
>>> Sort of disregarded it at the time and figured it would get worked out
>>> later but now it's in the way.
>>
>> So what exactly did eselect say at the time?
>>
>> Therein likely lies the solution to your problem.
>
> Well, at the time it seems I remember two options for eselect list
> opengl, but at this point I'm seeing only 1. Anyway, trying to set it
> to 1 causes the same error message I remember:
>
> myth12 ~ # eselect opengl list
> Available OpenGL implementations:
> =C2=A0[1] =C2=A0 xorg-x11
> myth12 ~ # eselect opengl set 1
> Switching to xorg-x11 OpenGL interface...ln: creating symbolic link
> `./libglx.so': File exists
> !!! Error: Failed to create lib/libglx.so
> Killed
> myth12 ~ #
>
> myth12 ~ # slocate libglx
> /usr/lib/opengl/xorg-x11/extensions/libglx.so
> /usr/lib/xorg/modules/extensions/libglx.so
> myth12 ~ # ls -al /usr/lib/opengl/xorg-x11/extensions/libglx.so
> -rwxr-xr-x 1 root root 338584 Jun 23 16:41
> /usr/lib/opengl/xorg-x11/extensions/libglx.so
> myth12 ~ # ls -al /usr/lib/opengl/xorg-x11/extensions/
> total 344
> drwxr-xr-x 2 root root =C2=A0 4096 Jun 23 16:42 .
> drwxr-xr-x 5 root root =C2=A0 4096 Jun 23 16:42 ..
> -rwxr-xr-x 1 root root 338584 Jun 23 16:41 libglx.so
> myth12 ~ #
>
>
> myth12 ~ # equery belongs /usr/lib/opengl/xorg-x11/extensions/libglx.so
> [ Searching for file(s) /usr/lib/opengl/xorg-x11/extensions/libglx.so in =
*... ]
> x11-base/xorg-server-1.5.3-r6 (/usr/lib/opengl/xorg-x11/extensions/libglx=
.so)
> myth12 ~ #
>
> So the file is there and owned by xorg-server which is in the list to
> get rebuilt.
>
>>
>>> I'm trying a kernel rebuild and will reinstall modules, reboot, etc.
>>
>> What do you hope to achieve with that? OpenGL runs in user-space, and yo=
u have
>> a problem with a missing header file - totally unrelated to the kernle a=
nd
>> it's modules.
>
> I made a mistake earlier when I built this new kernel. (Updating from
> 2.6.19 to 2.6.29) I forgot to include ext2 support in the kernel so
> for a little while I had newer modules than the kernel because I
> couldn't mount the boot directory to install the kernel. I decide this
> morning to rebuild the whole kernel, rewrite the modules and get the
> whole thing consistent. Nothing more than cleaning up an earlier
> mistake.
>
> I've just rebuilt python and run python-updater just to make sure that
> I didn't miss rebuilding something that was required.
>
> I have no issues at all completely removing xorg-server and everything
> it loads and rebuilding it from scratch if folks think that might
> help.
>
> thanks,
> Mark
>

Humm...removing xorg-server allowed me to set OpenGL to xorg-x11
without an error:


myth12 ~ # emerge -C xorg-server

 x11-base/xorg-server
    selected: 1.5.3-r6
   protected: none
     omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging x11-base/xorg-server-1.5.3-r6...

 * GNU info directory index is up-to-date.
myth12 ~ # updatedb
myth12 ~ # ls -al /usr/lib/opengl/xorg-x11/extensions/
ls: cannot access /usr/lib/opengl/xorg-x11/extensions/: No such file
or directory
myth12 ~ # eselect opengl list
Available OpenGL implementations:
  [1]   xorg-x11
myth12 ~ # eselect opengl set 1
Switching to xorg-x11 OpenGL interface... done
myth12 ~ #

and now mesa seems to be building.

Problem solved - sort of. ;-)

Cheers,
Mark