On 3/16/19 4:39 AM, Pierre Labastie via blfs-dev wrote:
- mesa-19.0.0: running "make -C ../xdemos DEMOS_PREFIX=$XORG_PREFIX" generates
an error because libGL cannot be found. I guess it wouldn't show up if a
previous version of mesa were installed, since there is /usr/lib/libGL.so.
I do not know what would be a fix, but my guess is that we should look at the
source of the demos and see whether they have been ported to meson/ninja.
Otherwise, we may need to run configure for those
The Makefile for xdemos is hard coded -- there is no configure. Looking
at it, it has:
DEMOS_LDFLAGS = -L../lib$(EXT) -lGL $(X11_LIBS) -lm
At the time xdemos is first built, ./build/src/glx/libGL.so exists, but
is not yet installed. For builds where $XORG_PREFIX/lib/libGL* already
exists, there is no problem.
For a first install, I can think of a couple of solutions:
1. Add a variable LIBRARY_PATH=$PWD/src/glx to the make xdemos line.
2. Move the make xdemos line to after ninja install of the main package.
The issue is that testing would require a complete reinstall of xorg.
I suppose I could just rename /opt/xorg to /opt/xorg.save and rebuild
just xorg thru mesa and then restore the original by removing the new
partial xorg and renaming back. I lean towards moving the xdemos build
to after the mesa install.
Is that something you could do relatively quickly with jhalfs?
On second thought, just removing/renaming $XORG_PREFIX/lib/libGL.so
(temporarily) and testing the mesa build may be enough to test changes.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page