* configure with datadir outside of --prefix fails with meson
@ 2020-09-18 13:30 Anthony PERARD via
2020-09-18 13:40 ` Daniel P. Berrangé
0 siblings, 1 reply; 2+ messages in thread
From: Anthony PERARD via @ 2020-09-18 13:30 UTC (permalink / raw)
To: qemu-devel
Hi,
When we build QEMU while building Xen we do:
./configure --prefix=/usr/lib/xen \
--datadir=/usr/share/qemu-xen \
...
But meson give an error:
ERROR: The value of the 'datadir' option is '/usr/share/qemu-xen' which must be a subdir of the prefix '/usr/lib/xen'.
Would it still be possible to allow datadir outside of prefix or is it
going to be a limitation imposed by meson?
I can always change the call to configure but it would be nice not to
have to.
Thanks,
--
Anthony PERARD
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: configure with datadir outside of --prefix fails with meson
2020-09-18 13:30 configure with datadir outside of --prefix fails with meson Anthony PERARD via
@ 2020-09-18 13:40 ` Daniel P. Berrangé
0 siblings, 0 replies; 2+ messages in thread
From: Daniel P. Berrangé @ 2020-09-18 13:40 UTC (permalink / raw)
To: Anthony PERARD; +Cc: qemu-devel
On Fri, Sep 18, 2020 at 02:30:12PM +0100, Anthony PERARD via wrote:
> Hi,
>
> When we build QEMU while building Xen we do:
> ./configure --prefix=/usr/lib/xen \
> --datadir=/usr/share/qemu-xen \
> ...
>
> But meson give an error:
> ERROR: The value of the 'datadir' option is '/usr/share/qemu-xen' which must be a subdir of the prefix '/usr/lib/xen'.
>
> Would it still be possible to allow datadir outside of prefix or is it
> going to be a limitation imposed by meson?
This appears to be enforced by meson. It ony allows certain dirs to
be outside the prefix.
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-18 13:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-18 13:30 configure with datadir outside of --prefix fails with meson Anthony PERARD via
2020-09-18 13:40 ` Daniel P. Berrangé
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).