[SR-Users] Make deb

jay binks jaybinks at gmail.com
Thu Apr 2 03:37:49 CEST 2015


I have managed to confirm that "make deb" does not actually build
db_cassandra
but it does make a deb for it :)  ( has changelog etc but no
db_cassandra.so file )

why does it not build the .so when calling make deb ??
can someone point me in the direction to debug that part.

doesnt seem to be related to the debian rules or control file ..

is there something like modules.lst for when using "make deb" ?


On 2 April 2015 at 00:24, Daniel-Constantin Mierla <miconda at gmail.com>
wrote:

>  The spec files to build debian packages are kept inside
> 'pkg/kamailio/deb/' directory, groupped per distribution name inside
> specific sub-directories (using debian and ubuntu version names -- the one
> 'debian' is the generic one, but for a specific version you should choose
> the one matching the name).
>
> Then I am not that familiar with debian spec files to be able to advice by
> heart, however you should find easily on the web many sources of
> information about the files inside those folder and how to build deb
> packages.
>
> Say you want to build for debian wheezy:
>
> - edit the files inside pkg/kamailio/deb/wheezy/ to fit your needs
> - in the root directory with kamailio sources do:
>
> ln -s pkg/kamailio/deb/wheezy debian
> make deb
>
> And you should get the packaging process started.
>
> Cheers,
> Daniel
>
>
> On 01/04/15 14:46, jay binks wrote:
>
>  Sorry, this confused me a little..
>  can you give an example of what you mean ?
>
> On 1 April 2015 at 22:40, Daniel-Constantin Mierla <miconda at gmail.com>
> wrote:
>
>>  Hello,
>>
>> you have to edit spec files and remove the other modules in the folder
>> matching your debian distribution inside 'pkg/kamailio/deb/'. This is the
>> only way I know to change the packaging content for debs. Then make a
>> symlink inside root folder of kamailio server named 'debian' to the
>> respective folder inside 'pkg/kamailio/deb/' and run 'make deb'.
>>
>> Cheers,
>> Daniel
>>
>>
>> On 01/04/15 13:50, jay binks wrote:
>>
>>  is there any way to make deb packages for only 1 of the modules ??
>> currently it takes a long time to run "make deb"
>>
>>  im simply trying to build and package db_cassandra ( need the package
>> for my environment )
>>
>>  As a side note, is there any chance db_cassandra could be added to the
>> kamailio deb packages ?
>>
>>  --
>> Sincerely
>>
>> Jay
>>
>>
>>  _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users at lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>> --
>> Daniel-Constantin Mierlahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
>> Kamailio World Conference, May 27-29, 2015
>> Berlin, Germany - http://www.kamailioworld.com
>>
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>
>
> --
> Sincerely
>
> Jay
>
>
> --
> Daniel-Constantin Mierlahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
> Kamailio World Conference, May 27-29, 2015
> Berlin, Germany - http://www.kamailioworld.com
>
>


-- 
Sincerely

Jay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150402/4e3dc498/attachment.html>


More information about the sr-users mailing list