[sr-dev] json-c and rabbitmq-c

Luis Azedo luis at 2600hz.com
Wed Oct 22 00:57:59 CEST 2014


ok, deb builds should be working now (master and 4.2)

lets drop this idea of including the libs.

Daniel,
can you change the spec of kazoo in opensuse build to 
Requires:	librabbitmq, json-c, libuuid, kamailio = %version
BuildRequires:	librabbitmq-devel, json-c-devel, libuuid-devel

or you can add my user to the project and i'll try it ? (lazedo)

Best

________________________________________
From: sr-dev-bounces at lists.sip-router.org [sr-dev-bounces at lists.sip-router.org] on behalf of Daniel-Constantin Mierla [miconda at gmail.com]
Sent: Tuesday, October 21, 2014 3:36 PM
To: Kamailio (SER) - Development Mailing List
Subject: Re: [sr-dev] json-c and rabbitmq-c

On 22/10/14 00:23, Luis Azedo wrote:
> well, i'm familiar with deb side of building but for  rpms we don't have a source for json-c (too many sources) and rabbitmq (none)
> we also find some packages with different names (libjson, libjson-c, json-c, rabbitmq, rabbitmq-c librabbitmq) depending on who built the package.
>
>
> i've pushed the kazoo changes into master (compat issues with json-c and rabbitmq),  any objections on chery pick this into 4.2?

>From my quick review, I understand that it fixes usage of the module
with specific versions of the libraries it needs (more actual
version/those common for distro). So that is a fix and can be picked to
stable branch.

Embedding a library should not be done if there is no major rewrite or
reshapping of that library for kamailio specifics is done. Lack of
package can be overcome by custom repositories -- I think that is (or
was) done for hiredis lib. Now of course, becomes a matter of resources
(including human) for taking care of.

Cheers,
Daniel

>
> ________________________________________
> From: sr-dev-bounces at lists.sip-router.org [sr-dev-bounces at lists.sip-router.org] on behalf of Victor Seva [linuxmaniac at torreviejawireless.org]
> Sent: Tuesday, October 21, 2014 3:15 PM
> To: sr-dev at lists.sip-router.org
> Subject: Re: [sr-dev] json-c and rabbitmq-c
>
> On 10/21/2014 11:16 PM, Luis Azedo wrote:
>> Hi List,
>>
>> there has been some problems trying to create builds for module kazoo due to the dependency of libraries (subject).
>>
>> i think that one possible (tested successfully) solution is to integrate these libraries in lib folder and distribute them as part of kamailio.
>>
>> i created them with "kamailio-" prefix and changed kazoo makefile to refer to these. if we proceed with this change, other modules dependent of json could also benefit from this inclusion.
>>
>> Thoughts ?
> No, please, don't. Other modules are using json-c without any problems
> and librabbitmq ( 0.5.2 ) is already in Debian.
> What are those problems?
>
> Cheers,
> Victor
>
>
>
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda


_______________________________________________
sr-dev mailing list
sr-dev at lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev



More information about the sr-dev mailing list