On 12/1/19 11:08 PM, Trevor Mitchell via blfs-support wrote:
Hi
I think this is a silly error somewhere, but for the life of me I can't find it. I've build BLFS a couple of times (to XFCE and some applications).  But this time, I can't get mesa to build. I'm using the SVN book (SYSV), mesa-19.2.6  but have had the same trouble using the v9 book (mesa 19.2.3). My build instructions are:
    GALLIUM_DRV="i915"
    DRI_DRIVERS="i965"
    mkdir build
    cd    build
    meson --prefix=$XORG_PREFIX          \
          -Dbuildtype=release            \
          -Ddri-drivers=$DRI_DRIVERS     \
          -Dgallium-drivers=$GALLIUM_DRV \
          -Dgallium-nine=false           \
          -Dglx=dri                      \
          -Dosmesa=gallium               \
          -Dvalgrind=false               \
          ..
The build fails. At the end of mesa-19.2.6/build/meson-logs/meson-log.txt I find
     Run-time dependency libunwind found: NO (tried pkgconfig and cmake)
    meson.build:1345:4: ERROR: Problem encountered: OSMesa gallium requires gallium softpipe or llvmpipe. Changing the drivers to be installed - I really could live with just i965 - has no effect.

libunwind seems to be irrelevant: it isn't in the book; searching reveals nothing that looks to me relevant. and llvmpipe should be provided by LLVM - which is installed. All required and recommended dependencies are installed, including wayland and wayland-protocols. The book does say: " LLVM-8.0.1 (required for Gallium3D, nouveau, r300, and radeonsi drivers and for swrast, the software rasterizer which is sometimes referred to as llvmpipe." I'm not building any of those drivers, but anyway LLVM is installed.
Any idea what I have missed here?

I just built this a few hours ago without issue,  Try using


GALLIUM_DRV="i915,nouveau,r600,radeonsi,svga,swrast,virgl"
DRI_DRIVERS="i965,nouveau"

even if you don't need all those drivers.

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

Reply via email to