Skip to content

Qemu headless build process is stopped, complaining about a missing pixman.h

Hello.

I'm trying to build Qemu headless based on git commit 60ab3690, but every time it stops with this error message:

In file included from /home/fred/qemu-git/src/qemu/include/ui/console.h:4,
                 from ../hw/display/vga_int.h:30,
                 from ../hw/display/acpi-vga.c:4:
/home/fred/qemu-git/src/qemu/include/ui/qemu-pixman.h:12:10: fatal error: pixman.h: No such file or directory
   12 | #include <pixman.h>
      |          ^~~~~~~~~~
compilation terminated.
[844/10243] Generating hw-display-virt...d (wrapped by meson to capture output)

Configure options:

--prefix=/usr \
    --sysconfdir=/etc \
    --localstatedir=/var \
    --libexecdir=/usr/lib/qemu \
    --smbd=/usr/bin/smbd \
    --enable-modules \
    --disable-werror \
    --audio-drv-list= \
    --disable-gtk \
    --disable-vte \
    --disable-brlapi \
    --disable-opengl \
    --disable-dbus-display \
    --disable-virglrenderer \
    --disable-alsa \
    --disable-jack \
    --disable-oss \
    --disable-pa \
    --disable-sdl
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information