Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to update libdri ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
michaelalan
n00b
n00b


Joined: 04 Feb 2013
Posts: 4

PostPosted: Thu Feb 07, 2013 9:55 am    Post subject: How to update libdri ? Reply with quote

When I tried to configure x-server source code package, there was a notify say "Requested dri >= '7.8.0', but version of dri is 7.5.1".
How to update libdri ? Please help me. THX !
Back to top
View user's profile Send private message
fturco
Apprentice
Apprentice


Joined: 08 Dec 2010
Posts: 289
Location: Italy

PostPosted: Thu Feb 07, 2013 10:09 am    Post subject: Reply with quote

Please post the exact emerge command you ran along with 20-30 lines of the output where the error occurs.
Back to top
View user's profile Send private message
michaelalan
n00b
n00b


Joined: 04 Feb 2013
Posts: 4

PostPosted: Thu Feb 07, 2013 10:24 am    Post subject: Reply with quote

My command :
Code:
./configure --prefix=/usr

the output:
Code:

checking for XLIB ... yes
checking for GL ... yes
checking for DRIPROTO ... yes
checking for DRI ... no
configure: error: Package requrements (glproto >= 1.4.14 dri >= 7.8.0) were not met:

Requested 'dri >= 7.8.0' but version of dri is 7.5.1
                                     


And there is a xorg page about the x-server update: http://cgit.freedesktop.org/xorg/xserver/commit/?id=b68f0204a2e4fa9d8884cbdd84b6a5df21d6b36e
Back to top
View user's profile Send private message
ssuominen
Developer
Developer


Joined: 30 Sep 2005
Posts: 2131
Location: Finland

PostPosted: Thu Feb 07, 2013 11:07 am    Post subject: Reply with quote

Huh. You are installing X.org outside from Portage's control? And to default prefix /usr, or even to default local prefix /usr/local which is getting picked up by pkg-config, the linker, the compiler, and so forth?

Wow. Stop doing that and if you want experimental X.org version, use the overlay from layman.

Wipe the trash out from /usr, /usr/local and install X.org using Portage.
Back to top
View user's profile Send private message
wcg
Guru
Guru


Joined: 06 Jan 2009
Posts: 588

PostPosted: Fri Feb 08, 2013 12:46 am    Post subject: Reply with quote

When you use Portage's emerge to install xorg-server
on Gentoo, emerge will pull in a more recent version
of libdri (and other dependencies) if one is required
by the package you are emerging and if a version
that meets the various requirements (and does not
conflict with any other constraints on what versions
can be emerged) is available in Portage.

My guess is that the package that you want is
xorg-x11:
Code:

emerge =x11-base/xorg-x11


(That has xorg-server and most of the other xorg packages
as dependencies.)

Use emerge's "-p" option if you want to see what all
it is going to emerge before it actually does it:
Code:

emerge -p =x11-base/xorg-x11 | less


After it is done, run revdep-rebuld to re-emerge any
other packages linked against earlier versions of the libraries
that were updated by emerging xorg-x11:
Code:

revdep-rebuild

To see what revdep-rebuild is going to do before
it actually does it, use revdep-rebuild's "-p" option:
Code:

revdep-rebuid -p | less

_________________
TIA


Last edited by wcg on Sat Feb 09, 2013 7:02 am; edited 1 time in total
Back to top
View user's profile Send private message
michaelalan
n00b
n00b


Joined: 04 Feb 2013
Posts: 4

PostPosted: Fri Feb 08, 2013 8:00 am    Post subject: Reply with quote

I think I solved the problem by installing a newly version MesaLib (version 9.0.2), my earlier MesaLib version is 7.5.1 -- that's why my libdri version is 7.5.1
However, thanks you all !
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum