Building debian packages from freeswitch is as simple as using atleast wheezy then executing the following script ./debian/util.sh build-all -bn -z9 -v1 I suggestion something like this to checkout out the source from git mkdir -p /usr/src/freeswitch cd /usr/src/freeswitch git clone git://git.freeswitch.org/freeswitch.git src cd src ./debian/util.sh build-all -bn -z9 -v1 This will build packages for squeeze thru sid and leave them in your /usr/src/freeswitch directory along with log and .change files The script uses cows for building each version (both x86 and x86_64 arches) On 6/25/13 8:00 PM, "Karl Schmidt" <karl@xtronics.com> wrote:
I'm getting errors using the build script found here: http://wiki.freeswitch.org/wiki/Debian_packages_buildscript
I already had to add two packages equivs libdistro-info-perl
and I thought libplib1 contained the missing bit here?
- building via debian wheezy:
dpkg-shlibdeps: error: couldn't find library libjs.so.1 needed by debian/freeswitch-mod-spidermonkey/usr/lib/freeswitch/mod/mod_spidermonkey.so (ELF format: 'elf64-x86-64'; RPATH: '') dpkg-shlibdeps: warning: couldn't find library libnspr4.so needed by debian/freeswitch-mod-spidermonkey/usr/lib/freeswitch/mod/mod_spidermonkey.so (ELF format: 'elf64-x86-64'; RPATH: '') dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/freeswitch-mod-spidermonkey/usr/lib/freeswitch/mod/mod_spidermonkey.so was not linked against libtinfo.so.5 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/freeswitch-mod-spidermonkey/usr/lib/freeswitch/mod/mod_spidermonkey.so was not linked against libjpeg.so.8 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/freeswitch-mod-spidermonkey/usr/lib/freeswitch/mod/mod_spidermonkey.so was not linked against libodbc.so.1 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/freeswitch-mod-spidermonkey/usr/lib/freeswitch/mod/mod_spidermonkey.so was not linked against libpq.so.5 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/freeswitch-mod-spidermonkey/usr/lib/freeswitch/mod/mod_spidermonkey.so was not linked against libm.so.6 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/freeswitch-mod-spidermonkey/usr/lib/freeswitch/mod/mod_spidermonkey.so was not linked against libncurses.so.5 (it uses none of the library's symbols) dpkg-shlibdeps: error: cannot continue due to the error above Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file. To help dpkg-shlibdeps find private libraries, you might need to set LD_LIBRARY_PATH. dh_shlibdeps: dpkg-shlibdeps -Tdebian/freeswitch-mod-spidermonkey.substvars debian/freeswitch-mod-spidermonkey/usr/lib/freeswitch/mod/mod_spidermonkey.so returned exit code 2 make: *** [binary] Error 2 dpkg-buildpackage: error: debian/rules binary gave error exit status 2
------------------------------------------------------------------------------ -- Karl Schmidt EMail Karl@xtronics.com Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434
Truth is mighty and will prevail. There is nothing wrong with this, except that it ain't so. --Mark Twain
------------------------------------------------------------------------------ --
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch