[Freeswitch-dev] How to compile FS debian packages?
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
What is the error and why isn't it compiling? /b On Nov 13, 2010, at 7:22 AM, Mathieu Parent 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
2010/11/13 Brian West <brian@freeswitch.org>:
What is the error and why isn't it compiling?
dpkg-source: error: can't build with source format '3.0 (quilt)': no orig.tar file found One step further: I have run: ./debian/rules upstream-convert cd /home/mathieu/apps/freeswitch/freeswitch-1.0.head~git.master.20101112.0 dpkg-buildpackage And now I have: ... quiet_libtool: link: (cd ".libs" && rm -f "libfreeswitch.so.1" && ln -s "libfreeswitch.so.1.0.0" "libfreeswitch.so.1") quiet_libtool: link: (cd ".libs" && rm -f "libfreeswitch.so" && ln -s "libfreeswitch.so.1.0.0" "libfreeswitch.so") quiet_libtool: link: ar cru .libs/libfreeswitch.a libs/libedit/src/.libs/libedit.a libfreeswitch_la-switch_apr.o libfreeswitch_la-switch_buffer.o libfreeswitch_la-switch_caller.o libfreeswitch_la-switch_channel.o libfreeswitch_la-switch_console.o libfreeswitch_la-switch_mprintf.o libfreeswitch_la-switch_core_media_bug.o libfreeswitch_la-switch_core_timer.o libfreeswitch_la-switch_core_asr.o libfreeswitch_la-switch_core_event_hook.o libfreeswitch_la-switch_core_speech.o libfreeswitch_la-switch_core_memory.o libfreeswitch_la-switch_core_codec.o libfreeswitch_la-switch_core_file.o libfreeswitch_la-switch_core_hash.o libfreeswitch_la-switch_core_sqldb.o libfreeswitch_la-switch_core_session.o libfreeswitch_la-switch_core_directory.o libfreeswitch_la-switch_core_state_machine.o libfreeswitch_la-switch_core_io.o libfreeswitch_la-switch_core_rwlock.o libfreeswitch_la-switch_core_port_allocator.o libfreeswitch_la-switch_core.o libfreeswitch_la-switch_scheduler.o libfreeswitch_la-switch_core_db.o libfreeswitch_la-switch_dso.o libfreeswitch_la-switch_loadable_module.o libfreeswitch_la-switch_utils.o libfreeswitch_la-switch_event.o libfreeswitch_la-switch_resample.o libfreeswitch_la-switch_regex.o libfreeswitch_la-switch_rtp.o libfreeswitch_la-switch_ivr_bridge.o libfreeswitch_la-switch_ivr_originate.o libfreeswitch_la-switch_ivr_async.o libfreeswitch_la-switch_ivr_play_say.o libfreeswitch_la-switch_ivr_say.o libfreeswitch_la-switch_ivr_menu.o libfreeswitch_la-switch_ivr.o libfreeswitch_la-switch_stun.o libfreeswitch_la-switch_nat.o libfreeswitch_la-switch_log.o libfreeswitch_la-switch_xml.o libfreeswitch_la-switch_xml_config.o libfreeswitch_la-switch_config.o libfreeswitch_la-switch_time.o libfreeswitch_la-switch_odbc.o libfreeswitch_la-switch_limit.o libfreeswitch_la-g711.o libfreeswitch_la-switch_pcm.o libfreeswitch_la-switch_profile.o libfreeswitch_la-switch_json.o libfreeswitch_la-stfu.o libfreeswitch_la-libteletone_detect.o libfreeswitch_la-libteletone_generate.o libfreeswitch_la-miniwget.o libfreeswitch_la-minixml.o libfreeswitch_la-igd_desc_parse.o libfreeswitch_la-minisoap.o libfreeswitch_la-miniupnpc.o libfreeswitch_la-upnpreplyparse.o libfreeswitch_la-upnpcommands.o libfreeswitch_la-minissdpc.o libfreeswitch_la-upnperrors.o libfreeswitch_la-natpmp.o libfreeswitch_la-getgateway.o switch_cpp.o quiet_libtool: link: ranlib .libs/libfreeswitch.a /bin/sed: can't read /home/mathieu/apps/freeswitch/freeswitch.git/libs/apr-util/xml/expat/lib/libexpat.la: No such file or directory quiet_libtool: link: `/home/mathieu/apps/freeswitch/freeswitch.git/libs/apr-util/xml/expat/lib/libexpat.la' is not a valid libtool archive make[2]: *** [libfreeswitch.la] Erreur 1 make[2]: quittant le répertoire « /home/mathieu/apps/freeswitch/freeswitch-1.0.head~git.master.20101112.0 » make[1]: *** [all] Erreur 2 make[1]: quittant le répertoire « /home/mathieu/apps/freeswitch/freeswitch-1.0.head~git.master.20101112.0 » make: *** [build-stamp] Erreur 2 dpkg-buildpackage: erreur: debian/rules build a produit une erreur de sortie de type 2 -- Mathieu
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@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@gabe-desktop:~/Downloads$ cat /etc/issue Ubuntu 10.10 \n \l On Sat, Nov 13, 2010 at 6:22 AM, Mathieu Parent <math.parent@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
2010/11/13 Gabriel Gunderson <gabe@gundy.org>:
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:
Thanks. I will test and report back once I have some time. (this can take some days)
Hi, i made this script [1] for me, but i made available in the pastebin. Works for Ubuntu and Debian, install FreeSWITCH-1.0.6. [1] http://pastebin.com/2Jyh5dxS Best regards, -- Rodrigo Lang Opening your mind - Just another Open Source site<http://openingyourmind.wordpress.com/>
Hello, 2010/11/17 Rodrigo Lang <rodrigoferreiralang@gmail.com>:
2010/11/13 Gabriel Gunderson <gabe@gundy.org>:
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:
Thanks. I will test and report back once I have some time. (this can take some days)
Hi, i made this script [1] for me, but i made available in the pastebin. Works for Ubuntu and Debian, install FreeSWITCH-1.0.6.
Thanks, but I want a debian package (which is easier to uninstall and upgrade). Mathieu
I just use: dpkg-buildpackage -uc -us and it works fine. -Steve On 23 November 2010 21:20, Mathieu Parent <math.parent@gmail.com> wrote:
Hello,
2010/11/17 Rodrigo Lang <rodrigoferreiralang@gmail.com>:
2010/11/13 Gabriel Gunderson <gabe@gundy.org>:
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:
Thanks. I will test and report back once I have some time. (this can take some days)
Hi, i made this script [1] for me, but i made available in the pastebin. Works for Ubuntu and Debian, install FreeSWITCH-1.0.6.
Thanks, but I want a debian package (which is easier to uninstall and upgrade).
Mathieu
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
participants (5)
-
Brian West
-
Gabriel Gunderson
-
Mathieu Parent
-
Rodrigo Lang
-
Steven Ayre