[Freeswitch-dev] How to compile FS debian packages?

Gabriel Gunderson gabe at gundy.org
Sat Nov 13 12:09:32 PST 2010


This is the script that I've been using to build my debs.  I just ran
it on the latest git and it products debs without errors:

################################
#!/bin/bash

sudo apt-get update

sudo apt-get -y install \
autoconf \
automake \
debhelper \
devscripts \
git-core \
libasound2-dev \
libcurl4-openssl-dev \
libdb-dev \
libgdbm-dev \
libgnutls-dev \
libogg-dev \
libperl-dev \
libssl-dev \
libtiff4-dev \
libtool \
libvorbis-dev \
libx11-dev \
ncurses-dev \
python-dev \
unixodbc-dev \
uuid-dev

git clone git://git.freeswitch.org/freeswitch.git freeswitch_git

cd freeswitch_git

debuild -i -us -uc -b

echo "Here are your debs:"
ls -l ../*.deb
################################


Give that a try and let us know what you find.


Gabe

BTW,

gabe at gabe-desktop:~/Downloads$ uname -a
Linux gabe-desktop 2.6.35-22-generic #35-Ubuntu SMP Sat Oct 16
20:36:48 UTC 2010 i686 GNU/Linux

gabe at gabe-desktop:~/Downloads$ cat /etc/issue
Ubuntu 10.10 \n \l



On Sat, Nov 13, 2010 at 6:22 AM, Mathieu Parent <math.parent at gmail.com> wrote:
> Hello,
>
> There was some changes in the debian dir and I am not able to compile
> FS anymore using dpkg-buildpackage.
>
> What is the new correct way to build the package?
>
> Mathieu



More information about the FreeSWITCH-dev mailing list