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 <achen(a)fuze.com
<mailto:achen@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 <achen(a)fuze.com
<mailto:achen@fuze.com>> wrote:
Thanks guys! I will try these out today.
On Mon, May 17, 2021 at 5:08 AM Daniel-Constantin Mierla
<miconda(a)gmail.com <mailto:miconda@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>
> <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
<http://deb.kamailio.org/kamailio54>> bionic main
<http://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/
<https://www.asipto.com/sw/kamailio-advanced-training-online/>
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* sr-users(a)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
<https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
--
Andy Chen
Sr. Telephony Lead Engineer
415 516 5535 (M)
achen@ <mailto:achen@thinkingphones.com>fuze.com <http://fuze.com>
--
Andy Chen
Sr. Telephony Lead Engineer
415 516 5535 (M)
achen@ <mailto:achen@thinkingphones.com>fuze.com <http://fuze.com>
--
Andy Chen
Sr. Telephony Lead Engineer
415 516 5535 (M)
achen@ <mailto:achen@thinkingphones.com>fuze.com <http://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 Advanced Training - Online
May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America Timezone)
*