[libvirt PATCH 1/4] meson: Print custom message when GNU grep is not installed

Erik Skultety eskultet at redhat.com
Fri Mar 26 10:15:37 UTC 2021


On Wed, Mar 24, 2021 at 07:37:57PM +0100, Andrea Bolognani wrote:
> Currently, if GNU grep is not installed on a FreeBSD system the
> configuration step will fail with
> 
>   Program grep found: YES (/usr/bin/grep)
>   Program /usr/local/bin/grep found: NO
> 
>   ERROR: Program '/usr/local/bin/grep' not found

Stupid question, but how does one need to invoke meson to actually hit ^this.
On my local FreeBSD 12:

$ ls -l /usr/local/bin/grep
ls: /usr/local/bin/grep: No such file or directory

$ pkg info | grep gnu
gnupg-2.2.26
gnutls-3.6.15

$ pwd
/home/test/libvirt

$ git describe
v7.1.0-328-g5f9330e724

$ meson --version
0.56.0

$ meson build -Dsystem=true | grep grep
Program grep found: YES (/usr/bin/grep)

Erik




More information about the libvir-list mailing list