LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problems building Mesa from source (https://www.linuxquestions.org/questions/linux-software-2/problems-building-mesa-from-source-4175509542/)

flyinggeorge 06-28-2014 09:23 PM

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?

TobiSGD 06-28-2014 09:55 PM

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/

flyinggeorge 06-28-2014 11:14 PM

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?


All times are GMT -5. The time now is 05:30 AM.