Kazoo module json library kamailio 4.4.1

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Kazoo module json library kamailio 4.4.1

Grant Bagdasarian

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
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Reply | Threaded
Open this post in threaded view
|

Re: Kazoo module json library kamailio 4.4.1

Daniel-Constantin Mierla-6

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
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com

_______________________________________________
Kamailio (SER) - Users Mailing List
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Reply | Threaded
Open this post in threaded view
|

Re: Kazoo module json library kamailio 4.4.1

Luis Azedo-2

Hi,


Daniel is correct (as usual).


Best


From: sr-users <[hidden email]> on behalf of Daniel-Constantin Mierla <[hidden email]>
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
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com

_______________________________________________
Kamailio (SER) - Users Mailing List
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Reply | Threaded
Open this post in threaded view
|

Re: Kazoo module json library kamailio 4.4.1

Grant Bagdasarian

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:[hidden email]] On Behalf Of Luis Azedo
Sent: woensdag 14 juni 2017 11:19
To: Kamailio (SER) - Users Mailing List <[hidden email]>; [hidden email]
Subject: Re: [SR-Users] Kazoo module json library kamailio 4.4.1

 

Hi,

 

Daniel is correct (as usual).

 

Best


From: sr-users <[hidden email]> on behalf of Daniel-Constantin Mierla <[hidden email]>
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
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users



-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com

_______________________________________________
Kamailio (SER) - Users Mailing List
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Reply | Threaded
Open this post in threaded view
|

Re: Kazoo module json library kamailio 4.4.1

Grant Bagdasarian

Hi community,

 

I still can’t seem to build Kamailio 4.4.4 with the kazoo module.

 

https://github.com/json-c/json-c

I’ve also manually compiled this project but still no luck.

In the documentation of this project it mentions linking it to libjson-c but I couldn’t find these script lines in the kazoo Makefile.

 

Has anyone every compiled Kamailio 4.4.4. with the kazoo module?


Regards,

 

Grant

 

From: sr-users [mailto:[hidden email]] On Behalf Of Grant Bagdasarian
Sent: donderdag 15 juni 2017 09:24
To: Kamailio (SER) - Users Mailing List <[hidden email]>; [hidden email]
Subject: Re: [SR-Users] Kazoo module json library kamailio 4.4.1

 

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 [[hidden email]] On Behalf Of Luis Azedo
Sent: woensdag 14 juni 2017 11:19
To: Kamailio (SER) - Users Mailing List <[hidden email]>; [hidden email]
Subject: Re: [SR-Users] Kazoo module json library kamailio 4.4.1

 

Hi,

 

Daniel is correct (as usual).

 

Best


From: sr-users <[hidden email]> on behalf of Daniel-Constantin Mierla <[hidden email]>
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
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

 

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com

_______________________________________________
Kamailio (SER) - Users Mailing List
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Reply | Threaded
Open this post in threaded view
|

Re: Kazoo module json library kamailio 4.4.1

Grant Bagdasarian

Hi,

 

I’ve managed to get it compiled.

The server was missing pkg-config. After installing this the Makefile could make the correct decisions and find the json.h module.

 

Regards,

 

Grant

 

From: sr-users [mailto:[hidden email]] On Behalf Of Grant Bagdasarian
Sent: dinsdag 4 juli 2017 16:30
To: Kamailio (SER) - Users Mailing List <[hidden email]>; [hidden email]
Subject: Re: [SR-Users] Kazoo module json library kamailio 4.4.1

 

Hi community,

 

I still can’t seem to build Kamailio 4.4.4 with the kazoo module.

 

https://github.com/json-c/json-c

I’ve also manually compiled this project but still no luck.

In the documentation of this project it mentions linking it to libjson-c but I couldn’t find these script lines in the kazoo Makefile.

 

Has anyone every compiled Kamailio 4.4.4. with the kazoo module?


Regards,

 

Grant

 

From: sr-users [[hidden email]] On Behalf Of Grant Bagdasarian
Sent: donderdag 15 juni 2017 09:24
To: Kamailio (SER) - Users Mailing List <[hidden email]>; [hidden email]
Subject: Re: [SR-Users] Kazoo module json library kamailio 4.4.1

 

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 [[hidden email]] On Behalf Of Luis Azedo
Sent: woensdag 14 juni 2017 11:19
To: Kamailio (SER) - Users Mailing List <[hidden email]>; [hidden email]
Subject: Re: [SR-Users] Kazoo module json library kamailio 4.4.1

 

Hi,

 

Daniel is correct (as usual).

 

Best


From: sr-users <[hidden email]> on behalf of Daniel-Constantin Mierla <[hidden email]>
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
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

 

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com

_______________________________________________
Kamailio (SER) - Users Mailing List
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users