[SR-Users] Kazoo module json library kamailio 4.4.1

Grant Bagdasarian gb at cm.nl
Thu Jun 15 09:24:03 CEST 2017


Hi Daniel and Luis,

I've installed the json-c library, but it still isn't able to compile the kazoo module.

#locate json.h
/usr/include/json-c/json.h
/usr/local/src/kamailio-4.3/kamailio/lib/srutils/srjson.h
/usr/local/src/kamailio-4.3/kamailio/modules/kazoo/kz_json.h
/usr/local/src/kamailio-4.4/kamailio/lib/srutils/srjson.h
/usr/local/src/kamailio-4.4/kamailio/modules/cfgt/cfgt_json.h
/usr/local/src/kamailio-4.4/kamailio/modules/debugger/debugger_json.h
/usr/local/src/kamailio-4.4/kamailio/modules/kazoo/kz_json.h
/usr/local/src/kamailio-4.4.1/kamailio/lib/srutils/srjson.h
/usr/local/src/kamailio-4.4.1/kamailio/modules/cfgt/cfgt_json.h
/usr/local/src/kamailio-4.4.1/kamailio/modules/debugger/debugger_json.h
/usr/local/src/kamailio-4.4.1/kamailio/modules/kazoo/kz_json.h

Any ideas? Perhaps the wrong location?

Regards,

Grant

From: sr-users [mailto:sr-users-bounces at lists.kamailio.org] On Behalf Of Luis Azedo
Sent: woensdag 14 juni 2017 11:19
To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>; miconda at gmail.com
Subject: Re: [SR-Users] Kazoo module json library kamailio 4.4.1


Hi,



Daniel is correct (as usual).



Best

________________________________
From: sr-users <sr-users-bounces at lists.kamailio.org<mailto:sr-users-bounces at lists.kamailio.org>> on behalf of Daniel-Constantin Mierla <miconda at gmail.com<mailto:miconda at gmail.com>>
Sent: Wednesday, June 14, 2017 9:49:46 AM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Kazoo module json library kamailio 4.4.1


Hello,

from the include header file name, it seems to be json-c project. But maybe someone more familiar with the module can confirm better.

Cheers,
Daniel

On 13.06.17 09:57, Grant Bagdasarian wrote:
Hi,

Could someone please tell me which json library I have to install in order for the kazoo module to compile?
I've tried many different json library, none of them work.
It keeps complaining:

make all
CC (gcc) [M kazoo.so]           kz_trans.o
In file included from kz_trans.c:53:0:
kz_json.h:12:18: fatal error: json.h: No such file or directory
#include <json.h>
                  ^
compilation terminated.
../../Makefile.rules:97: recipe for target 'kz_trans.o' failed
make[1]: *** [kz_trans.o] Error 1
Makefile:511: recipe for target 'modules' failed
make: *** [modules] Error 1

There is another thread regarding this same issue, but no solution was provided by the creator of the thread.
Any ideas?

Regards,

Grant




_______________________________________________

Kamailio (SER) - Users Mailing List

sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>

https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users



--

Daniel-Constantin Mierla

www.twitter.com/miconda<http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda<http://www.linkedin.com/in/miconda>

Kamailio Advanced Training - www.asipto.com<http://www.asipto.com>

Kamailio World Conference - www.kamailioworld.com<http://www.kamailioworld.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170615/69db85e1/attachment.html>


More information about the sr-users mailing list