[Mesa-dev] libGL.so.* are not installed when configured with "--enable-xlib-glx"

Sven Joachim svenjoac at gmx.de
Wed May 9 14:02:09 PDT 2012


On 2012-05-05 19:17 +0200, 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>

Th following patch, reverting the change to src/mesa/Makefile in commit
8ffb098234, would help:

--8<---------------cut here---------------start------------->8---
diff --git a/src/mesa/Makefile b/src/mesa/Makefile
index 71e22b9..0e15d61 100644
--- a/src/mesa/Makefile
+++ b/src/mesa/Makefile
@@ -206,6 +206,8 @@ install-headers:
 install-libgl: default gl.pc install-headers
 	$(INSTALL) -d $(DESTDIR)$(INSTALL_LIB_DIR)
 	$(INSTALL) -d $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig
+	$(MINSTALL) $(TOP)/$(LIB_DIR)/$(GL_LIB_GLOB) \
+		$(DESTDIR)$(INSTALL_LIB_DIR)
 	$(INSTALL) -m 644 gl.pc $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig
 
 install-osmesa: default osmesa.pc
--8<---------------cut here---------------end--------------->8---

However, this a step backwards from switching to automake, so a better
solution should probably be found.

Cheers,
       Sven


More information about the mesa-dev mailing list