[Mesa-dev] libGL.so.* are not installed when configured with "--enable-xlib-glx"
Sven Joachim
svenjoac at gmx.de
Mon May 7 12:43:16 PDT 2012
On 2012-05-07 20:48 +0200, Chad Versace wrote:
> On 05/05/2012 10:17 AM, Sven Joachim wrote:
>> On 2012-05-03 11:34 +0200, Sven Joachim wrote:
>>
>>> When configuring mesa git master with "--enable-xlib-glx", the GL
>>> library does not get installed.
>>
>> Bisection showed that this has been broken by commit 8ffb098234:
>>
>> commit 8ffb098234fbc3d2e3c8b3db6912dec9ea7a65eb
>> Author: Eric Anholt <eric at anholt.net>
>> Date: Sun Feb 5 06:10:56 2012 +0100
>>
>> glx: Convert to automake.
>>
>> Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
>>
>>> I configured mesa like this:
>>>
>>> ,----
>>> | % ./configure --enable-xlib-glx --without-gallium-drivers \
>>> | --without-dri-drivers --disable-egl --prefix=/tmp/mesa
>>> `----
>>>
>>> and after running make, have the following files in lib:
>>>
>>> ,----
>>> | % ls -1 lib
>>> | libGL.so
>>> | libGL.so.1
>>> | libGL.so.1.5.08000
>>> | libGLU.so
>>> | libGLU.so.1
>>> | libGLU.so.1.3.08000
>>> | libdricore.so
>>> | libglsl.so
>>> `----
>>>
>>> However, the libGL.so* files do not get installed:
>>>
>>> ,----
>>> | % ls -1R /tmp/mesa/lib
>>> | /tmp/mesa/lib:
>>> | dri
>>> | libGLU.so
>>> | libGLU.so.1
>>> | libGLU.so.1.3.08000
>>> | pkgconfig
>>> |
>>> | /tmp/mesa/lib/dri:
>>> | libdricore.so
>>> | libglsl.so
>>> |
>>> | /tmp/mesa/lib/pkgconfig:
>>> | dri.pc
>>> | gl.pc
>>> | glu.pc
>>> `----
>>>
>>> What went wrong?
>
> Perhaps the problem is that you are not building any drivers.
No, and building dri drivers does not seem to make sense here anyway
since the xlib-based library will not load them, AFAIK.
> Does the problem persist if you configure Mesa like this?
>
> ./configure --enable-xlib-glx --without-gallium-drivers --with-dri-drivers=swrast --disable-egl --prefix=/tmp/mesa:
Yes.
Cheers,
Sven
More information about the mesa-dev
mailing list