cmake failing to find capnp, package is installed

Jim Cromie jim.cromie at gmail.com
Thu Aug 24 23:42:48 UTC 2017


Checking for module 'capnp'

Package 'capnp', required by 'virtual:world', not found

CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:412 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPkgConfig.cmake:588 (_pkg_check_modules_internal)
CMakeLists.txt:123 (pkg_check_modules)

Configuring incomplete, errors occurred!

See also "/home/jimc/projects/rr/rr.git/build/CMakeFiles/CMakeOutput.log".

but grep capnp <logfile> finds nothing

this is a fedora-26 box, with package named perhaps different than expected.

[jimc at buffy build]$ rpm -q capnproto capnproto-libs
capnproto-0.6.1-3.fc26.x86_64
capnproto-libs-0.6.1-3.fc26.x86_64

fwiw, /usr/bin/capnp is installed (in $PATH)


More information about the rr-dev mailing list