LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-22-2015, 04:21 PM   #1
ahc_fan
Member
 
Registered: Jan 2009
Location: Seattle, WA
Distribution: Slackware64 14.2
Posts: 259

Rep: Reputation: 11
Updating mesa and libdrm


Hello. I want to update mesa to take advantage of some features in wine-staging. I download the newest version of mesa and run ./configure. The process ends at this:

Code:
configure: error: Direct rendering requires libdrm >= 2.4.60
I have these two packages installed currently:

Code:
libdrm-2.4.46-x86_64-1
libdrm-compat32-2.4.46-x86_64-1compat32
So then I downloaded libdrm-2.4.65, run ./configure, make, make install as the README instructs. Lots of warning but no errors. Yet I still can't configure mesa -- I get the same error as above. I tried installing libdrm to a different prefix and pointing mesa there. That didn't work either.

Any assistance would be appreciated. I am on Slackware64 14.1 multilib.
 
Old 10-22-2015, 04:59 PM   #2
Candelabrus
Member
 
Registered: Apr 2015
Location: Ponta Grossa - PR
Distribution: Slackware64
Posts: 173

Rep: Reputation: 26
This can help you

http://linorg.usp.br/slackware/slack...esa.SlackBuild
 
Old 10-22-2015, 05:56 PM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Not to mess your system, I suggest you build upgraded Slackware packages using the build material in /source in the Slackware mirrors or media.
 
2 members found this post helpful.
Old 10-22-2015, 06:54 PM   #4
ahc_fan
Member
 
Registered: Jan 2009
Location: Seattle, WA
Distribution: Slackware64 14.2
Posts: 259

Original Poster
Rep: Reputation: 11
That slack build doesn't help. Mesa wants a newer version of libdrm.

Didier Spaier: Would it hurt anything if I install the libdrm and mesa packages from the slackware-current mirrors?
 
Old 10-22-2015, 07:50 PM   #5
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Also reuse the SlackBuilds for libdrm to rebuild a new package for libdrm then.

About using the libdrm and mesa packages for slackware-current; I didn't check, could be a hit or miss.

But what you could do is reuse the build material for -current to rebuild both packages, in case something did change in the SlackBuilds or maybe new patches applied: again, I didn't check.

All that been said, I'd suggest that you wait to fiddle with such important components of your system that you be more familiar with Slackware and its packaging system. http://docs.slackware.com can help you get there, especially all articles about Slackware packages that you can find using the search feature.
 
1 members found this post helpful.
Old 10-22-2015, 08:21 PM   #6
Weber Kai
Member
 
Registered: Jun 2009
Location: Brasília, Brazil
Distribution: Slackware64 14.2
Posts: 38

Rep: Reputation: 24
First try this:

http://linorg.usp.br/slackware/slack...urce/x/libdrm/

Then try this:
http://linorg.usp.br/slackware/slack...source/x/mesa/
 
1 members found this post helpful.
Old 10-23-2015, 02:23 AM   #7
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
If you use Wine with Mesa-nine, make sure you enable the Gallium drivers for Nouveau, Radeon, RadeonSi, i915, and ilo.
 
Old 10-23-2015, 06:54 AM   #8
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
If you're attempting to do this on Slackware 14.1, you're in for a lot of recompiling. I did this last December to upgrade my mesa to 10.4, and it is a lot of work and a lot of dependencies. Keep in mind, this was for mesa back in December, so dependencies may have changed even further. The following is what I changed. The (recompiled) programs were needed so they worked with the other upgraded dependencies.

autoconf 2.69 (recompiled)
automake 1.11.5 -> 1.14.1
libdrm 2.4.46 -> 2.4.58
libelf 0.8.13 (recompiled)
libevdev 1.2 (added)
llvm 3.3 -> 3.4.2
mesa 9.1.7 -> 10.4
qt 4.8.5 -> 4.8.6
xorg 1.14.3 -> 1.15.2 (this was just the server version, but I didn't want to list each xorg package individually, since it was 276 packages)

Overall, it probably took me a week to get the everything upgraded properly. It contained some frustrating moments when I'd have a build fail due to outdated dependencies or when I'd attempt a reboot and something would crap out. Then I'd have to revert back to the stock packages and try again. Once everything was done, I then needed to do it all again in a 32bit VM so I could upgrade my multilib (but it's much easier to do it the second time than the first). It's definitely doable, but a better option might be to just switch to -current, since it has mesa 11.0.2 (and it'd likely be a really simple compile to upgrade to 11.0.3 if desired). But if you want to continue pursuing this, I would recommend starting with the source and slackbuilds from -current, and then only upgrade further when necessary. It's a lot easier than trying to just blindly update programs not using the work Pat has already done to get everything working together.
 
1 members found this post helpful.
Old 10-23-2015, 02:32 PM   #9
ahc_fan
Member
 
Registered: Jan 2009
Location: Seattle, WA
Distribution: Slackware64 14.2
Posts: 259

Original Poster
Rep: Reputation: 11
Thanks guys. I think Didier Spaier is correct that I should hold off until I have a better understanding of this. And I will most likely try out Slackware-Current rather than try doing it all myself.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mesa-compat32 updating warning on Slack64 14.1 Youmu Slackware 4 08-09-2015 05:00 PM
[SOLVED] MESA and libdrm multilib flyinggeorge Linux - Newbie 6 06-10-2013 12:37 PM
[SOLVED] kernel boot problem 2.6.33-smp while updating to current libdrm.so.6 no such file matters Slackware 2 03-08-2010 02:50 PM
upgrading libdrm User0x45 Slackware 7 02-05-2009 05:14 AM
Installing Mesa & Mesa-demos... bozotix Linux - Software 2 05-09-2002 12:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration