Building cockpit on CentOS 8 and json-glib errors
by jimmy71 from LinuxQuestions.org on (#56SXD)
I am porting a cockpit build from CentOS 7 to CentOS 8 and have run into an error I cannot find a fix for.
It involves auto configure and the JSON-GLIB library. My configure.ac file calls PKG_CHECK_MODULES(JSON_GLIB, {json-glib-1.0 >= 0.14}) but this fails and I think it's the versions but I can't figure out why.
Some output from my system:
$ rpm -qa | grep json-glib
json-glib-1.4.4-1.el8.x86_64
I looked for json-glib-*.pc and don't see it on the entire system.
Does anyone know what is going on?
*apologies if this is the wrong place for this question*


It involves auto configure and the JSON-GLIB library. My configure.ac file calls PKG_CHECK_MODULES(JSON_GLIB, {json-glib-1.0 >= 0.14}) but this fails and I think it's the versions but I can't figure out why.
Some output from my system:
$ rpm -qa | grep json-glib
json-glib-1.4.4-1.el8.x86_64
I looked for json-glib-*.pc and don't see it on the entire system.
Does anyone know what is going on?
*apologies if this is the wrong place for this question*