Help on Meson build Error
Ján Tomko
jtomko at redhat.com
Thu Sep 24 06:58:26 UTC 2020
On a Thursday in 2020, Wei Wang wrote:
>Seems it didn't appear on the mailing list, resent it.
>
> Hi folks,
>
>I'm trying to build libvirt using meson with the latest upstream libvirt,
>but the compilation fails:
>(followed on https://libvirt.org/compiling.html, not sure if any
>dependencies are missed. I checked, src/util/libvirt_util.a.p does not
>exist.)
>
>FAILED: src/util/libvirt_util.a.p/glibcompat.c.o
>....
>In file included from ../src/util/glibcompat.c:19:
>./config.h:1026:10: fatal error: config-post.h: No such file or directory
>FAILED: src/util/libvirt_util.a.p/virfirmware.c.o
>In file included from ../src/util/virarch.c:22:
>./config.h:1026:10: fatal error: config-post.h: No such file or directory
>FAILED: src/util/libvirt_util.a.p/viraudit.c.o
>In file included from ../src/util/viraudit.c:22:
>./config.h:1026:10: fatal error: config-post.h: No such file or directory
>
config-post.h was moved to config.h when we converted to Meson.
There are probably some leftovers from a previous build in your build
directory. Can you try it with an empty build directory?
Jano
>Any help is appreciated.
>
>Thanks,
>Wei
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200924/cdb7a76e/attachment-0001.sig>
More information about the libvir-list
mailing list