"configure: error: Unable to find <rpc/rpc.h>" when compiling libvirt 6.0.0 from a release tarball
Michal Prívozník
mprivozn at redhat.com
Mon Mar 30 10:50:57 UTC 2020
On 30. 3. 2020 8:15, FuLong Wang wrote:
>
> I have tried below command, but still didn't work.
>
>
> ../configure CPPFLAGS="-I/usr/local/include/rpc"
You can set only CFLAGS and not CPPFLAGS. But I suspect that you need to
set LDFLAGS too so that even linker knows where to look for the library.
Also, there is config.log which should display the exact error which
will give us clue.
Michal
More information about the libvirt-users
mailing list