Re: [SR-Users] 5.4 dependency package question

2021-05-19 Thread Andrew Chen
Ok I'll try those steps.  Thanks.

On Wed, May 19, 2021 at 10:46 AM Daniel-Constantin Mierla 
wrote:

> Maybe switch to hard copy as instructed by Victor Seva and use
> dpkg-buildpackage directly:
>
> On the root of the kamailio repository:
>
> cp -r pkg/kamailio/deb/bionic debian
> dpkg-buildpackage -rfakeroot -tc -uc -us
> On 19.05.21 16:38, Daniel-Constantin Mierla wrote:
>
> Hello,
>
> is quite strange that you get those dependency requirements. I do not have
> a bionic, I do it for buster and they are not required.
>
> Searching for gcj-jdk on specs dirs results in:
>
> ag gcj-jdk pkg/kamailio/deb/
> pkg/kamailio/deb/debian/backports/bionic
> 21:# No app_java due lack of gcj-jdk
> 22:sed -i -e '/gcj-jdk/d' -e '/^Package: kamailio-java-modules/,/^$/d' \
>
> pkg/kamailio/deb/debian/backports/sid
> 21:# No app_java due lack of gcj-jdk
> 22:sed -i -e '/gcj-jdk/d' -e '/^Package: kamailio-java-modules/,/^$/d' \
>
> pkg/kamailio/deb/debian/backports/bullseye
> 21:# No app_java due lack of gcj-jdk
> 22:sed -i -e '/gcj-jdk/d' -e '/^Package: kamailio-java-modules/,/^$/d' \
>
> pkg/kamailio/deb/debian/backports/focal
> 21:# No app_java due lack of gcj-jdk
> 22:sed -i -e '/gcj-jdk/d' -e '/^Package: kamailio-java-modules/,/^$/d' \
>
> pkg/kamailio/deb/debian/control
> 17: gcj-jdk,
>
> pkg/kamailio/deb/debian/backports/buster
> 21:# No app_java due lack of gcj-jdk
> 22:sed -i -e '/gcj-jdk/d' -e '/^Package: kamailio-java-modules/,/^$/d' \
>
> pkg/kamailio/deb/precise/control
> 15: gcj-jdk,
>
> pkg/kamailio/deb/stretch/control
> 17: gcj-jdk,
>
> pkg/kamailio/deb/wheezy/control
> 15: gcj-jdk,
>
> pkg/kamailio/deb/jessie/control
> 16: gcj-jdk,
>
> pkg/kamailio/deb/xenial/control
> 16: gcj-jdk,
>
> pkg/kamailio/deb/trusty/control
> 15: gcj-jdk,
>
> So it is not in pkg/kamailio/deb/bionic/control (also not in the folder
> for buster), you should not get it if debian symlink is pointing correctly.
> I do the steps:
>
> ln -s pkg/kamailio/deb/buster debian
> make deb
>
> every time I do a public kamailio release to be sure packages build fine
> (independent of deb.kamailio.org portal) and no java/jdk is requested as
> dependency. Can you try to run manually on a VM or docker with bionic?
>
> Cheers,
> Daniel
> On 19.05.21 16:16, Andrew Chen wrote:
>
> Hi Henning,
>
> Thanks for the response.
>
> From what I can see, I am not seeing that module.  Below is my
> INCLUDE_MODULES list:
>
> INCLUDE_MODULES="exec rtpengine topoh carrierroute statsd dialplan kex tm
> tmx sl rr pv maxfwd usrloc textops sdpops siputils xlog sanity ctl acc
> dispatcher cfgutils permissions domain presence presence_xml nathelper
> dialog tls htable pike db_mysql userblacklist sqlops websocket xhttp
> siptrace tcpops jsonrpcs rtimer"
>
> --Andy
>
> On Wed, May 19, 2021 at 8:08 AM Henning Westerholt  wrote:
>
>> Hi Andrew,
>>
>>
>>
>> just remove the app_java module which introduce this dependency if you do
>> not use it.
>>
>>
>>
>> Cheers,
>>
>>
>>
>> Henning
>>
>>
>>
>> --
>>
>> Henning Westerholt – https://skalatan.de/blog/
>>
>> Kamailio services – https://gilawa.com
>>
>>
>>
>> *From:* sr-users  *On Behalf Of *Andrew
>> Chen
>> *Sent:* Wednesday, May 19, 2021 1:59 PM
>> *To:* Daniel-Constantin Mierla 
>> *Cc:* Kamailio (SER) - Users Mailing List 
>> *Subject:* Re: [SR-Users] 5.4 dependency package question
>>
>>
>>
>> Hi guys,
>>
>>
>>
>> Does anyone have any updates on this?
>>
>>
>>
>> More so, can this package dependency be ignored if I am not using Java
>> for Kamailio configuration?
>>
>>
>>
>> Thanks
>>
>> --Andy
>>
>>
>>
>> On Mon, May 17, 2021 at 1:56 PM Andrew Chen  wrote:
>>
>> Yes.  My Jenkins job runs the symlink step everytime:
>>
>>
>>
>> sudo ln -s pkg/kamailio/deb/bionic debian
>>
>> ## Create debian package
>> sudo make deb
>>
>>
>>
>> I do this in the main kamailio install directory.
>>
>>
>>
>> On Mon, May 17, 2021 at 1:09 PM Daniel-Constantin Mierla <
>> mico...@gmail.com> wrote:
>>
>> Is it debian symlink pointing to the right folder in pkg/kamailio/deb/
>> for you distribution? As I said, it gets deleted and running 'make deb'
>> again with (re-)create the symlink to the 'debian' folder. In other words,
>> create symlink always before running 'make deb'.
>>
>> Cheers,
>> Da

Re: [SR-Users] 5.4 dependency package question

2021-05-19 Thread Andrew Chen
Hi Henning,

Thanks for the response.

>From what I can see, I am not seeing that module.  Below is my
INCLUDE_MODULES list:

INCLUDE_MODULES="exec rtpengine topoh carrierroute statsd dialplan kex tm
tmx sl rr pv maxfwd usrloc textops sdpops siputils xlog sanity ctl acc
dispatcher cfgutils permissions domain presence presence_xml nathelper
dialog tls htable pike db_mysql userblacklist sqlops websocket xhttp
siptrace tcpops jsonrpcs rtimer"

--Andy

On Wed, May 19, 2021 at 8:08 AM Henning Westerholt  wrote:

> Hi Andrew,
>
>
>
> just remove the app_java module which introduce this dependency if you do
> not use it.
>
>
>
> Cheers,
>
>
>
> Henning
>
>
>
> --
>
> Henning Westerholt – https://skalatan.de/blog/
>
> Kamailio services – https://gilawa.com
>
>
>
> *From:* sr-users  *On Behalf Of *Andrew
> Chen
> *Sent:* Wednesday, May 19, 2021 1:59 PM
> *To:* Daniel-Constantin Mierla 
> *Cc:* Kamailio (SER) - Users Mailing List 
> *Subject:* Re: [SR-Users] 5.4 dependency package question
>
>
>
> Hi guys,
>
>
>
> Does anyone have any updates on this?
>
>
>
> More so, can this package dependency be ignored if I am not using Java for
> Kamailio configuration?
>
>
>
> Thanks
>
> --Andy
>
>
>
> On Mon, May 17, 2021 at 1:56 PM Andrew Chen  wrote:
>
> Yes.  My Jenkins job runs the symlink step everytime:
>
>
>
> sudo ln -s pkg/kamailio/deb/bionic debian
>
> ## Create debian package
> sudo make deb
>
>
>
> I do this in the main kamailio install directory.
>
>
>
> On Mon, May 17, 2021 at 1:09 PM Daniel-Constantin Mierla <
> mico...@gmail.com> wrote:
>
> Is it debian symlink pointing to the right folder in pkg/kamailio/deb/ for
> you distribution? As I said, it gets deleted and running 'make deb' again
> with (re-)create the symlink to the 'debian' folder. In other words, create
> symlink always before running 'make deb'.
>
> Cheers,
> Daniel
>
> On 17.05.21 17:44, Andrew Chen wrote:
>
> So after looking at the build logs, it seems I'm still facing these
> dependency errors:
>
>
>
> The following packages have unmet dependencies:
>
>  gcj-jdk : Depends: libgcj-common (>= 1:6.4-3ubuntu1) but it is not 
> installable
>
>Depends: gcj-jre (>= 4:6.4.0-3ubuntu1) but it is not installable
>
>Depends: gcj-6-jdk (>= 6.4.0-1~) but it is not installable
>
> The following packages have unmet dependencies:
>
>  libval-dev : Depends: libval15 (= 2.2-4) but it is not installable
>
> How important are these libraries and which module uses them?
>
>
>
> On Mon, May 17, 2021 at 11:34 AM Andrew Chen  wrote:
>
> Hey guys.  The linking of the directory worked!  Thanks again for your
> help.
>
>
>
> On Mon, May 17, 2021 at 7:59 AM Andrew Chen  wrote:
>
> Thanks guys!  I will try these out today.
>
>
>
> On Mon, May 17, 2021 at 5:08 AM Daniel-Constantin Mierla <
> mico...@gmail.com> wrote:
>
>
> On 17.05.21 09:49, Victor Seva wrote:
> > On 5/14/21 2:09 PM, Andrew Chen wrote:
> >> Hi Daniel,
> >>
> >> Yes.  These are the steps I took:
> >>
> >> ## git clone kamailio repository
> >> cd $INSTALLDIR
> >> sudo git clone https://github.com/kamailio/kamailio
> >> <https://github.com/kamailio/kamailio> kamailio
> >> cd kamailio
> >> sudo git checkout 5.4
> >>
> >> ## Make config files with included modules list
> >> sudo make include_modules="$INCLUDE_MODULES" cfg
> >>
> >> ## Compile Kamailio
> >> sudo make mode=debug
> >>
> >> cd pkg/kamailio/deb
> >>
> >> ## Create debian package
> >> sudo dpkg-buildpackage
> >>
> >>
> >> Hi Victor,
> >>
> >> Yes, this is the version of Ubuntu we are using:
> >>
> >> debhttp://deb.kamailio.org/kamailio54
> >> <http://deb.kamailio.org/kamailio54>  bionic main
> >> deb-srchttp://deb.kamailio.org/kamailio54
> >> <http://deb.kamailio.org/kamailio54>  bionic main
> >
> > If you're using bionic, then use bionic directory at pkg/kamailio/deb
> > as your debian dir.
> >
> > On the root of the kamailio repository:
> > # cp -r pkg/kamailio/deb/bionic debian
> > # dpkg-buildpackage -rfakeroot -tc -uc -us
>
> For what it worth, we have also a target in the Makefile for building
> debs, next is what I typically use to test debs building before a release:
>
> ln -s pkg/kamailio/deb/bionic debian
> make deb
>
> Note that debian syml

Re: [SR-Users] 5.4 dependency package question

2021-05-19 Thread Andrew Chen
Hi guys,

Does anyone have any updates on this?

More so, can this package dependency be ignored if I am not using Java for
Kamailio configuration?

Thanks
--Andy

On Mon, May 17, 2021 at 1:56 PM Andrew Chen  wrote:

> Yes.  My Jenkins job runs the symlink step everytime:
>
> sudo ln -s pkg/kamailio/deb/bionic debian
>
> ## Create debian package
> sudo make deb
>
> I do this in the main kamailio install directory.
>
> On Mon, May 17, 2021 at 1:09 PM Daniel-Constantin Mierla <
> mico...@gmail.com> wrote:
>
>> Is it debian symlink pointing to the right folder in pkg/kamailio/deb/
>> for you distribution? As I said, it gets deleted and running 'make deb'
>> again with (re-)create the symlink to the 'debian' folder. In other words,
>> create symlink always before running 'make deb'.
>>
>> Cheers,
>> Daniel
>> On 17.05.21 17:44, Andrew Chen wrote:
>>
>> So after looking at the build logs, it seems I'm still facing these
>> dependency errors:
>>
>> The following packages have unmet dependencies:
>>  gcj-jdk : Depends: libgcj-common (>= 1:6.4-3ubuntu1) but it is not 
>> installable
>>Depends: gcj-jre (>= 4:6.4.0-3ubuntu1) but it is not installable
>>Depends: gcj-6-jdk (>= 6.4.0-1~) but it is not installable
>>
>> The following packages have unmet dependencies:
>>  libval-dev : Depends: libval15 (= 2.2-4) but it is not installable
>>
>> How important are these libraries and which module uses them?
>>
>>
>> On Mon, May 17, 2021 at 11:34 AM Andrew Chen  wrote:
>>
>>> Hey guys.  The linking of the directory worked!  Thanks again for your
>>> help.
>>>
>>> On Mon, May 17, 2021 at 7:59 AM Andrew Chen  wrote:
>>>
 Thanks guys!  I will try these out today.

 On Mon, May 17, 2021 at 5:08 AM Daniel-Constantin Mierla <
 mico...@gmail.com> wrote:

>
> On 17.05.21 09:49, Victor Seva wrote:
> > On 5/14/21 2:09 PM, Andrew Chen wrote:
> >> Hi Daniel,
> >>
> >> Yes.  These are the steps I took:
> >>
> >> ## git clone kamailio repository
> >> cd $INSTALLDIR
> >> sudo git clone https://github.com/kamailio/kamailio
> >>  kamailio
> >> cd kamailio
> >> sudo git checkout 5.4
> >>
> >> ## Make config files with included modules list
> >> sudo make include_modules="$INCLUDE_MODULES" cfg
> >>
> >> ## Compile Kamailio
> >> sudo make mode=debug
> >>
> >> cd pkg/kamailio/deb
> >>
> >> ## Create debian package
> >> sudo dpkg-buildpackage
> >>
> >>
> >> Hi Victor,
> >>
> >> Yes, this is the version of Ubuntu we are using:
> >>
> >> debhttp://deb.kamailio.org/kamailio54
> >>   bionic main
> >> deb-srchttp://deb.kamailio.org/kamailio54
> >>   bionic main
> >
> > If you're using bionic, then use bionic directory at pkg/kamailio/deb
> > as your debian dir.
> >
> > On the root of the kamailio repository:
> > # cp -r pkg/kamailio/deb/bionic debian
> > # dpkg-buildpackage -rfakeroot -tc -uc -us
>
> For what it worth, we have also a target in the Makefile for building
> debs, next is what I typically use to test debs building before a
> release:
>
> ln -s pkg/kamailio/deb/bionic debian
> make deb
>
> Note that debian symlink is deleted after 'make deb' completes or
> fails,
> so needs to be recreated if the command has to be run again.
>
> Cheers,
> Daniel
>
> --
> Daniel-Constantin Mierla -- www.asipto.com
> www.twitter.com/miconda -- www.linkedin.com/in/miconda
> Kamailio Advanced Training - Online
> May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America Timezone)
>   * https://www.asipto.com/sw/kamailio-advanced-training-online/
>
>
> __
> Kamailio - Users Mailing List - Non Commercial Discussions
>   * sr-users@lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only
> to the sender!
> Edit mailing list options or unsubscribe:
>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


 --
 Andy Chen
 Sr. Telephony Lead Engineer
 415 516 5535 (M)
 achen@ fuze.com


>>>
>>> --
>>> Andy Chen
>>> Sr. Telephony Lead Engineer
>>> 415 516 5535 (M)
>>> achen@ fuze.com
>>>
>>>
>>
>> --
>> Andy Chen
>> Sr. Telephony Lead Engineer
>> 415 516 5535 (M)
>> achen@ fuze.com
>>
>>
>> *Confidentiality Notice: The information contained in this e-mail and any
>> attachments may be confidential. If you are not an intended recipient, you
>> are hereby notified that any dissemination, distribution or copying of
>> this
>> e-mail is strictly prohibited. If you have received this e-mail in error,
>> please notify the sender and permanently delete the e-mail and any
>> attachments immediately. 

Re: [SR-Users] 5.4 dependency package question

2021-05-19 Thread Daniel-Constantin Mierla
Maybe switch to hard copy as instructed by Victor Seva and use
dpkg-buildpackage directly:

On the root of the kamailio repository:

cp -r pkg/kamailio/deb/bionic debian
dpkg-buildpackage -rfakeroot -tc -uc -us

On 19.05.21 16:38, Daniel-Constantin Mierla wrote:
>
> Hello,
>
> is quite strange that you get those dependency requirements. I do not
> have a bionic, I do it for buster and they are not required.
>
> Searching for gcj-jdk on specs dirs results in:
>
> ag gcj-jdk pkg/kamailio/deb/
> pkg/kamailio/deb/debian/backports/bionic
> 21:# No app_java due lack of gcj-jdk
> 22:sed -i -e '/gcj-jdk/d' -e '/^Package: kamailio-java-modules/,/^$/d' \
>
> pkg/kamailio/deb/debian/backports/sid
> 21:# No app_java due lack of gcj-jdk
> 22:sed -i -e '/gcj-jdk/d' -e '/^Package: kamailio-java-modules/,/^$/d' \
>
> pkg/kamailio/deb/debian/backports/bullseye
> 21:# No app_java due lack of gcj-jdk
> 22:sed -i -e '/gcj-jdk/d' -e '/^Package: kamailio-java-modules/,/^$/d' \
>
> pkg/kamailio/deb/debian/backports/focal
> 21:# No app_java due lack of gcj-jdk
> 22:sed -i -e '/gcj-jdk/d' -e '/^Package: kamailio-java-modules/,/^$/d' \
>
> pkg/kamailio/deb/debian/control
> 17: gcj-jdk,
>
> pkg/kamailio/deb/debian/backports/buster
> 21:# No app_java due lack of gcj-jdk
> 22:sed -i -e '/gcj-jdk/d' -e '/^Package: kamailio-java-modules/,/^$/d' \
>
> pkg/kamailio/deb/precise/control
> 15: gcj-jdk,
>
> pkg/kamailio/deb/stretch/control
> 17: gcj-jdk,
>
> pkg/kamailio/deb/wheezy/control
> 15: gcj-jdk,
>
> pkg/kamailio/deb/jessie/control
> 16: gcj-jdk,
>
> pkg/kamailio/deb/xenial/control
> 16: gcj-jdk,
>
> pkg/kamailio/deb/trusty/control
> 15: gcj-jdk,
>
> So it is not in pkg/kamailio/deb/bionic/control (also not in the
> folder for buster), you should not get it if debian symlink is
> pointing correctly. I do the steps:
>
> ln -s pkg/kamailio/deb/buster debian
> make deb
>
> every time I do a public kamailio release to be sure packages build
> fine (independent of deb.kamailio.org portal) and no java/jdk is
> requested as dependency. Can you try to run manually on a VM or docker
> with bionic?
>
> Cheers,
> Daniel
>
> On 19.05.21 16:16, Andrew Chen wrote:
>> Hi Henning,
>>
>> Thanks for the response.
>>
>> From what I can see, I am not seeing that module.  Below is my
>> INCLUDE_MODULES list:
>>
>> INCLUDE_MODULES="exec rtpengine topoh carrierroute statsd dialplan
>> kex tm tmx sl rr pv maxfwd usrloc textops sdpops siputils xlog sanity
>> ctl acc dispatcher cfgutils permissions domain presence presence_xml
>> nathelper dialog tls htable pike db_mysql userblacklist sqlops
>> websocket xhttp siptrace tcpops jsonrpcs rtimer"
>>
>> --Andy
>>
>> On Wed, May 19, 2021 at 8:08 AM Henning Westerholt > <mailto:h...@skalatan.de>> wrote:
>>
>> Hi Andrew,
>>
>>  
>>
>> just remove the app_java module which introduce this dependency
>> if you do not use it.
>>
>>  
>>
>> Cheers,
>>
>>  
>>
>> Henning
>>
>>  
>>
>> -- 
>>
>> Henning Westerholt – https://skalatan.de/blog/
>> <https://skalatan.de/blog/>
>>
>> Kamailio services – https://gilawa.com <https://gilawa.com/>
>>
>>  
>>
>> *From:* sr-users > <mailto:sr-users-boun...@lists.kamailio.org>> *On Behalf Of
>> *Andrew Chen
>> *Sent:* Wednesday, May 19, 2021 1:59 PM
>> *To:* Daniel-Constantin Mierla > <mailto:mico...@gmail.com>>
>> *Cc:* Kamailio (SER) - Users Mailing List
>> mailto:sr-users@lists.kamailio.org>>
>> *Subject:* Re: [SR-Users] 5.4 dependency package question
>>
>>  
>>
>> Hi guys,
>>
>>  
>>
>> Does anyone have any updates on this?
>>
>>  
>>
>> More so, can this package dependency be ignored if I am not using
>> Java for Kamailio configuration?
>>
>>  
>>
>> Thanks
>>
>> --Andy
>>
>>  
>>
>> On Mon, May 17, 2021 at 1:56 PM Andrew Chen > <mailto:ac...@fuze.com>> wrote:
>>
>> Yes.  My Jenkins job runs the symlink step everytime:
>>
>>  
>>
>> sudo ln -s pkg/kamailio/deb/bionic debian
>>
>> ## Create debian package
>> sudo make deb
>>
>>  
>>
>> I do this in the main kamailio install directory.
>>
&g

Re: [SR-Users] 5.4 dependency package question

2021-05-19 Thread Daniel-Constantin Mierla
Hello,

is quite strange that you get those dependency requirements. I do not
have a bionic, I do it for buster and they are not required.

Searching for gcj-jdk on specs dirs results in:

ag gcj-jdk pkg/kamailio/deb/
pkg/kamailio/deb/debian/backports/bionic
21:# No app_java due lack of gcj-jdk
22:sed -i -e '/gcj-jdk/d' -e '/^Package: kamailio-java-modules/,/^$/d' \

pkg/kamailio/deb/debian/backports/sid
21:# No app_java due lack of gcj-jdk
22:sed -i -e '/gcj-jdk/d' -e '/^Package: kamailio-java-modules/,/^$/d' \

pkg/kamailio/deb/debian/backports/bullseye
21:# No app_java due lack of gcj-jdk
22:sed -i -e '/gcj-jdk/d' -e '/^Package: kamailio-java-modules/,/^$/d' \

pkg/kamailio/deb/debian/backports/focal
21:# No app_java due lack of gcj-jdk
22:sed -i -e '/gcj-jdk/d' -e '/^Package: kamailio-java-modules/,/^$/d' \

pkg/kamailio/deb/debian/control
17: gcj-jdk,

pkg/kamailio/deb/debian/backports/buster
21:# No app_java due lack of gcj-jdk
22:sed -i -e '/gcj-jdk/d' -e '/^Package: kamailio-java-modules/,/^$/d' \

pkg/kamailio/deb/precise/control
15: gcj-jdk,

pkg/kamailio/deb/stretch/control
17: gcj-jdk,

pkg/kamailio/deb/wheezy/control
15: gcj-jdk,

pkg/kamailio/deb/jessie/control
16: gcj-jdk,

pkg/kamailio/deb/xenial/control
16: gcj-jdk,

pkg/kamailio/deb/trusty/control
15: gcj-jdk,

So it is not in pkg/kamailio/deb/bionic/control (also not in the folder
for buster), you should not get it if debian symlink is pointing
correctly. I do the steps:

ln -s pkg/kamailio/deb/buster debian
make deb

every time I do a public kamailio release to be sure packages build fine
(independent of deb.kamailio.org portal) and no java/jdk is requested as
dependency. Can you try to run manually on a VM or docker with bionic?

Cheers,
Daniel

On 19.05.21 16:16, Andrew Chen wrote:
> Hi Henning,
>
> Thanks for the response.
>
> From what I can see, I am not seeing that module.  Below is my
> INCLUDE_MODULES list:
>
> INCLUDE_MODULES="exec rtpengine topoh carrierroute statsd dialplan kex
> tm tmx sl rr pv maxfwd usrloc textops sdpops siputils xlog sanity ctl
> acc dispatcher cfgutils permissions domain presence presence_xml
> nathelper dialog tls htable pike db_mysql userblacklist sqlops
> websocket xhttp siptrace tcpops jsonrpcs rtimer"
>
> --Andy
>
> On Wed, May 19, 2021 at 8:08 AM Henning Westerholt  <mailto:h...@skalatan.de>> wrote:
>
> Hi Andrew,
>
>  
>
> just remove the app_java module which introduce this dependency if
> you do not use it.
>
>  
>
> Cheers,
>
>  
>
> Henning
>
>  
>
> -- 
>
> Henning Westerholt – https://skalatan.de/blog/
> <https://skalatan.de/blog/>
>
> Kamailio services – https://gilawa.com <https://gilawa.com/>
>
>  
>
> *From:* sr-users  <mailto:sr-users-boun...@lists.kamailio.org>> *On Behalf Of
> *Andrew Chen
> *Sent:* Wednesday, May 19, 2021 1:59 PM
>     *To:* Daniel-Constantin Mierla  <mailto:mico...@gmail.com>>
> *Cc:* Kamailio (SER) - Users Mailing List
> mailto:sr-users@lists.kamailio.org>>
> *Subject:* Re: [SR-Users] 5.4 dependency package question
>
>  
>
> Hi guys,
>
>  
>
> Does anyone have any updates on this?
>
>  
>
> More so, can this package dependency be ignored if I am not using
> Java for Kamailio configuration?
>
>  
>
> Thanks
>
> --Andy
>
>  
>
> On Mon, May 17, 2021 at 1:56 PM Andrew Chen  <mailto:ac...@fuze.com>> wrote:
>
> Yes.  My Jenkins job runs the symlink step everytime:
>
>  
>
> sudo ln -s pkg/kamailio/deb/bionic debian
>
> ## Create debian package
> sudo make deb
>
>  
>
> I do this in the main kamailio install directory.
>
>  
>
> On Mon, May 17, 2021 at 1:09 PM Daniel-Constantin Mierla
> mailto:mico...@gmail.com>> wrote:
>
> Is it debian symlink pointing to the right folder in
> pkg/kamailio/deb/ for you distribution? As I said, it gets
> deleted and running 'make deb' again with (re-)create the
> symlink to the 'debian' folder. In other words, create
> symlink always before running 'make deb'.
>
> Cheers,
> Daniel
>
> On 17.05.21 17:44, Andrew Chen wrote:
>
> So after looking at the build logs, it seems I'm still
> facing these dependency errors:
>
>  
>
> The following packages have unmet dependencies:
>
> gcj-jdk : Depends: libgcj-common (>= 1:6

Re: [SR-Users] 5.4 dependency package question

2021-05-19 Thread Henning Westerholt
Hi Andrew,

just remove the app_java module which introduce this dependency if you do not 
use it.

Cheers,

Henning

--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com<https://gilawa.com/>

From: sr-users  On Behalf Of Andrew Chen
Sent: Wednesday, May 19, 2021 1:59 PM
To: Daniel-Constantin Mierla 
Cc: Kamailio (SER) - Users Mailing List 
Subject: Re: [SR-Users] 5.4 dependency package question

Hi guys,

Does anyone have any updates on this?

More so, can this package dependency be ignored if I am not using Java for 
Kamailio configuration?

Thanks
--Andy

On Mon, May 17, 2021 at 1:56 PM Andrew Chen 
mailto:ac...@fuze.com>> wrote:
Yes.  My Jenkins job runs the symlink step everytime:

sudo ln -s pkg/kamailio/deb/bionic debian

## Create debian package
sudo make deb

I do this in the main kamailio install directory.

On Mon, May 17, 2021 at 1:09 PM Daniel-Constantin Mierla 
mailto:mico...@gmail.com>> wrote:

Is it debian symlink pointing to the right folder in pkg/kamailio/deb/ for you 
distribution? As I said, it gets deleted and running 'make deb' again with 
(re-)create the symlink to the 'debian' folder. In other words, create symlink 
always before running 'make deb'.

Cheers,
Daniel
On 17.05.21 17:44, Andrew Chen wrote:
So after looking at the build logs, it seems I'm still facing these dependency 
errors:


The following packages have unmet dependencies:

 gcj-jdk : Depends: libgcj-common (>= 1:6.4-3ubuntu1) but it is not installable

   Depends: gcj-jre (>= 4:6.4.0-3ubuntu1) but it is not installable

   Depends: gcj-6-jdk (>= 6.4.0-1~) but it is not installable

The following packages have unmet dependencies:

 libval-dev : Depends: libval15 (= 2.2-4) but it is not installable

How important are these libraries and which module uses them?

On Mon, May 17, 2021 at 11:34 AM Andrew Chen 
mailto:ac...@fuze.com>> wrote:
Hey guys.  The linking of the directory worked!  Thanks again for your help.

On Mon, May 17, 2021 at 7:59 AM Andrew Chen 
mailto:ac...@fuze.com>> wrote:
Thanks guys!  I will try these out today.

On Mon, May 17, 2021 at 5:08 AM Daniel-Constantin Mierla 
mailto:mico...@gmail.com>> wrote:

On 17.05.21 09:49, Victor Seva wrote:
> On 5/14/21 2:09 PM, Andrew Chen wrote:
>> Hi Daniel,
>>
>> Yes.  These are the steps I took:
>>
>> ## git clone kamailio repository
>> cd $INSTALLDIR
>> sudo git clone https://github.com/kamailio/kamailio
>> <https://github.com/kamailio/kamailio> kamailio
>> cd kamailio
>> sudo git checkout 5.4
>>
>> ## Make config files with included modules list
>> sudo make include_modules="$INCLUDE_MODULES" cfg
>>
>> ## Compile Kamailio
>> sudo make mode=debug
>>
>> cd pkg/kamailio/deb
>>
>> ## Create debian package
>> sudo dpkg-buildpackage
>>
>>
>> Hi Victor,
>>
>> Yes, this is the version of Ubuntu we are using:
>>
>> debhttp://deb.kamailio.org/kamailio54<http://deb.kamailio.org/kamailio54>
>> <http://deb.kamailio.org/kamailio54>  bionic main
>> deb-srchttp://deb.kamailio.org/kamailio54<http://deb.kamailio.org/kamailio54>
>> <http://deb.kamailio.org/kamailio54>  bionic main
>
> If you're using bionic, then use bionic directory at pkg/kamailio/deb
> as your debian dir.
>
> On the root of the kamailio repository:
> # cp -r pkg/kamailio/deb/bionic debian
> # dpkg-buildpackage -rfakeroot -tc -uc -us

For what it worth, we have also a target in the Makefile for building
debs, next is what I typically use to test debs building before a release:

ln -s pkg/kamailio/deb/bionic debian
make deb

Note that debian symlink is deleted after 'make deb' completes or fails,
so needs to be recreated if the command has to be run again.

Cheers,
Daniel

--
Daniel-Constantin Mierla -- www.asipto.com<http://www.asipto.com>
www.twitter.com/miconda<http://www.twitter.com/miconda> -- 
www.linkedin.com/in/miconda<http://www.linkedin.com/in/miconda>
Kamailio Advanced Training - Online
May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America Timezone)
  * https://www.asipto.com/sw/kamailio-advanced-training-online/


__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org<mailto:sr-users@lists.kamailio.org>
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


--
Andy Chen
Sr. Telephony Lead Engineer
415 516 5535 (M)
achen@<mailto:ac...@thinkingphones.com>fuze.com<http://fuze.com>



--
Andy Chen
Sr. Telephony Lead Engineer
415 516 5535 (M)
achen@<mailto:ac...@thinkingphones.c

Re: [SR-Users] 5.4 dependency package question

2021-05-17 Thread Andrew Chen
Yes.  My Jenkins job runs the symlink step everytime:

sudo ln -s pkg/kamailio/deb/bionic debian

## Create debian package
sudo make deb

I do this in the main kamailio install directory.

On Mon, May 17, 2021 at 1:09 PM Daniel-Constantin Mierla 
wrote:

> Is it debian symlink pointing to the right folder in pkg/kamailio/deb/ for
> you distribution? As I said, it gets deleted and running 'make deb' again
> with (re-)create the symlink to the 'debian' folder. In other words, create
> symlink always before running 'make deb'.
>
> Cheers,
> Daniel
> On 17.05.21 17:44, Andrew Chen wrote:
>
> So after looking at the build logs, it seems I'm still facing these
> dependency errors:
>
> The following packages have unmet dependencies:
>  gcj-jdk : Depends: libgcj-common (>= 1:6.4-3ubuntu1) but it is not 
> installable
>Depends: gcj-jre (>= 4:6.4.0-3ubuntu1) but it is not installable
>Depends: gcj-6-jdk (>= 6.4.0-1~) but it is not installable
>
> The following packages have unmet dependencies:
>  libval-dev : Depends: libval15 (= 2.2-4) but it is not installable
>
> How important are these libraries and which module uses them?
>
>
> On Mon, May 17, 2021 at 11:34 AM Andrew Chen  wrote:
>
>> Hey guys.  The linking of the directory worked!  Thanks again for your
>> help.
>>
>> On Mon, May 17, 2021 at 7:59 AM Andrew Chen  wrote:
>>
>>> Thanks guys!  I will try these out today.
>>>
>>> On Mon, May 17, 2021 at 5:08 AM Daniel-Constantin Mierla <
>>> mico...@gmail.com> wrote:
>>>

 On 17.05.21 09:49, Victor Seva wrote:
 > On 5/14/21 2:09 PM, Andrew Chen wrote:
 >> Hi Daniel,
 >>
 >> Yes.  These are the steps I took:
 >>
 >> ## git clone kamailio repository
 >> cd $INSTALLDIR
 >> sudo git clone https://github.com/kamailio/kamailio
 >>  kamailio
 >> cd kamailio
 >> sudo git checkout 5.4
 >>
 >> ## Make config files with included modules list
 >> sudo make include_modules="$INCLUDE_MODULES" cfg
 >>
 >> ## Compile Kamailio
 >> sudo make mode=debug
 >>
 >> cd pkg/kamailio/deb
 >>
 >> ## Create debian package
 >> sudo dpkg-buildpackage
 >>
 >>
 >> Hi Victor,
 >>
 >> Yes, this is the version of Ubuntu we are using:
 >>
 >> debhttp://deb.kamailio.org/kamailio54
 >>   bionic main
 >> deb-srchttp://deb.kamailio.org/kamailio54
 >>   bionic main
 >
 > If you're using bionic, then use bionic directory at pkg/kamailio/deb
 > as your debian dir.
 >
 > On the root of the kamailio repository:
 > # cp -r pkg/kamailio/deb/bionic debian
 > # dpkg-buildpackage -rfakeroot -tc -uc -us

 For what it worth, we have also a target in the Makefile for building
 debs, next is what I typically use to test debs building before a
 release:

 ln -s pkg/kamailio/deb/bionic debian
 make deb

 Note that debian symlink is deleted after 'make deb' completes or fails,
 so needs to be recreated if the command has to be run again.

 Cheers,
 Daniel

 --
 Daniel-Constantin Mierla -- www.asipto.com
 www.twitter.com/miconda -- www.linkedin.com/in/miconda
 Kamailio Advanced Training - Online
 May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America Timezone)
   * https://www.asipto.com/sw/kamailio-advanced-training-online/


 __
 Kamailio - Users Mailing List - Non Commercial Discussions
   * sr-users@lists.kamailio.org
 Important: keep the mailing list in the recipients, do not reply only
 to the sender!
 Edit mailing list options or unsubscribe:
   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

>>>
>>>
>>> --
>>> Andy Chen
>>> Sr. Telephony Lead Engineer
>>> 415 516 5535 (M)
>>> achen@ fuze.com
>>>
>>>
>>
>> --
>> Andy Chen
>> Sr. Telephony Lead Engineer
>> 415 516 5535 (M)
>> achen@ fuze.com
>>
>>
>
> --
> Andy Chen
> Sr. Telephony Lead Engineer
> 415 516 5535 (M)
> achen@ fuze.com
>
>
> *Confidentiality Notice: The information contained in this e-mail and any
> attachments may be confidential. If you are not an intended recipient, you
> are hereby notified that any dissemination, distribution or copying of this
> e-mail is strictly prohibited. If you have received this e-mail in error,
> please notify the sender and permanently delete the e-mail and any
> attachments immediately. You should not retain, copy or use this e-mail or
> any attachment for any purpose, nor disclose all or any part of the
> contents to any other person. Thank you.*
>
> --
> Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- 
> www.linkedin.com/in/miconda
> Kamailio Advanced Training - Online
> May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America Timezone)
>   * 

Re: [SR-Users] 5.4 dependency package question

2021-05-17 Thread Andrew Chen
So after looking at the build logs, it seems I'm still facing these
dependency errors:

The following packages have unmet dependencies:
 gcj-jdk : Depends: libgcj-common (>= 1:6.4-3ubuntu1) but it is not installable
   Depends: gcj-jre (>= 4:6.4.0-3ubuntu1) but it is not installable
   Depends: gcj-6-jdk (>= 6.4.0-1~) but it is not installable


The following packages have unmet dependencies:
 libval-dev : Depends: libval15 (= 2.2-4) but it is not installable


How important are these libraries and which module uses them?


On Mon, May 17, 2021 at 11:34 AM Andrew Chen  wrote:

> Hey guys.  The linking of the directory worked!  Thanks again for your
> help.
>
> On Mon, May 17, 2021 at 7:59 AM Andrew Chen  wrote:
>
>> Thanks guys!  I will try these out today.
>>
>> On Mon, May 17, 2021 at 5:08 AM Daniel-Constantin Mierla <
>> mico...@gmail.com> wrote:
>>
>>>
>>> On 17.05.21 09:49, Victor Seva wrote:
>>> > On 5/14/21 2:09 PM, Andrew Chen wrote:
>>> >> Hi Daniel,
>>> >>
>>> >> Yes.  These are the steps I took:
>>> >>
>>> >> ## git clone kamailio repository
>>> >> cd $INSTALLDIR
>>> >> sudo git clone https://github.com/kamailio/kamailio
>>> >>  kamailio
>>> >> cd kamailio
>>> >> sudo git checkout 5.4
>>> >>
>>> >> ## Make config files with included modules list
>>> >> sudo make include_modules="$INCLUDE_MODULES" cfg
>>> >>
>>> >> ## Compile Kamailio
>>> >> sudo make mode=debug
>>> >>
>>> >> cd pkg/kamailio/deb
>>> >>
>>> >> ## Create debian package
>>> >> sudo dpkg-buildpackage
>>> >>
>>> >>
>>> >> Hi Victor,
>>> >>
>>> >> Yes, this is the version of Ubuntu we are using:
>>> >>
>>> >> debhttp://deb.kamailio.org/kamailio54
>>> >>   bionic main
>>> >> deb-srchttp://deb.kamailio.org/kamailio54
>>> >>   bionic main
>>> >
>>> > If you're using bionic, then use bionic directory at pkg/kamailio/deb
>>> > as your debian dir.
>>> >
>>> > On the root of the kamailio repository:
>>> > # cp -r pkg/kamailio/deb/bionic debian
>>> > # dpkg-buildpackage -rfakeroot -tc -uc -us
>>>
>>> For what it worth, we have also a target in the Makefile for building
>>> debs, next is what I typically use to test debs building before a
>>> release:
>>>
>>> ln -s pkg/kamailio/deb/bionic debian
>>> make deb
>>>
>>> Note that debian symlink is deleted after 'make deb' completes or fails,
>>> so needs to be recreated if the command has to be run again.
>>>
>>> Cheers,
>>> Daniel
>>>
>>> --
>>> Daniel-Constantin Mierla -- www.asipto.com
>>> www.twitter.com/miconda -- www.linkedin.com/in/miconda
>>> Kamailio Advanced Training - Online
>>> May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America Timezone)
>>>   * https://www.asipto.com/sw/kamailio-advanced-training-online/
>>>
>>>
>>> __
>>> Kamailio - Users Mailing List - Non Commercial Discussions
>>>   * sr-users@lists.kamailio.org
>>> Important: keep the mailing list in the recipients, do not reply only to
>>> the sender!
>>> Edit mailing list options or unsubscribe:
>>>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>
>>
>> --
>> Andy Chen
>> Sr. Telephony Lead Engineer
>> 415 516 5535 (M)
>> achen@ fuze.com
>>
>>
>
> --
> Andy Chen
> Sr. Telephony Lead Engineer
> 415 516 5535 (M)
> achen@ fuze.com
>
>

-- 
Andy Chen
Sr. Telephony Lead Engineer
415 516 5535 (M)
achen@ fuze.com

-- 
*Confidentiality Notice: The information contained in this e-mail and any
attachments may be confidential. If you are not an intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
e-mail is strictly prohibited. If you have received this e-mail in error,
please notify the sender and permanently delete the e-mail and any
attachments immediately. You should not retain, copy or use this e-mail or
any attachment for any purpose, nor disclose all or any part of the
contents to any other person. Thank you.*
__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] 5.4 dependency package question

2021-05-17 Thread Andrew Chen
Hey guys.  The linking of the directory worked!  Thanks again for your help.

On Mon, May 17, 2021 at 7:59 AM Andrew Chen  wrote:

> Thanks guys!  I will try these out today.
>
> On Mon, May 17, 2021 at 5:08 AM Daniel-Constantin Mierla <
> mico...@gmail.com> wrote:
>
>>
>> On 17.05.21 09:49, Victor Seva wrote:
>> > On 5/14/21 2:09 PM, Andrew Chen wrote:
>> >> Hi Daniel,
>> >>
>> >> Yes.  These are the steps I took:
>> >>
>> >> ## git clone kamailio repository
>> >> cd $INSTALLDIR
>> >> sudo git clone https://github.com/kamailio/kamailio
>> >>  kamailio
>> >> cd kamailio
>> >> sudo git checkout 5.4
>> >>
>> >> ## Make config files with included modules list
>> >> sudo make include_modules="$INCLUDE_MODULES" cfg
>> >>
>> >> ## Compile Kamailio
>> >> sudo make mode=debug
>> >>
>> >> cd pkg/kamailio/deb
>> >>
>> >> ## Create debian package
>> >> sudo dpkg-buildpackage
>> >>
>> >>
>> >> Hi Victor,
>> >>
>> >> Yes, this is the version of Ubuntu we are using:
>> >>
>> >> debhttp://deb.kamailio.org/kamailio54
>> >>   bionic main
>> >> deb-srchttp://deb.kamailio.org/kamailio54
>> >>   bionic main
>> >
>> > If you're using bionic, then use bionic directory at pkg/kamailio/deb
>> > as your debian dir.
>> >
>> > On the root of the kamailio repository:
>> > # cp -r pkg/kamailio/deb/bionic debian
>> > # dpkg-buildpackage -rfakeroot -tc -uc -us
>>
>> For what it worth, we have also a target in the Makefile for building
>> debs, next is what I typically use to test debs building before a release:
>>
>> ln -s pkg/kamailio/deb/bionic debian
>> make deb
>>
>> Note that debian symlink is deleted after 'make deb' completes or fails,
>> so needs to be recreated if the command has to be run again.
>>
>> Cheers,
>> Daniel
>>
>> --
>> Daniel-Constantin Mierla -- www.asipto.com
>> www.twitter.com/miconda -- www.linkedin.com/in/miconda
>> Kamailio Advanced Training - Online
>> May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America Timezone)
>>   * https://www.asipto.com/sw/kamailio-advanced-training-online/
>>
>>
>> __
>> Kamailio - Users Mailing List - Non Commercial Discussions
>>   * sr-users@lists.kamailio.org
>> Important: keep the mailing list in the recipients, do not reply only to
>> the sender!
>> Edit mailing list options or unsubscribe:
>>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>
>
> --
> Andy Chen
> Sr. Telephony Lead Engineer
> 415 516 5535 (M)
> achen@ fuze.com
>
>

-- 
Andy Chen
Sr. Telephony Lead Engineer
415 516 5535 (M)
achen@ fuze.com

-- 
*Confidentiality Notice: The information contained in this e-mail and any
attachments may be confidential. If you are not an intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
e-mail is strictly prohibited. If you have received this e-mail in error,
please notify the sender and permanently delete the e-mail and any
attachments immediately. You should not retain, copy or use this e-mail or
any attachment for any purpose, nor disclose all or any part of the
contents to any other person. Thank you.*
__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] 5.4 dependency package question

2021-05-17 Thread Daniel-Constantin Mierla
Is it debian symlink pointing to the right folder in pkg/kamailio/deb/
for you distribution? As I said, it gets deleted and running 'make deb'
again with (re-)create the symlink to the 'debian' folder. In other
words, create symlink always before running 'make deb'.

Cheers,
Daniel

On 17.05.21 17:44, Andrew Chen wrote:
> So after looking at the build logs, it seems I'm still facing these
> dependency errors:
>
> The following packages have unmet dependencies:
>  gcj-jdk : Depends: libgcj-common (>= 1:6.4-3ubuntu1) but it is not 
> installable
>Depends: gcj-jre (>= 4:6.4.0-3ubuntu1) but it is not installable
>Depends: gcj-6-jdk (>= 6.4.0-1~) but it is not installable
> The following packages have unmet dependencies:
>  libval-dev : Depends: libval15 (= 2.2-4) but it is not installable
> How important are these libraries and which module uses them?
>
> On Mon, May 17, 2021 at 11:34 AM Andrew Chen  > wrote:
>
> Hey guys.  The linking of the directory worked!  Thanks again for
> your help.
>
> On Mon, May 17, 2021 at 7:59 AM Andrew Chen  > wrote:
>
> Thanks guys!  I will try these out today.
>
> On Mon, May 17, 2021 at 5:08 AM Daniel-Constantin Mierla
> mailto:mico...@gmail.com>> wrote:
>
>
> On 17.05.21 09:49, Victor Seva wrote:
> > On 5/14/21 2:09 PM, Andrew Chen wrote:
> >> Hi Daniel,
> >>
> >> Yes.  These are the steps I took:
> >>
> >> ## git clone kamailio repository
> >> cd $INSTALLDIR
> >> sudo git clone https://github.com/kamailio/kamailio
> 
> >>  > kamailio
> >> cd kamailio
> >> sudo git checkout 5.4
> >>
> >> ## Make config files with included modules list
> >> sudo make include_modules="$INCLUDE_MODULES" cfg
> >>
> >> ## Compile Kamailio
> >> sudo make mode=debug
> >>
> >> cd pkg/kamailio/deb
> >>
> >> ## Create debian package
> >> sudo dpkg-buildpackage
> >>
> >>
> >> Hi Victor,
> >>
> >> Yes, this is the version of Ubuntu we are using:
> >>
> >> debhttp://deb.kamailio.org/kamailio54
>  
> >>  >  bionic main
> >> deb-srchttp://deb.kamailio.org/kamailio54
>  
> >>  >  bionic main
> >
> > If you're using bionic, then use bionic directory at
> pkg/kamailio/deb
> > as your debian dir.
> >
> > On the root of the kamailio repository:
> > # cp -r pkg/kamailio/deb/bionic debian
> > # dpkg-buildpackage -rfakeroot -tc -uc -us
>
> For what it worth, we have also a target in the Makefile
> for building
> debs, next is what I typically use to test debs building
> before a release:
>
> ln -s pkg/kamailio/deb/bionic debian
> make deb
>
> Note that debian symlink is deleted after 'make deb'
> completes or fails,
> so needs to be recreated if the command has to be run again.
>
> Cheers,
> Daniel
>
> -- 
> Daniel-Constantin Mierla -- www.asipto.com
> 
> www.twitter.com/miconda 
> -- www.linkedin.com/in/miconda
> 
> Kamailio Advanced Training - Online
> May 17-20, 2021 (Europe Timezone) - June 7-10, 2021
> (America Timezone)
>   *
> https://www.asipto.com/sw/kamailio-advanced-training-online/
> 
>
>
> __
> Kamailio - Users Mailing List - Non Commercial Discussions
>   * sr-users@lists.kamailio.org
> 
> Important: keep the mailing list in the recipients, do not
> reply only to the sender!
> Edit mailing list options or unsubscribe:
>   *
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
> 
>
>
>
> -- 
> Andy 

Re: [SR-Users] 5.4 dependency package question

2021-05-17 Thread Andrew Chen
Thanks guys!  I will try these out today.

On Mon, May 17, 2021 at 5:08 AM Daniel-Constantin Mierla 
wrote:

>
> On 17.05.21 09:49, Victor Seva wrote:
> > On 5/14/21 2:09 PM, Andrew Chen wrote:
> >> Hi Daniel,
> >>
> >> Yes.  These are the steps I took:
> >>
> >> ## git clone kamailio repository
> >> cd $INSTALLDIR
> >> sudo git clone https://github.com/kamailio/kamailio
> >>  kamailio
> >> cd kamailio
> >> sudo git checkout 5.4
> >>
> >> ## Make config files with included modules list
> >> sudo make include_modules="$INCLUDE_MODULES" cfg
> >>
> >> ## Compile Kamailio
> >> sudo make mode=debug
> >>
> >> cd pkg/kamailio/deb
> >>
> >> ## Create debian package
> >> sudo dpkg-buildpackage
> >>
> >>
> >> Hi Victor,
> >>
> >> Yes, this is the version of Ubuntu we are using:
> >>
> >> debhttp://deb.kamailio.org/kamailio54
> >>   bionic main
> >> deb-srchttp://deb.kamailio.org/kamailio54
> >>   bionic main
> >
> > If you're using bionic, then use bionic directory at pkg/kamailio/deb
> > as your debian dir.
> >
> > On the root of the kamailio repository:
> > # cp -r pkg/kamailio/deb/bionic debian
> > # dpkg-buildpackage -rfakeroot -tc -uc -us
>
> For what it worth, we have also a target in the Makefile for building
> debs, next is what I typically use to test debs building before a release:
>
> ln -s pkg/kamailio/deb/bionic debian
> make deb
>
> Note that debian symlink is deleted after 'make deb' completes or fails,
> so needs to be recreated if the command has to be run again.
>
> Cheers,
> Daniel
>
> --
> Daniel-Constantin Mierla -- www.asipto.com
> www.twitter.com/miconda -- www.linkedin.com/in/miconda
> Kamailio Advanced Training - Online
> May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America Timezone)
>   * https://www.asipto.com/sw/kamailio-advanced-training-online/
>
>
> __
> Kamailio - Users Mailing List - Non Commercial Discussions
>   * sr-users@lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to
> the sender!
> Edit mailing list options or unsubscribe:
>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


-- 
Andy Chen
Sr. Telephony Lead Engineer
415 516 5535 (M)
achen@ fuze.com

-- 
*Confidentiality Notice: The information contained in this e-mail and any
attachments may be confidential. If you are not an intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
e-mail is strictly prohibited. If you have received this e-mail in error,
please notify the sender and permanently delete the e-mail and any
attachments immediately. You should not retain, copy or use this e-mail or
any attachment for any purpose, nor disclose all or any part of the
contents to any other person. Thank you.*
__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] 5.4 dependency package question

2021-05-17 Thread Victor Seva

On 5/14/21 2:09 PM, Andrew Chen wrote:

Hi Daniel,

Yes.  These are the steps I took:

## git clone kamailio repository
cd $INSTALLDIR
sudo git clone https://github.com/kamailio/kamailio 
 kamailio

cd kamailio
sudo git checkout 5.4

## Make config files with included modules list
sudo make include_modules="$INCLUDE_MODULES" cfg

## Compile Kamailio
sudo make mode=debug

cd pkg/kamailio/deb

## Create debian package
sudo dpkg-buildpackage


Hi Victor,

Yes, this is the version of Ubuntu we are using:

debhttp://deb.kamailio.org/kamailio54    
bionic main
deb-srchttp://deb.kamailio.org/kamailio54   
 bionic main


If you're using bionic, then use bionic directory at pkg/kamailio/deb as 
your debian dir.


On the root of the kamailio repository:
# cp -r pkg/kamailio/deb/bionic debian
# dpkg-buildpackage -rfakeroot -tc -uc -us

Have fun

__
Kamailio - Users Mailing List - Non Commercial Discussions
 * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
 * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] 5.4 dependency package question

2021-05-14 Thread Andrew Chen
Hi Daniel,

Yes.  These are the steps I took:

## git clone kamailio repository
cd $INSTALLDIR
sudo git clone https://github.com/kamailio/kamailio kamailio
cd kamailio
sudo git checkout 5.4

## Make config files with included modules list
sudo make include_modules="$INCLUDE_MODULES" cfg

## Compile Kamailio
sudo make mode=debug

cd pkg/kamailio/deb

## Create debian package
sudo dpkg-buildpackage


Hi Victor,

Yes, this is the version of Ubuntu we are using:

deb http://deb.kamailio.org/kamailio54 bionic main
deb-src http://deb.kamailio.org/kamailio54 bionic main



On Fri, May 14, 2021 at 7:03 AM Victor Seva <
linuxman...@torreviejawireless.org> wrote:

> Hi,
>
> you have some official Ubuntu versions supported [0]
>
> [0] http://deb.kamailio.org/#dev54
>
>
> __
> Kamailio - Users Mailing List - Non Commercial Discussions
>   * sr-users@lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to
> the sender!
> Edit mailing list options or unsubscribe:
>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


-- 
Andy Chen
Sr. Telephony Lead Engineer
415 516 5535 (M)
achen@ fuze.com

-- 
*Confidentiality Notice: The information contained in this e-mail and any
attachments may be confidential. If you are not an intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
e-mail is strictly prohibited. If you have received this e-mail in error,
please notify the sender and permanently delete the e-mail and any
attachments immediately. You should not retain, copy or use this e-mail or
any attachment for any purpose, nor disclose all or any part of the
contents to any other person. Thank you.*
__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] 5.4 dependency package question

2021-05-14 Thread Daniel-Constantin Mierla
Hello,

are you using the specs from corresponding sub-sfolder in
pkg/kamailio/deb/ for your distribution?

Cheers,
Daniel

On 13.05.21 23:08, Andrew Chen wrote:
> The other option was to apply the "-d" to the dpkg-buildpackage binary
> to ignore the dependencies..but I don't know what are the
> repercussions in doing this.
>
> Again, please advise. :) 
>
> On Thu, May 13, 2021 at 3:56 PM Andrew Chen  > wrote:
>
> Btw, I manually downloaded the gcj-jdk deb package
> (gcj-jdk_6.4.0-3ubuntu1_amd64.deb) from Ubuntu main page and still
> I get this error:
>
> The following packages have unmet dependencies:
>  gcj-jdk : Depends: libgcj-common (>= 1:6.4-3ubuntu1) but it is not 
> installable
>Depends: gcj-jre (>= 4:6.4.0-3ubuntu1) but it is not 
> installable
>Depends: gcj-6-jdk (>= 6.4.0-1~) but it is not installable
>
> I also did the same for libval-dev (libval-dev_2.2-4_amd64.deb) and got 
> this:
>
> The following packages have unmet dependencies:
>
>
>  libval-dev : Depends: libval15 (= 2.2-4) but it is not installable
>
>
> E: Unable to correct problems, you have held broken packages.
>
>
>
> As for libxmlrpc-c3-dev, there is a "libxmlrpc-core-c3-dev" package.  Is 
> that the same thing?  If not, does anyone know where I can get my hands on 
> libxmlrpc-c3-dev.deb?
>
>
> On Thu, May 13, 2021 at 2:26 PM Andrew Chen  > wrote:
>
> Hi guys,
>
> I'm trying to build a deb file of kamailio 5.4 and when doing
> dpkg-buidpackage it gave a bunch of dependency warnings.
>
> I was able to take care a good number of them until I ran into
> this:
>
> *dpkg-checkbuilddeps: **error*: Unmet build dependencies:
> gcj-jdk libval-dev libxmlrpc-c3-dev
>
>
> None of these packages are in the "apt-cache search" output.
>
>
> Below is a list of modules currently loaded in 5.2.5 and want
> to use them again:
>
>
> INCLUDE_MODULES="exec rtpengine topoh carrierroute statsd
> dialplan kex tm tmx sl rr pv maxfwd usrloc textops sdpops
> siputils xlog sanity ctl acc dispatcher cfgutils permissions
> domain presence presence_xml nathelper dialog tls htable pike
> db_mysql userblacklist sqlops websocket xhttp siptrace tcpops
> jsonrpcs rtimer"
>
>
> Thanks
>
>
>
> -- 
> Andy Chen
> Sr. Telephony Lead Engineer
> 415 516 5535 (M)
> achen@ fuze.com 
>
>
>
> -- 
> Andy Chen
> Sr. Telephony Lead Engineer
> 415 516 5535 (M)
> achen@ fuze.com 
>
>
>
> -- 
> Andy Chen
> Sr. Telephony Lead Engineer
> 415 516 5535 (M)
> achen@ fuze.com 
>
>
> *Confidentiality Notice: The information contained in this e-mail and any
> attachments may be confidential. If you are not an intended recipient, you
> are hereby notified that any dissemination, distribution or copying of
> this
> e-mail is strictly prohibited. If you have received this e-mail in error,
> please notify the sender and permanently delete the e-mail and any
> attachments immediately. You should not retain, copy or use this e-mail or
> any attachment for any purpose, nor disclose all or any part of the
> contents to any other person. Thank you.*
>
> __
> Kamailio - Users Mailing List - Non Commercial Discussions
>   * sr-users@lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to the 
> sender!
> Edit mailing list options or unsubscribe:
>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Online
May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America Timezone)
  * https://www.asipto.com/sw/kamailio-advanced-training-online/

__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] 5.4 dependency package question

2021-05-14 Thread Victor Seva

Hi,

you have some official Ubuntu versions supported [0]

[0] http://deb.kamailio.org/#dev54


__
Kamailio - Users Mailing List - Non Commercial Discussions
 * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
 * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] 5.4 dependency package question

2021-05-13 Thread Andrew Chen
The other option was to apply the "-d" to the dpkg-buildpackage binary to
ignore the dependencies..but I don't know what are the repercussions in
doing this.

Again, please advise. :)

On Thu, May 13, 2021 at 3:56 PM Andrew Chen  wrote:

> Btw, I manually downloaded the gcj-jdk deb package (
> gcj-jdk_6.4.0-3ubuntu1_amd64.deb) from Ubuntu main page and still I get
> this error:
>
> The following packages have unmet dependencies:
>  gcj-jdk : Depends: libgcj-common (>= 1:6.4-3ubuntu1) but it is not 
> installable
>Depends: gcj-jre (>= 4:6.4.0-3ubuntu1) but it is not installable
>Depends: gcj-6-jdk (>= 6.4.0-1~) but it is not installable
>
>
> I also did the same for libval-dev (libval-dev_2.2-4_amd64.deb) and got this:
>
>
> The following packages have unmet dependencies:
>
>  libval-dev : Depends: libval15 (= 2.2-4) but it is not installable
>
> E: Unable to correct problems, you have held broken packages.
>
>
> As for libxmlrpc-c3-dev, there is a "libxmlrpc-core-c3-dev" package.  Is that 
> the same thing?  If not, does anyone know where I can get my hands on 
> libxmlrpc-c3-dev.deb?
>
>
> On Thu, May 13, 2021 at 2:26 PM Andrew Chen  wrote:
>
>> Hi guys,
>>
>> I'm trying to build a deb file of kamailio 5.4 and when doing
>> dpkg-buidpackage it gave a bunch of dependency warnings.
>>
>> I was able to take care a good number of them until I ran into this:
>>
>> *dpkg-checkbuilddeps: **error*: Unmet build dependencies: gcj-jdk
>> libval-dev libxmlrpc-c3-dev
>>
>>
>> None of these packages are in the "apt-cache search" output.
>>
>>
>> Below is a list of modules currently loaded in 5.2.5 and want to use them
>> again:
>>
>>
>> INCLUDE_MODULES="exec rtpengine topoh carrierroute statsd dialplan kex tm
>> tmx sl rr pv maxfwd usrloc textops sdpops siputils xlog sanity ctl acc
>> dispatcher cfgutils permissions domain presence presence_xml nathelper
>> dialog tls htable pike db_mysql userblacklist sqlops websocket xhttp
>> siptrace tcpops jsonrpcs rtimer"
>>
>>
>> Thanks
>>
>>
>>
>> --
>> Andy Chen
>> Sr. Telephony Lead Engineer
>> 415 516 5535 (M)
>> achen@ fuze.com
>>
>>
>
> --
> Andy Chen
> Sr. Telephony Lead Engineer
> 415 516 5535 (M)
> achen@ fuze.com
>
>

-- 
Andy Chen
Sr. Telephony Lead Engineer
415 516 5535 (M)
achen@ fuze.com

-- 
*Confidentiality Notice: The information contained in this e-mail and any
attachments may be confidential. If you are not an intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
e-mail is strictly prohibited. If you have received this e-mail in error,
please notify the sender and permanently delete the e-mail and any
attachments immediately. You should not retain, copy or use this e-mail or
any attachment for any purpose, nor disclose all or any part of the
contents to any other person. Thank you.*
__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] 5.4 dependency package question

2021-05-13 Thread Andrew Chen
Btw, I manually downloaded the gcj-jdk deb package (
gcj-jdk_6.4.0-3ubuntu1_amd64.deb) from Ubuntu main page and still I get
this error:

The following packages have unmet dependencies:
 gcj-jdk : Depends: libgcj-common (>= 1:6.4-3ubuntu1) but it is not installable
   Depends: gcj-jre (>= 4:6.4.0-3ubuntu1) but it is not installable
   Depends: gcj-6-jdk (>= 6.4.0-1~) but it is not installable


I also did the same for libval-dev (libval-dev_2.2-4_amd64.deb) and got this:


The following packages have unmet dependencies:

 libval-dev : Depends: libval15 (= 2.2-4) but it is not installable

E: Unable to correct problems, you have held broken packages.


As for libxmlrpc-c3-dev, there is a "libxmlrpc-core-c3-dev" package.
Is that the same thing?  If not, does anyone know where I can get my
hands on libxmlrpc-c3-dev.deb?


On Thu, May 13, 2021 at 2:26 PM Andrew Chen  wrote:

> Hi guys,
>
> I'm trying to build a deb file of kamailio 5.4 and when doing
> dpkg-buidpackage it gave a bunch of dependency warnings.
>
> I was able to take care a good number of them until I ran into this:
>
> *dpkg-checkbuilddeps: **error*: Unmet build dependencies: gcj-jdk
> libval-dev libxmlrpc-c3-dev
>
>
> None of these packages are in the "apt-cache search" output.
>
>
> Below is a list of modules currently loaded in 5.2.5 and want to use them
> again:
>
>
> INCLUDE_MODULES="exec rtpengine topoh carrierroute statsd dialplan kex tm
> tmx sl rr pv maxfwd usrloc textops sdpops siputils xlog sanity ctl acc
> dispatcher cfgutils permissions domain presence presence_xml nathelper
> dialog tls htable pike db_mysql userblacklist sqlops websocket xhttp
> siptrace tcpops jsonrpcs rtimer"
>
>
> Thanks
>
>
>
> --
> Andy Chen
> Sr. Telephony Lead Engineer
> 415 516 5535 (M)
> achen@ fuze.com
>
>

-- 
Andy Chen
Sr. Telephony Lead Engineer
415 516 5535 (M)
achen@ fuze.com

-- 
*Confidentiality Notice: The information contained in this e-mail and any
attachments may be confidential. If you are not an intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
e-mail is strictly prohibited. If you have received this e-mail in error,
please notify the sender and permanently delete the e-mail and any
attachments immediately. You should not retain, copy or use this e-mail or
any attachment for any purpose, nor disclose all or any part of the
contents to any other person. Thank you.*
__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] 5.4 dependency package question

2021-05-13 Thread Andrew Chen
Hi guys,

I'm trying to build a deb file of kamailio 5.4 and when doing
dpkg-buidpackage it gave a bunch of dependency warnings.

I was able to take care a good number of them until I ran into this:

*dpkg-checkbuilddeps: **error*: Unmet build dependencies: gcj-jdk
libval-dev libxmlrpc-c3-dev


None of these packages are in the "apt-cache search" output.


Below is a list of modules currently loaded in 5.2.5 and want to use them
again:


INCLUDE_MODULES="exec rtpengine topoh carrierroute statsd dialplan kex tm
tmx sl rr pv maxfwd usrloc textops sdpops siputils xlog sanity ctl acc
dispatcher cfgutils permissions domain presence presence_xml nathelper
dialog tls htable pike db_mysql userblacklist sqlops websocket xhttp
siptrace tcpops jsonrpcs rtimer"


Thanks



-- 
Andy Chen
Sr. Telephony Lead Engineer
415 516 5535 (M)
achen@ fuze.com

-- 
*Confidentiality Notice: The information contained in this e-mail and any
attachments may be confidential. If you are not an intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
e-mail is strictly prohibited. If you have received this e-mail in error,
please notify the sender and permanently delete the e-mail and any
attachments immediately. You should not retain, copy or use this e-mail or
any attachment for any purpose, nor disclose all or any part of the
contents to any other person. Thank you.*
__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users