Am Samstag, den 16.03.2019, 10:39 +0100 schrieb Pierre Labastie via
blfs-dev:
> Hi,
> 
> For porting lxde to GTK+3, I have decided to rebuild completely lfs/blfs with
> most recent versions. I found a few issues (only built lxde deps):
> - 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

Funny enough, in the minute i stumbled over that issue too.
I think for BLFS it would be enough to swap the "make xdemos" and
"ninja install", meaning build the demos after mesa itself has been
installed. I did following after mesa has been installed:

$ tar -xf /mnt/LFS/conglomeration/mesa-19.0.0.tar.xz
$ cd mesa-19.0.0
$ patch -Np1 -i /mnt/LFS/conglomeration/mesa-19.0.0-add_xdemos-1.patch
patching file xdemos/glinfo_common.c
patching file xdemos/glinfo_common.h
patching file xdemos/glxgears.1
patching file xdemos/glxgears.c
patching file xdemos/glxinfo.1
patching file xdemos/glxinfo.c
patching file xdemos/Makefile
$ make -C xdemos DEMOS_PREFIX=/usr
make: Verzeichnis „/home/lfs/tmp/mesa-19.0.0/xdemos“ wird betreten
CC glxgears
CC glxinfo
make: Verzeichnis „/home/lfs/tmp/mesa-19.0.0/xdemos“ wird verlassen

So, at least compiling looks fine (not tested in real live since X11
not complete yet).

If you're doing DESTDIR-installs for building binary-packages that
might still not work (since the libGL is still not on the building
machine), but that is not quite relevant for the book.

> - pango-1.42.4: Fails if gobject-instrospection is not installed: either
> recommend g-i or pass -Dgir=false to meson.
> - vte-0.54.3: when compiling bindings/vala/app.vala, stops with an error:
> struct Test.app.Options cannot be empty. My version of vala is 0.44.0.
> 
> I fixed the first two issues by:
> - not compiling the mesa demos
> - compiling g-i before pango
> 
> I'm stuck at the last one, so that I cannot build lxterminal...

--
Thomas

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to