Hi all,
can anyone comment on the lack of a debian package for the db_cassandra module ??
I understand there may be reasons to not distribute the binary, but I was really hoping to find a control file so I can build my own package. any hints / pointers on the best way to achive this and the reasons behind it would be great.
Hi Jay,
it is not in the standard build, since you need to manually download some other packages (e.g. libthrift-dev), which are not in the standard debian repositories.
For adding a designated Debian-Package for Cassandra, i've made the changes in a separate branch:
2013/11/18 jay binks jaybinks@gmail.com:
Hi all,
can anyone comment on the lack of a debian package for the db_cassandra module ??
I understand there may be reasons to not distribute the binary, but I was really hoping to find a control file so I can build my own package. any hints / pointers on the best way to achive this and the reasons behind it would be great.
-- Sincerely
Jay
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Sorry, hit "Send" accidentally:
This is the branch with Debian Packaging for the Cassandra Module:
carstenbock/db_cassandra_deb
(i think i only added it for Debian Stable)
Kind regards, Carsten
2013/11/18 Carsten Bock carsten@ng-voice.com:
Hi Jay,
it is not in the standard build, since you need to manually download some other packages (e.g. libthrift-dev), which are not in the standard debian repositories.
For adding a designated Debian-Package for Cassandra, i've made the changes in a separate branch:
2013/11/18 jay binks jaybinks@gmail.com:
Hi all,
can anyone comment on the lack of a debian package for the db_cassandra module ??
I understand there may be reasons to not distribute the binary, but I was really hoping to find a control file so I can build my own package. any hints / pointers on the best way to achive this and the reasons behind it would be great.
-- Sincerely
Jay
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Carsten Bock CEO (Geschäftsführer)
ng-voice GmbH Schomburgstr. 80 D-22767 Hamburg / Germany
http://www.ng-voice.com mailto:carsten@ng-voice.com
Office +49 40 34927219 Fax +49 40 34927220
Sitz der Gesellschaft: Hamburg Registergericht: Amtsgericht Hamburg, HRB 120189 Geschäftsführer: Carsten Bock Ust-ID: DE279344284
Hier finden Sie unsere handelsrechtlichen Pflichtangaben: http://www.ng-voice.com/imprint/
Thanks for the help !!!
I have checked out your branch from git and am having a few issues with it.. hopefully you can assist.
Firstly I had to make the changes in the rules and control files for squeeze ( as you only did wheezy ). For my scenario Ive had to remove a few other little bits but that was just unixodbc, mono, and redis related. ( since my build host dosnt have these deps easily available... ) The issues im having dont appear to be related to these changes Ive made ...
so... I run "make deb" it appears to happily chug along and build debs for all other modules ( except the ones that I removed above )
thing is I dont get a kamailio-cassandra-modules.deb file ever. and I end up with this file left behind. sip-router/pkg/kamailio/deb/debian/kamailio-cassandra-modules
which appears to be the contents of the deb, that never gets completed. are you able to point me in the right direction for what Ive missed ?
I saw this chunk ( but nothing stood out as an issue to me )
/usr/bin/make install-modules-all group_include="kcassandra" basedir=/tmp/sip-router/debian/kamailio-cassandra-modules cfg_prefix=/tmp/sip-router/debian/kamailio-cassandra-modules doc-dir=share/doc/kamailio-cassandra-modules make[2]: Entering directory `/tmp/sip-router' make[4]: `libsrdb2.so.1.0' is up to date. make[4]: `libsrdb1.so.1.0' is up to date. LD (g++) [M db_cassandra.so] db_cassandra.so touch /tmp/sip-router/debian/kamailio-cassandra-modules/usr/lib64/kamailio//libsrdb2.so.1.0 install -m 755 libsrdb2.so.1.0 /tmp/sip-router/debian/kamailio-cassandra-modules/usr/lib64/kamailio/ rm -f /tmp/sip-router/debian/kamailio-cassandra-modules/usr/lib64/kamailio//libsrdb2.so.1 \
/tmp/sip-router/debian/kamailio-cassandra-modules/usr/lib64/kamailio//libsrdb2.so cd /tmp/sip-router/debian/kamailio-cassandra-modules/usr/lib64/kamailio/ ; ln -s libsrdb2.so.1.0 libsrdb2.so.1 cd /tmp/sip-router/debian/kamailio-cassandra-modules/usr/lib64/kamailio/ ; ln -s libsrdb2.so.1.0 libsrdb2.so touch /tmp/sip-router/debian/kamailio-cassandra-modules/usr/lib64/kamailio//libsrdb1.so.1.0 install -m 755 libsrdb1.so.1.0 /tmp/sip-router/debian/kamailio-cassandra-modules/usr/lib64/kamailio/ rm -f /tmp/sip-router/debian/kamailio-cassandra-modules/usr/lib64/kamailio//libsrdb1.so.1 \
/tmp/sip-router/debian/kamailio-cassandra-modules/usr/lib64/kamailio//libsrdb1.so cd /tmp/sip-router/debian/kamailio-cassandra-modules/usr/lib64/kamailio/ ; ln -s libsrdb1.so.1.0 libsrdb1.so.1 cd /tmp/sip-router/debian/kamailio-cassandra-modules/usr/lib64/kamailio/ ; ln -s libsrdb1.so.1.0 libsrdb1.so touch /tmp/sip-router/debian/kamailio-cassandra-modules/usr/lib64/kamailio/modules/db_cassandra.so install -m 755 db_cassandra.so /tmp/sip-router/debian/kamailio-cassandra-modules/usr/lib64/kamailio/modules make[2]: Leaving directory `/tmp/sip-router' # eliminate duplicate libs for d in /tmp/sip-router/debian/kamailio/usr/lib64/kamailio /tmp/sip-router/debian/kamailio-db-modules/usr/lib64/kamailio; do test "$d" != "/tmp/sip-router/debian/kamailio-cassandra-modules/usr/lib64/kamailio" && for r in $d/lib*; do if [ "$r" != "$d/lib*" ]; then echo "removing cassandra lib `basename $r` present also in $d"; rm -f /tmp/sip-router/debian/kamailio-cassandra-modules/usr/lib64/kamailio/`basename "$r"` ; fi done ; done removing cassandra lib libbinrpc.so present also in /tmp/sip-router/debian/kamailio/usr/lib64/kamailio removing cassandra lib libbinrpc.so.0 present also in /tmp/sip-router/debian/kamailio/usr/lib64/kamailio removing cassandra lib libbinrpc.so.0.1 present also in /tmp/sip-router/debian/kamailio/usr/lib64/kamailio removing cassandra lib libkcore.so present also in /tmp/sip-router/debian/kamailio/usr/lib64/kamailio removing cassandra lib libkcore.so.1 present also in /tmp/sip-router/debian/kamailio/usr/lib64/kamailio removing cassandra lib libkcore.so.1.0 present also in /tmp/sip-router/debian/kamailio/usr/lib64/kamailio removing cassandra lib libkmi.so present also in /tmp/sip-router/debian/kamailio/usr/lib64/kamailio removing cassandra lib libkmi.so.1 present also in /tmp/sip-router/debian/kamailio/usr/lib64/kamailio removing cassandra lib libkmi.so.1.0 present also in /tmp/sip-router/debian/kamailio/usr/lib64/kamailio removing cassandra lib libsrdb1.so present also in /tmp/sip-router/debian/kamailio/usr/lib64/kamailio removing cassandra lib libsrdb1.so.1 present also in /tmp/sip-router/debian/kamailio/usr/lib64/kamailio removing cassandra lib libsrdb1.so.1.0 present also in /tmp/sip-router/debian/kamailio/usr/lib64/kamailio removing cassandra lib libsrdb2.so present also in /tmp/sip-router/debian/kamailio/usr/lib64/kamailio removing cassandra lib libsrdb2.so.1 present also in /tmp/sip-router/debian/kamailio/usr/lib64/kamailio removing cassandra lib libsrdb2.so.1.0 present also in /tmp/sip-router/debian/kamailio/usr/lib64/kamailio removing cassandra lib libsrutils.so present also in /tmp/sip-router/debian/kamailio/usr/lib64/kamailio removing cassandra lib libsrutils.so.1 present also in /tmp/sip-router/debian/kamailio/usr/lib64/kamailio removing cassandra lib libsrutils.so.1.0 present also in /tmp/sip-router/debian/kamailio/usr/lib64/kamailio removing cassandra lib libtrie.so present also in /tmp/sip-router/debian/kamailio/usr/lib64/kamailio removing cassandra lib libtrie.so.1 present also in /tmp/sip-router/debian/kamailio/usr/lib64/kamailio removing cassandra lib libtrie.so.1.0 present also in /tmp/sip-router/debian/kamailio/usr/lib64/kamailio
but during the build process I did not appear to see any lines saying "dpkg-deb: building package"
I have also verified that I can run "/usr/bin/make install-modules-all group_include="kcassandra" basedir=/tmp/sip-router/debian/kamailio-cassandra-modules cfg_prefix=/tmp/sip-router/debian/kamailio-cassandra-modules doc-dir=share/doc/kamailio-cassandra-modules"
from /tmp/sip-router without any error, but it does not build the deb. what am I missing here ? :)
any assistance is much appreciated.
Jay
On 18 November 2013 22:15, Carsten Bock carsten@ng-voice.com wrote:
Sorry, hit "Send" accidentally:
This is the branch with Debian Packaging for the Cassandra Module:
carstenbock/db_cassandra_deb
(i think i only added it for Debian Stable)
Kind regards, Carsten
2013/11/18 Carsten Bock carsten@ng-voice.com:
Hi Jay,
it is not in the standard build, since you need to manually download some other packages (e.g. libthrift-dev), which are not in the standard debian repositories.
For adding a designated Debian-Package for Cassandra, i've made the changes in a separate branch:
2013/11/18 jay binks jaybinks@gmail.com:
Hi all,
can anyone comment on the lack of a debian package for the db_cassandra module ??
I understand there may be reasons to not distribute the binary, but I
was
really hoping to find a control file so I can build my own package. any hints / pointers on the best way to achive this and the reasons behind
it
would be great.
-- Sincerely
Jay
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Carsten Bock CEO (Geschäftsführer)
ng-voice GmbH Schomburgstr. 80 D-22767 Hamburg / Germany
http://www.ng-voice.com mailto:carsten@ng-voice.com
Office +49 40 34927219 Fax +49 40 34927220
Sitz der Gesellschaft: Hamburg Registergericht: Amtsgericht Hamburg, HRB 120189 Geschäftsführer: Carsten Bock Ust-ID: DE279344284
Hier finden Sie unsere handelsrechtlichen Pflichtangaben: http://www.ng-voice.com/imprint/
-- Carsten Bock CEO (Geschäftsführer)
ng-voice GmbH Schomburgstr. 80 D-22767 Hamburg / Germany
http://www.ng-voice.com mailto:carsten@ng-voice.com
Office +49 40 34927219 Fax +49 40 34927220
Sitz der Gesellschaft: Hamburg Registergericht: Amtsgericht Hamburg, HRB 120189 Geschäftsführer: Carsten Bock Ust-ID: DE279344284
Hier finden Sie unsere handelsrechtlichen Pflichtangaben: http://www.ng-voice.com/imprint/
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
2013/11/19 jay binks jaybinks@gmail.com:
Thanks for the help !!!
I have checked out your branch from git and am having a few issues with it.. hopefully you can assist.
Can you try this for squeeze?
https://github.com/linuxmaniac/kamailio/tree/vseva/db_cassandra_deb
So ive tried both branches on debian 6 with no luck. ive also build a new vm with debian 7 and all required deps and still no luck with either branch.
tried "make deb" and "make deb-stable"
it pretty much dies with this at the end of it.
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/kamailio-outbound-modules/usr/lib64/kamailio/modules/outbound.so was not linked against libssl.so.1.0.0 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/kamailio-outbound-modules/usr/lib64/kamailio/modules/outbound.so was not linked against libkmi.so.1 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/kamailio-outbound-modules/usr/lib64/kamailio/modules/outbound.so was not linked against libkcore.so.1 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/kamailio-websocket-modules/usr/lib64/kamailio/modules/websocket.so was not linked against libssl.so.1.0.0 (it uses none of the library's symbols) dpkg-shlibdeps: error: no dependency information found for /usr/lib/ libthrift-1.0.0-dev.so (used by debian/kamailio-cassandra-modules/usr/lib64/kamailio/modules/db_cassandra.so) dh_shlibdeps: dpkg-shlibdeps -Tdebian/kamailio-cassandra-modules.substvars debian/kamailio-cassandra-modules/usr/lib64/kamailio/modules/db_cassandra.so returned exit code 2 make[2]: *** [binary-common] Error 2 make[2]: Leaving directory `/root/vseva-jay' make[1]: *** [binary-arch] Error 2 make[1]: Leaving directory `/root/vseva-jay' dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
any further ideas ?
Jay
On 19 November 2013 20:12, Victor Seva linuxmaniac@torreviejawireless.orgwrote:
2013/11/19 jay binks jaybinks@gmail.com:
Thanks for the help !!!
I have checked out your branch from git and am having a few issues with
it..
hopefully you can assist.
Can you try this for squeeze?
https://github.com/linuxmaniac/kamailio/tree/vseva/db_cassandra_deb
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
I GOT IT !!!!!!!
thanks to http://stackoverflow.com/questions/11238134/dpkg-shlibdeps-error-no-dependen...
I edited the script /usr/bin/dpkg-shlibdeps, changing this :
my $ignore_missing_info = 0;
to
my $ignore_missing_info = 1;
On 20 November 2013 14:58, jay binks jaybinks@gmail.com wrote:
So ive tried both branches on debian 6 with no luck. ive also build a new vm with debian 7 and all required deps and still no luck with either branch.
tried "make deb" and "make deb-stable"
it pretty much dies with this at the end of it.
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/kamailio-outbound-modules/usr/lib64/kamailio/modules/outbound.so was not linked against libssl.so.1.0.0 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/kamailio-outbound-modules/usr/lib64/kamailio/modules/outbound.so was not linked against libkmi.so.1 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/kamailio-outbound-modules/usr/lib64/kamailio/modules/outbound.so was not linked against libkcore.so.1 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/kamailio-websocket-modules/usr/lib64/kamailio/modules/websocket.so was not linked against libssl.so.1.0.0 (it uses none of the library's symbols) dpkg-shlibdeps: error: no dependency information found for /usr/lib/ libthrift-1.0.0-dev.so (used by debian/kamailio-cassandra-modules/usr/lib64/kamailio/modules/db_cassandra.so) dh_shlibdeps: dpkg-shlibdeps -Tdebian/kamailio-cassandra-modules.substvars debian/kamailio-cassandra-modules/usr/lib64/kamailio/modules/db_cassandra.so returned exit code 2 make[2]: *** [binary-common] Error 2 make[2]: Leaving directory `/root/vseva-jay' make[1]: *** [binary-arch] Error 2 make[1]: Leaving directory `/root/vseva-jay' dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
any further ideas ?
Jay
On 19 November 2013 20:12, Victor Seva <linuxmaniac@torreviejawireless.org
wrote:
2013/11/19 jay binks jaybinks@gmail.com:
Thanks for the help !!!
I have checked out your branch from git and am having a few issues with
it..
hopefully you can assist.
Can you try this for squeeze?
https://github.com/linuxmaniac/kamailio/tree/vseva/db_cassandra_deb
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Sincerely
Jay
2013/11/20 jay binks jaybinks@gmail.com:
I GOT IT !!!!!!!
thanks to http://stackoverflow.com/questions/11238134/dpkg-shlibdeps-error-no-dependen...
I edited the script /usr/bin/dpkg-shlibdeps, changing this :
my $ignore_missing_info = 0;
to
my $ignore_missing_info = 1;
Can you try again without this change? I've updated the squeeze/wheeze rules to add ignore_missing_info to dh_shlibdeps command.
Cheers, Victor