Hi pannet1,
Quote:
Originally Posted by pannet1
Hi friends,
While Configuring Mesa package in BLFS i got the following error,
root@Laughlin [ ~/xc ]# cd Mesa-7.11.2/
root@Laughlin [ ~/xc/Mesa-7.11.2 ]# ls
acinclude.m4 aclocal.m4 bin common.py configs configure configure.ac docs include Makefile scons SConstruct src
root@Laughlin [ ~/xc/Mesa-7.11.2 ]# sed 's@FLAGS=\"-g@FLAGS=\"@' -i configure
root@Laughlin [ ~/xc/Mesa-7.11.2 ]# patch -Np1 -i ../MesaLib-7.11.2-llvm_3.0-1.patch &&
> patch -Np1 -i ../MesaLib-7.11.2-add_xdemos-2.patch &&
> ./configure $XORG_CONFIG --enable-xcb
patching file src/gallium/auxiliary/draw/draw_llvm.c
patching file src/gallium/auxiliary/draw/draw_private.h
.
.
.checking for LIBUDEV... yes
checking for XCB_DRI2... yes
checking for xcb_dri2_connect_alignment_pad in -lxcb-dri2... no
checking for GLW... yes
checking for llvm-config... no
configure: error: LLVM is required to build Gallium R300 on x86 and x86_64
The solution that is after installing llvm package(one of dependency of Mesa package) we need to logout from our LFS and then login again(using chroot)
|
Nice to see you found a solution for this specific case (chrooted), but.... You shouldn't use the chrooted environment used during LFS in the first place. You should use the newly build LFS system and not use the host and chroot.
One of the problems you encounter when using the chrooted environment is that the host's kernel and /dev/ entries are used and _not_ those belonging to your freshly build LFS.
Hope this helps.