<div dir="ltr"><div><div><div><div>What does the end of your configure output look like?  You should see a summary at the end of configure.  I suspect you may be missing some dependent library.  On Fedora, I typically build a stripped down mesa that only contains llvmpipe and swr for both GL and OSMesa.  My build looks like this:<br><br></div><div>First I apply the following patch to src/mesa/Makefile.am to prevent a bug in the auto-make scripts that install conflicting libgl versions for BOTH dri and gallium.  Note, there may be a better way to patch this bug but patches posted to the dev list were ignored and this way seems to work at least:<br><span style="font-family:monospace,monospace">-- a/src/mesa/Makefile.am<br>+++ b/src/mesa/Makefile.am<br>@@ -22,8 +22,10 @@<br> SUBDIRS = . main/tests<br> <br> if HAVE_X11_DRIVER<br>+if !HAVE_GALLIUM<br> SUBDIRS += drivers/x11<br> endif<br>+endif<br> <br> if HAVE_DRICOMMON<br> SUBDIRS += drivers/dri</span><br><br></div><div>Then I configure with:<br><span style="font-family:monospace,monospace">./autogen.sh \<br>  --disable-va --disable-gbm --disable-xvmc --disable-vdpau \<br>  --disable-dri --with-dri-drivers= \<br>  --disable-egl --with-egl-platforms= --disable-gles1 --disable-gles2 \<br>  --enable-texture-float \<br>  --enable-glx --enable-xlib-glx \<br>  --enable-gallium-llvm=yes --enable-gallium-osmesa \<br>  --with-gallium-drivers=swrast,swr \<br></span></div><span style="font-family:monospace,monospace">  --prefix=/path/to/install</span><br><br></div>My output looks like (specifically note the "Gallium drivers:" line):<br><br><span style="font-family:monospace,monospace">...<br></span></div><span style="font-family:monospace,monospace">bunch-o-stuff<br>..<br>        prefix:          /home/<a href="http://khq.kitware.com/chuck.atkins/Code/Mesa/install/master">khq.kitware.com/chuck.atkins/Code/Mesa/install/master</a><br>        exec_prefix:     ${prefix}<br>        libdir:          ${exec_prefix}/lib<br>        includedir:      ${prefix}/include<br><br>        OpenGL:          yes (ES1: no ES2: no)<br><br>        OSMesa:          libOSMesa (Gallium)<br><br>        GLX:             Xlib-based<br><br>        EGL:             no<br><br>        llvm:            yes<br>        llvm-config:     /usr/bin/llvm-config<br>        llvm-version:    3.7.0<br><br>        Gallium drivers: swrast swr<br>        Gallium st:      mesa<br><br>        Shader cache:    yes<br>        With SHA1 from:  libcrypto<br><br>        Shared libs:     yes<br>        Static libs:     no<br>        Shared-glapi:    yes<br><br>        CFLAGS:          -g -O2 -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-math-errno -fno-trapping-math -fno-builtin-memcmp<br>        CXXFLAGS:        -g -O2 -Wall -fno-strict-aliasing -fno-builtin-memcmp -std=c++11<br>        Macros:          -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -DUSE_SSE41 -DNDEBUG -DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM -DHAVE_XLOCALE_H -DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DHAVE_LIBDRM -DHAVE_SHA1 -DHAVE_LIBUDEV -DUSE_XSHM -DMESA_EGL_NO_X11_HEADERS -DHAVE_LLVM=0x0307 -DMESA_LLVM_VERSION_PATCH=0<br><br>        LLVM_CFLAGS:     -I/usr/include   -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS<br>        LLVM_CXXFLAGS:   -I/usr/include   -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS   -std=c++11      <br>        LLVM_CPPFLAGS:   -I/usr/include   -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS<br>        LLVM_LDFLAGS:    -L/usr/lib64/llvm <br><br>        PYTHON2:         python2.7<br><br>        Run 'make' to build Mesa<br><br></span><br></div>Then I make -j8 install.  The resulting install then has the following libraries:<br><div><span style="font-family:monospace,monospace"><br><a href="http://libglapi.la">libglapi.la</a>  <br>libglapi.so -> libglapi.so.0.0.0<br>libglapi.so.0 -> libglapi.so.0.0.0<br>libglapi.so.0.0.0  <br>libGL.la  <br>libGL.so -> libGL.so.1.5.0<br>libGL.so.1 -> libGL.so.1.5.0<br>libGL.so.1.5.0  <br>libOSMesa.la  <br>libOSMesa.so -> libOSMesa.so.8.0.0<br>libOSMesa.so.8 -> libOSMesa.so.8.0.0<br>libOSMesa.so.8.0.0  <br>libswrAVX2.la  <br>libswrAVX2.so -> libswrAVX2.so.0.0.0<br>libswrAVX2.so.0 -> libswrAVX2.so.0.0.0<br>libswrAVX2.so.0.0.0  <br>libswrAVX.la  <br>libswrAVX.so -> libswrAVX.so.0.0.0<br>libswrAVX.so.0 -> libswrAVX.so.0.0.0<br>libswrAVX.so.0.0.0</span><br></div><div class="gmail_extra"><br>Does your build produce similar output?<br><br></div><div class="gmail_extra"><div><div><div dir="ltr">- Chuck<br></div></div></div><span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px"></span><br></div></div>