[Pianod] Cannot build pianod 158 with json-c 0.12

Ryan Schmidt pianod-2014 at ryandesign.com
Sat May 24 08:06:41 PDT 2014


Hello,

I'm a developer with the MacPorts project, and we're looking into updating json-c to the latest version, 0.12-20140410:

https://trac.macports.org/ticket/43781

pianod 158 does not build with this version of json-c, because it cannot find json-c. It's looking for a pkg-config file called "json.pc", which is what json-c 0.9 provided, but json-c 0.12-20140410's pkg-config file is called "json-c.pc".

This leads to this configure output:

checking for json... no
configure: WARNING: No pkg-config for libjson (aka libjson0, json-c)
...
checking for json_object_new_string in -ljson... no
checking for json_object_new_string in -ljson-c... yes
...
checking json/json.h usability... no
checking json/json.h presence... no
checking for json/json.h... no
checking json.h usability... no
checking json.h presence... no
checking for json.h... no

And this build error:

request.c:34:2: error: json library not found.
#error json library not found.
 ^




More information about the Pianod mailing list