Build script for Ubuntu 12.04 or Debian
Hi, Could anyone point me in the direction of a build script that will install freeSWITCH on either Debian or Ubuntu 12.04 please? I've tried the current script found on the wiki, but it is not working saying freeswitch-sounds-callie is not available? Thanks in advance. Richard
https://github.com/bdfoster/fs-debian-installer Has not been tested in awhile but it should work. Thank you, Brian Foster Project Manager/Owner's Rep. Davri Investments, Inc. O: 317-787-2686 x2102 M: 317-600-9753 E: bdfoster@davri.com Indianapolis, Indiana Sent from a mobile device. On Jul 23, 2013 9:30 AM, "Richard Mace" <richard.mace@gmail.com> wrote:
Hi, Could anyone point me in the direction of a build script that will install freeSWITCH on either Debian or Ubuntu 12.04 please? I've tried the current script found on the wiki, but it is not working saying freeswitch-sounds-callie is not available?
Thanks in advance.
Richard
_________________________________________________________________________ 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
Thanks Brian, Do I need to run it as root or sudo? Richard On 23 July 2013 14:53, Brian Foster <bdfoster@davri.com> wrote:
https://github.com/bdfoster/fs-debian-installer
Has not been tested in awhile but it should work.
Thank you,
Brian Foster Project Manager/Owner's Rep. Davri Investments, Inc. O: 317-787-2686 x2102 M: 317-600-9753 E: bdfoster@davri.com Indianapolis, Indiana
Sent from a mobile device. On Jul 23, 2013 9:30 AM, "Richard Mace" <richard.mace@gmail.com> wrote:
Hi, Could anyone point me in the direction of a build script that will install freeSWITCH on either Debian or Ubuntu 12.04 please? I've tried the current script found on the wiki, but it is not working saying freeswitch-sounds-callie is not available?
Thanks in advance.
Richard
_________________________________________________________________________ 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
_________________________________________________________________________ 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
On 07/23/2013 10:15 AM, Richard Mace wrote:
Thanks Brian, Do I need to run it as root or sudo?
Richard
If you are asking that, you might want to use the pre-built debian packages.. There is a problem with the freetdm bit, but I finally was able to build it. Repositories are here: deb http://files.freeswitch.org/repo/deb/debian/ wheezy main The script here works but missed some dependencies. https://wiki.freeswitch.org/wiki/Debian_packages_buildscript -------------------------------------------------------------------------------- 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 What kind of society isn’t structured on greed? The problem of social organization is how to set up an arrangement under which greed will do the least harm; capitalism is that kind of a system. - Milton Freidman --------------------------------------------------------------------------------
The script here works but missed some dependencies.
https://wiki.freeswitch.org/wiki/Debian_packages_buildscript
I tried running this script, on Debian 7, as a standard user, and got many errors looking, and ending like: dpkg-genchanges -b
../freeswitch_1.2.11~n20130724T063426Z-1~wheezy+1_i386.changes dpkg-genchanges: binary-only upload - not including any source code dpkg-source --after-build freeswitch dpkg-buildpackage: binary only upload (no source included) richard@debian:~$ ect 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored. -bash: ect: command not found richard@debian:~$ ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignore
Any ideas? I am going to test again with Debian 6 now. Richard
On 07/24/2013 03:17 AM, Richard Mace wrote:
The script here works but missed some dependencies.
https://wiki.freeswitch.org/wiki/Debian_packages_buildscript
I tried running this script, on Debian 7, as a standard user, and got many errors looking, and ending like:
dpkg-genchanges -b >../freeswitch_1.2.11~n20130724T063426Z-1~wheezy+1_i386.changes dpkg-genchanges: binary-only upload - not including any source code dpkg-source --after-build freeswitch dpkg-buildpackage: binary only upload (no source included) richard@debian:~$ ect 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored. -bash: ect: command not found richard@debian:~$ ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignore
Any ideas? I am going to test again with Debian 6 now.
I built it on wheezy - as root - I think remember this error. I think it complained about something missing without an 'error' to grep for- and actually should have just stopped. Near the beginning of the output. Save your shell output and grep for missing -- or just read each line from the beginning. ( I wish I had written it down - when you find it - please post it ). The script tries to find what it needs to build and then makes a 'puesdo package' of the list as dependencies and then installs this package - nothing wrong with this approach ( you can uninstall the puedo-package later if you don't want the cruft around.) If I had time I would do a minimal install and build it on that system - make a list of what is missing. If you need freetdm, I made a patch that works. I really appreciate the work of the folks that packaged it. -------------------------------------------------------------------------------- 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 Depression is merely anger without enthusiasm. --------------------------------------------------------------------------------
FS should compile fine on wheezy, I did a post about this 1 month ago, see here; http://freeswitch-users.2379917.n2.nabble.com/Problem-with-rtp-streams-and-s... http://permalink.gmane.org/gmane.comp.telephony.freeswitch.user/62095 See the following instructions; http://pastebin.com/gCgEmH90 Please attempt to reproduce the error in a clean build environment following the flow shown above. You also need you make sure you have ia32-libs and fakeroot installed. Hope this helps, let us know how you get on. Cal On Wed, Jul 24, 2013 at 9:17 AM, Richard Mace <richard.mace@gmail.com>wrote:
The script here works but missed some dependencies.
https://wiki.freeswitch.org/wiki/Debian_packages_buildscript
I tried running this script, on Debian 7, as a standard user, and got many errors looking, and ending like:
dpkg-genchanges -b
../freeswitch_1.2.11~n20130724T063426Z-1~wheezy+1_i386.changes dpkg-genchanges: binary-only upload - not including any source code dpkg-source --after-build freeswitch dpkg-buildpackage: binary only upload (no source included) richard@debian:~$ ect 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored. -bash: ect: command not found richard@debian:~$ ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignore
Any ideas? I am going to test again with Debian 6 now.
Richard
_________________________________________________________________________ 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
On 24 July 2013 22:24, Cal Leeming [Simplicity Media Ltd] < cal.leeming@simplicitymedialtd.co.uk> wrote:
FS should compile fine on wheezy, I did a post about this 1 month ago, see here;
http://freeswitch-users.2379917.n2.nabble.com/Problem-with-rtp-streams-and-s... http://permalink.gmane.org/gmane.comp.telephony.freeswitch.user/62095
See the following instructions; http://pastebin.com/gCgEmH90
Please attempt to reproduce the error in a clean build environment following the flow shown above.
You also need you make sure you have ia32-libs and fakeroot installed.
Hope this helps, let us know how you get on.
Will do. apt-get install ia32-libs reports it can't find ia32-libs. Is that only required if you are building in a 64 bit enviroment? Richard
Sorry yes, ia32-libs is only needed for 64bit. Cal On Fri, Jul 26, 2013 at 6:37 AM, Richard Mace <richard.mace@gmail.com>wrote:
On 24 July 2013 22:24, Cal Leeming [Simplicity Media Ltd] < cal.leeming@simplicitymedialtd.co.uk> wrote:
FS should compile fine on wheezy, I did a post about this 1 month ago, see here;
http://freeswitch-users.2379917.n2.nabble.com/Problem-with-rtp-streams-and-s... http://permalink.gmane.org/gmane.comp.telephony.freeswitch.user/62095
See the following instructions; http://pastebin.com/gCgEmH90
Please attempt to reproduce the error in a clean build environment following the flow shown above.
You also need you make sure you have ia32-libs and fakeroot installed.
Hope this helps, let us know how you get on.
Will do. apt-get install ia32-libs reports it can't find ia32-libs. Is that only required if you are building in a 64 bit enviroment?
Richard
_________________________________________________________________________ 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
Hello, Note: ia32-libs is deprecated in favour of multiarch on wheezy... I haven't build FreeSwitch on Wheezy yet, but some other tools required multiarch support be turned on and required 32bit packages installed separately for proper builds... The build scripts may need some changes for Wheezy to accomodate this. Regards, Kerem On Fri, Jul 26, 2013 at 11:48 AM, Cal Leeming [Simplicity Media Ltd] < cal.leeming@simplicitymedialtd.co.uk> wrote:
Sorry yes, ia32-libs is only needed for 64bit.
Cal
On Fri, Jul 26, 2013 at 6:37 AM, Richard Mace <richard.mace@gmail.com>wrote:
On 24 July 2013 22:24, Cal Leeming [Simplicity Media Ltd] < cal.leeming@simplicitymedialtd.co.uk> wrote:
FS should compile fine on wheezy, I did a post about this 1 month ago, see here;
http://freeswitch-users.2379917.n2.nabble.com/Problem-with-rtp-streams-and-s... http://permalink.gmane.org/gmane.comp.telephony.freeswitch.user/62095
See the following instructions; http://pastebin.com/gCgEmH90
Please attempt to reproduce the error in a clean build environment following the flow shown above.
You also need you make sure you have ia32-libs and fakeroot installed.
Hope this helps, let us know how you get on.
Will do. apt-get install ia32-libs reports it can't find ia32-libs. Is that only required if you are building in a 64 bit enviroment?
Richard
_________________________________________________________________________ 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
_________________________________________________________________________ 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
-- Kerem Erciyes - Sistem Danismani http://keremerciyes.com
On 26 July 2013 14:17, Kerem Erciyes <kerem.erciyes@gmail.com> wrote:
Hello,
Note: ia32-libs is deprecated in favour of multiarch on wheezy... I haven't build FreeSwitch on Wheezy yet, but some other tools required multiarch support be turned on and required 32bit packages installed separately for proper builds... The build scripts may need some changes for Wheezy to accomodate this.
Regards, Kerem
Hi Kerem, Yes, I am testing this at the moment, and will report back with my findings. Seeing as Wheezy is stable and Debian is the choice for many people, I think we need to have a easy build procedure that works without any errors and confusion :) It would also be great, if we could tell the script whether it's a new install, or to update an existing installation? Richard
It does have to be run as root on Debian. It will throw an error if you are not root. Thank you, Brian Foster Project Manager/Owner's Rep. Davri Investments, Inc. O: 317-787-2686 x2102 M: 317-600-9753 E: bdfoster@davri.com Indianapolis, Indiana Sent from a mobile device. On Jul 25, 2013 5:54 AM, "Richard Mace" <richard.mace@gmail.com> wrote:
Thanks Brian, Do I need to run it as root or sudo?
Richard
On 23 July 2013 14:53, Brian Foster <bdfoster@davri.com> wrote:
https://github.com/bdfoster/fs-debian-installer
Has not been tested in awhile but it should work.
Thank you,
Brian Foster Project Manager/Owner's Rep. Davri Investments, Inc. O: 317-787-2686 x2102 M: 317-600-9753 E: bdfoster@davri.com Indianapolis, Indiana
Sent from a mobile device. On Jul 23, 2013 9:30 AM, "Richard Mace" <richard.mace@gmail.com> wrote:
Hi, Could anyone point me in the direction of a build script that will install freeSWITCH on either Debian or Ubuntu 12.04 please? I've tried the current script found on the wiki, but it is not working saying freeswitch-sounds-callie is not available?
Thanks in advance.
Richard
_________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
Hi Ben, I have just tested your script on Debian 7, without modifying anything, and it seemed to work fine, however, I did get the following at the end: Adding user 'freeswitch to group 'daemon'... adduser: Warning: The home directory `/usr/local/freeswitch' does not belong to the user you are currently creating. And, when I try to run the service, I get: service freeswitch cannot be found. Do I need to set INSTALL_FS_INIT="true" and then enter a location in "FS_INIT_LOC="""? Thanks for any help Richard On 23 July 2013 14:53, Brian Foster <bdfoster@davri.com> wrote:
https://github.com/bdfoster/fs-debian-installer
Has not been tested in awhile but it should work.
Thank you,
Brian Foster Project Manager/Owner's Rep. Davri Investments, Inc. O: 317-787-2686 x2102 M: 317-600-9753 E: bdfoster@davri.com Indianapolis, Indiana
Sent from a mobile device.
Richard, Yes, I used to have something filled in for FS_INIT_LOC, it was hosted on one of my servers. Basically I used the init script found here: http://wiki.freeswitch.org/wiki/Freeswitch_init. The script will wget the init script and install it where need be. You can use the instructions on this page to install the service, which is exactly how my script handles it. As for the adduser error, I wouldn't worry about it. I've seen it countless times, never had a problem. Might be an issue with command flags, etc. Any other bugs/feature request, let me know. Thank you, Brian Foster Project Manager/Owner's Representative Davri Investments, Incorporated P: +1-317-787-2686 M: +1-317-600-9753 Indianapolis, Indiana On Sun, Jul 28, 2013 at 3:00 AM, Richard Mace <richard.mace@gmail.com>wrote:
Hi Ben, I have just tested your script on Debian 7, without modifying anything, and it seemed to work fine, however, I did get the following at the end: Adding user 'freeswitch to group 'daemon'... adduser: Warning: The home directory `/usr/local/freeswitch' does not belong to the user you are currently creating.
And, when I try to run the service, I get: service freeswitch cannot be found.
Do I need to set INSTALL_FS_INIT="true" and then enter a location in "FS_INIT_LOC="""?
Thanks for any help
Richard
On 23 July 2013 14:53, Brian Foster <bdfoster@davri.com> wrote:
https://github.com/bdfoster/fs-debian-installer
Has not been tested in awhile but it should work.
Thank you,
Brian Foster Project Manager/Owner's Rep. Davri Investments, Inc. O: 317-787-2686 x2102 M: 317-600-9753 E: bdfoster@davri.com Indianapolis, Indiana
Sent from a mobile device.
_________________________________________________________________________ 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
On 30 July 2013 01:15, Brian Foster <bdfoster@davri.com> wrote:
Richard,
Yes, I used to have something filled in for FS_INIT_LOC, it was hosted on one of my servers. Basically I used the init script found here: http://wiki.freeswitch.org/wiki/Freeswitch_init. The script will wget the init script and install it where need be. You can use the instructions on this page to install the service, which is exactly how my script handles it.
As for the adduser error, I wouldn't worry about it. I've seen it countless times, never had a problem. Might be an issue with command flags, etc.
Any other bugs/feature request, let me know.
Thank you,
Thanks Brian, I've put the script on my server now, and will run your script again. One of the main things I like about your script is that it can be run again to update an existing freeSWITCH installation. Thanks for your help. Richard
But you are then you are installing with no packaging control... at the very least, wrap it with check_install?? Cal On Tue, Jul 30, 2013 at 7:26 AM, Richard Mace <richard.mace@gmail.com>wrote:
On 30 July 2013 01:15, Brian Foster <bdfoster@davri.com> wrote:
Richard,
Yes, I used to have something filled in for FS_INIT_LOC, it was hosted on one of my servers. Basically I used the init script found here: http://wiki.freeswitch.org/wiki/Freeswitch_init. The script will wget the init script and install it where need be. You can use the instructions on this page to install the service, which is exactly how my script handles it.
As for the adduser error, I wouldn't worry about it. I've seen it countless times, never had a problem. Might be an issue with command flags, etc.
Any other bugs/feature request, let me know.
Thank you,
Thanks Brian, I've put the script on my server now, and will run your script again. One of the main things I like about your script is that it can be run again to update an existing freeSWITCH installation.
Thanks for your help.
Richard
_________________________________________________________________________ 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
There is also this; https://github.com/foxx/freeswitch-debian However you'd be better off just using this; https://wiki.freeswitch.org/wiki/Debian_packages_buildscript Cal On Tue, Jul 23, 2013 at 2:24 PM, Richard Mace <richard.mace@gmail.com>wrote:
Hi, Could anyone point me in the direction of a build script that will install freeSWITCH on either Debian or Ubuntu 12.04 please? I've tried the current script found on the wiki, but it is not working saying freeswitch-sounds-callie is not available?
Thanks in advance.
Richard
_________________________________________________________________________ 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
On 24 July 2013 01:28, Cal Leeming [Simplicity Media Ltd] < cal.leeming@simplicitymedialtd.co.uk> wrote:
However you'd be better off just using this; https://wiki.freeswitch.org/wiki/Debian_packages_buildscript
Thanks, does this above script work with Debian 7 and Ubuntu 12.04? Sorry to keep asking specific questions, but I think it's important that we can provide up-to-date "as easy as possible instructions" on the wiki to maximize a successful deployment :) Richard
I use it on wheezy. It's just a wrapper for the stuff under debian/ really - the grunt work is done there. You could also read the build instructions in debian/README.source -Steve On 24 July 2013 06:04, Richard Mace <richard.mace@gmail.com> wrote:
On 24 July 2013 01:28, Cal Leeming [Simplicity Media Ltd] < cal.leeming@simplicitymedialtd.co.uk> wrote:
However you'd be better off just using this; https://wiki.freeswitch.org/wiki/Debian_packages_buildscript
Thanks, does this above script work with Debian 7 and Ubuntu 12.04? Sorry to keep asking specific questions, but I think it's important that we can provide up-to-date "as easy as possible instructions" on the wiki to maximize a successful deployment :)
Richard
_________________________________________________________________________ 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
I did find one of the missing dependencies libdistro-info-perl -------------------------------------------------------------------------------- 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 Nothing defines humans better than their willingness to do irrational things in the pursuit of phenomenally unlikely payoffs. This is the principle behind lotteries, dating, and religion. --Scott Adams --------------------------------------------------------------------------------
Karl, Which module is that dependency for? Thank you, Brian Foster Project Manager/Owner's Representative Davri Investments, Incorporated P: +1-317-787-2686 M: +1-317-600-9753 Indianapolis, Indiana On Mon, Jul 29, 2013 at 1:59 PM, Karl Schmidt <karl@xtronics.com> wrote:
I did find one of the missing dependencies
libdistro-info-perl
-------------------------------------------------------------------------------- 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
Nothing defines humans better than their willingness to do irrational things in the pursuit of phenomenally unlikely payoffs. This is the principle behind lotteries, dating, and religion. --Scott Adams
--------------------------------------------------------------------------------
_________________________________________________________________________ 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
there are official packaging scripts in the src tree btw... we use these fornupdating the projects repo Ken Sent from my iPad On Jul 29, 2013, at 19:15, Brian Foster <bdfoster@davri.com> wrote:
Karl,
Which module is that dependency for?
Thank you,
Brian Foster Project Manager/Owner's Representative Davri Investments, Incorporated P: +1-317-787-2686 M: +1-317-600-9753 Indianapolis, Indiana
On Mon, Jul 29, 2013 at 1:59 PM, Karl Schmidt <karl@xtronics.com> wrote:
I did find one of the missing dependencies
libdistro-info-perl
-------------------------------------------------------------------------------- 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
Nothing defines humans better than their willingness to do irrational things in the pursuit of phenomenally unlikely payoffs. This is the principle behind lotteries, dating, and religion. --Scott Adams
--------------------------------------------------------------------------------
_________________________________________________________________________ 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
_________________________________________________________________________ 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
There must be a reason why I still use my script when installing FS on Debian... Thank you, Brian Foster Project Manager/Owner's Representative Davri Investments, Incorporated P: +1-317-787-2686 M: +1-317-600-9753 Indianapolis, Indiana On Mon, Jul 29, 2013 at 8:26 PM, Ken Rice <krice@freeswitch.org> wrote:
there are official packaging scripts in the src tree btw... we use these fornupdating the projects repo
Ken Sent from my iPad
On Jul 29, 2013, at 19:15, Brian Foster <bdfoster@davri.com> wrote:
Karl,
Which module is that dependency for?
Thank you,
Brian Foster Project Manager/Owner's Representative Davri Investments, Incorporated P: +1-317-787-2686 M: +1-317-600-9753 Indianapolis, Indiana
On Mon, Jul 29, 2013 at 1:59 PM, Karl Schmidt <karl@xtronics.com> wrote:
I did find one of the missing dependencies
libdistro-info-perl
-------------------------------------------------------------------------------- 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
Nothing defines humans better than their willingness to do irrational things in the pursuit of phenomenally unlikely payoffs. This is the principle behind lotteries, dating, and religion. --Scott Adams
--------------------------------------------------------------------------------
_________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
Please let me know if I'm missing something here but, I'm still not entirely clear on what the problem is, and this thread doesn't seem to be going anywhere. The script provided by Brian isn't going to be at all compatible with automated build systems, and is just wrapping the same workflow from [2] and [3]. The builder I wrote on github [1], is one step closer but has bypassed all of the built-in debian stuff and as such is considered alpha/deprecated... although it supported a cleaner way of building (using pbuilder), it ultimately increased complexity and deviated from the standard way of doing things. As someone who has attempted to make his own build scripts for FS, I can tell you now that it is counter-productive and you should stick with the build system that is currently in master. If you think it can be improved, then feel free to submit patches. Although I agree that getting to grips with building FS is not entirely straight forward, packaging is a skill within itself and there's a reason why finding good package maintainers is a hard thing to do. If you are looking for an automated installer, then your best bet is to build packages and then use something like chef/puppet/salt to control deployment. These scripts (much like the one I wrote on github) are just wrapping an already perfectly functional set of tools, and as shown before, FS compiles absolutely fine on Wheezy given the command flow I specified before [2]. If this is not the case then please can you provide full debug logs that show us where the problem is happening so we can help. Cal [1] https://github.com/foxx/freeswitch-debian [2] http://pastebin.com/gCgEmH90 [3] https://wiki.freeswitch.org/wiki/Debian_packages_buildscript On Tue, Jul 30, 2013 at 1:51 AM, Brian Foster <bdfoster@davri.com> wrote:
There must be a reason why I still use my script when installing FS on Debian...
Thank you,
Brian Foster Project Manager/Owner's Representative Davri Investments, Incorporated P: +1-317-787-2686 M: +1-317-600-9753 Indianapolis, Indiana
On Mon, Jul 29, 2013 at 8:26 PM, Ken Rice <krice@freeswitch.org> wrote:
there are official packaging scripts in the src tree btw... we use these fornupdating the projects repo
Ken Sent from my iPad
On Jul 29, 2013, at 19:15, Brian Foster <bdfoster@davri.com> wrote:
Karl,
Which module is that dependency for?
Thank you,
Brian Foster Project Manager/Owner's Representative Davri Investments, Incorporated P: +1-317-787-2686 M: +1-317-600-9753 Indianapolis, Indiana
On Mon, Jul 29, 2013 at 1:59 PM, Karl Schmidt <karl@xtronics.com> wrote:
I did find one of the missing dependencies
libdistro-info-perl
-------------------------------------------------------------------------------- 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
Nothing defines humans better than their willingness to do irrational things in the pursuit of phenomenally unlikely payoffs. This is the principle behind lotteries, dating, and religion. --Scott Adams
--------------------------------------------------------------------------------
_________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
This script does not do any packaging, it installs from source (more specifically, v1.2.stable branch). It installs dependencies identified in the Debian install instructions on the wiki, enters the right directories, builds it all, sets permissions, and has an option in there to install the init script. Basically, it follows the instructions posted on the wiki on how to install using git. At the time I made the script, packaging FS on Debian was still alpha. Today, I think the packaging bit has come a long ways, but it still doesn't seem reliable. Granted, it's not the greatest script. Many things could be improved on. At the time, this was the best way to do it taking into account my experience and education on the matter. It was used on automated builds directly after Debian was installed many many times. I could have used puppet, but at the time we didn't have that infrastructure or the money to build it with (we do now, but I work for another company, so...). So the point is this: my script builds FS using community-evaluated instructions without packaging and directly from Git. On top of doing automated installs, it's a learning tool. And just because I use it does not mean others have to. Yes, I throw it out there every so often, and I will continue to until there is a better option or the packaging method becomes the norm, standard, and/or is stable enough. It's a tool for others and myself to use. And it works (even on Wheezy as I discovered today). Thank you, Brian Foster Project Manager/Owner's Rep. Davri Investments, Inc. O: 317-787-2686 x2102 M: 317-600-9753 E: bdfoster@davri.com Indianapolis, Indiana Sent from a mobile device. On Jul 29, 2013 9:38 PM, "Cal Leeming [Simplicity Media Ltd]" < cal.leeming@simplicitymedialtd.co.uk> wrote:
Please let me know if I'm missing something here but, I'm still not
entirely clear on what the problem is, and this thread doesn't seem to be going anywhere.
The script provided by Brian isn't going to be at all compatible with
automated build systems, and is just wrapping the same workflow from [2] and [3]. The builder I wrote on github [1], is one step closer but has bypassed all of the built-in debian stuff and as such is considered alpha/deprecated... although it supported a cleaner way of building (using pbuilder), it ultimately increased complexity and deviated from the standard way of doing things.
As someone who has attempted to make his own build scripts for FS, I can
tell you now that it is counter-productive and you should stick with the build system that is currently in master. If you think it can be improved, then feel free to submit patches. Although I agree that getting to grips with building FS is not entirely straight forward, packaging is a skill within itself and there's a reason why finding good package maintainers is a hard thing to do.
If you are looking for an automated installer, then your best bet is to
build packages and then use something like chef/puppet/salt to control deployment.
These scripts (much like the one I wrote on github) are just wrapping an
already perfectly functional set of tools, and as shown before, FS compiles absolutely fine on Wheezy given the command flow I specified before [2]. If this is not the case then please can you provide full debug logs that show us where the problem is happening so we can help.
Cal
[1] https://github.com/foxx/freeswitch-debian [2] http://pastebin.com/gCgEmH90 [3] https://wiki.freeswitch.org/wiki/Debian_packages_buildscript
On Tue, Jul 30, 2013 at 1:51 AM, Brian Foster <bdfoster@davri.com> wrote:
There must be a reason why I still use my script when installing FS on
Debian...
Thank you,
Brian Foster Project Manager/Owner's Representative Davri Investments, Incorporated P: +1-317-787-2686 M: +1-317-600-9753 Indianapolis, Indiana
On Mon, Jul 29, 2013 at 8:26 PM, Ken Rice <krice@freeswitch.org> wrote:
there are official packaging scripts in the src tree btw... we use
these fornupdating the projects repo
Ken Sent from my iPad
On Jul 29, 2013, at 19:15, Brian Foster <bdfoster@davri.com> wrote:
Karl,
Which module is that dependency for?
Thank you,
Brian Foster Project Manager/Owner's Representative Davri Investments, Incorporated P: +1-317-787-2686 M: +1-317-600-9753 Indianapolis, Indiana
On Mon, Jul 29, 2013 at 1:59 PM, Karl Schmidt <karl@xtronics.com>
wrote:
I did find one of the missing dependencies
libdistro-info-perl
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
Nothing defines humans better than their willingness to do irrational things in the pursuit of phenomenally unlikely payoffs. This is the principle behind lotteries, dating, and religion. --Scott Adams
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
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
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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
On 07/29/2013 07:15 PM, Brian Foster wrote:
Karl,
Which module is that dependency for?
It is a dependency for the script - needed to build the meta package I believe.
Thank you,
Brian Foster Project Manager/Owner's Representative Davri Investments, Incorporated P: +1-317-787-2686 M: +1-317-600-9753 Indianapolis, Indiana
On Mon, Jul 29, 2013 at 1:59 PM, Karl Schmidt <karl@xtronics.com <mailto:karl@xtronics.com>> wrote:
I did find one of the missing dependencies
libdistro-info-perl
-------------------------------------------------------------------------------- Karl Schmidt EMail Karl@xtronics.com <mailto:Karl@xtronics.com> Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 <tel:%28785%29%20841-3089> Lawrence, KS 66049 FAX (785) 841-0434 <tel:%28785%29%20841-0434>
Nothing defines humans better than their willingness to do irrational things in the pursuit of phenomenally unlikely payoffs. This is the principle behind lotteries, dating, and religion. --Scott Adams
--------------------------------------------------------------------------------
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto: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 <mailto: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
_________________________________________________________________________ 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
-------------------------------------------------------------------------------- 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 Education consists mainly of what we have unlearned. -- Mark Twain --------------------------------------------------------------------------------
participants (7)
-
Brian Foster
-
Cal Leeming [Simplicity Media Ltd]
-
Karl Schmidt
-
Ken Rice
-
Kerem Erciyes
-
Richard Mace
-
Steven Ayre