LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-28-2014, 10:23 PM   #1
flyinggeorge
Member
 
Registered: Feb 2012
Location: United States
Distribution: Slackware 14.0
Posts: 159

Rep: Reputation: 3
Problems building Mesa from source


Hello, all. In an attempt to upgrade wine and perhaps enhance 3D games and their performance, I am upgrading Mesa (or attempting to) to 10.2.1.

So after running ./configure, I am instructed to use gmake to install. So, I run gmake and it returns:

Code:
gcc: error: /usr/lib64/libxcb-sync.so: No such file or directory
gmake[3]: *** [libGL.la] Error 1
gmake[3]: Leaving directory `/media/4tb/Asus-Darkstar/Misc/Mesa-10.2.1/src/glx'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/media/4tb/Asus-Darkstar/Misc/Mesa-10.2.1/src/glx'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/media/4tb/Asus-Darkstar/Misc/Mesa-10.2.1/src'
gmake: *** [all-recursive] Error 1
This is very confusing to me because it seems that I do have libxcb-sync.so in /usr/lib64

Code:
 locate libxcb-sync.so
/usr/lib64/libxcb-sync.so.0
/usr/lib64/libxcb-sync.so.0.0.0
/usr/lib64/libxcb-sync.so
/usr/lib/libxcb-sync.so.0
/usr/lib/libxcb-sync.so.0.0.0
/usr/lib/libxcb-sync.so
/usr/local/lib/libxcb-sync.so.1.0.0
/usr/local/lib/libxcb-sync.so.1
/usr/local/lib/libxcb-sync.so
...
Am I perhaps doing something wrong?
 
Old 06-28-2014, 10:55 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4873Reputation: 4873Reputation: 4873Reputation: 4873Reputation: 4873Reputation: 4873Reputation: 4873Reputation: 4873Reputation: 4873Reputation: 4873Reputation: 4873
Assuming that you still use Slackware (as your profile suggests), it is highly recommended to use the (modified) Slackbuild provided by Slackware to build Mesa. Keep also in mind that you will have to upgrade other packages also. You may want to have a look at this thread:
http://www.linuxquestions.org/questi...in-4175497737/
 
Old 06-29-2014, 12:14 AM   #3
flyinggeorge
Member
 
Registered: Feb 2012
Location: United States
Distribution: Slackware 14.0
Posts: 159

Original Poster
Rep: Reputation: 3
I do still use Slackware, and following your advice, I opted for the slackbuild instead of building from source. Now I have a new error.

Code:
collect2: error: ld returned 1 exit status
libtool: install: error: relink `egl_gallium.la' with the above command before installing it
gmake[4]: *** [install-eglLTLIBRARIES] Error 1
gmake[4]: Leaving directory `/tmp/wlsbuild/mesa-a59f2bb17bcc78e09653391748549e7973990798/src/gallium/targets/egl-static'
gmake[3]: *** [install-am] Error 2
gmake[3]: Leaving directory `/tmp/wlsbuild/mesa-a59f2bb17bcc78e09653391748549e7973990798/src/gallium/targets/egl-static'
gmake[2]: *** [install-recursive] Error 1
gmake[2]: Leaving directory `/tmp/wlsbuild/mesa-a59f2bb17bcc78e09653391748549e7973990798/src/gallium/targets'
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory `/tmp/wlsbuild/mesa-a59f2bb17bcc78e09653391748549e7973990798/src'
make: *** [install-recursive] Error 1
A quick search on this issue brought me to: https://bugs.freedesktop.org/show_bug.cgi?id=62226

The suggestion here is to uninstall mesa completely before rebuilding. The Mesa I currently have installed should be what came with the system. Would I be able to use removepkg to remove mesa before continuing? Is this advised?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Building mesa 9.2.5 compat32 package Somewho Slackware 9 12-18-2013 07:11 PM
Problems building pacemaker from source eantoranz Linux - Software 1 10-10-2012 03:43 AM
Building Mesa-7.8.1 with osmesa support shonumi Slackware 3 05-29-2011 05:04 PM
problems building fakenes from source frieza Linux - Software 2 08-28-2010 05:02 PM
Problem Building Mesa-6.5 with glproto>1.4.6 weibullguy Linux From Scratch 3 10-05-2006 05:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:13 PM.

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