WTF is going on with the nvme-cli build

Daniel Wagner dwagner at suse.de
Mon Apr 17 01:44:55 PDT 2023


On Thu, Apr 13, 2023 at 07:49:42PM +0900, Damien Le Moal wrote:
 All the time... And I do have the json development headers installed:
> 
> /usr/include/json-c/json.h
> 
> But the compile command does not add -I/usr/include/json-c: it uses the broken
> default /usr/local/include/json-c. No normal distro install anything in
> /usr/local...
> 
> And that is despite the fact that meson setup says:
> 
> Run-time dependency json-c found: YES 0.15
> 
> Something is not right.

meson uses pkg-config (and cmake) to find all the dependency. I suspect the
PKG_CONFIG_PATH contains /usr/local/lib/pkgconfig. Can you check the
pkg-config configuration?



More information about the Linux-nvme mailing list