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(a)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(a)ng-voice.com>om>:
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(a)gmail.com>om>:
> 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(a)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(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users