[Freeswitch-users] Ubuntu + FS

Ken Rice krice at freeswitch.org
Sat May 21 03:35:18 MSD 2016


I'm not sure where you got that make command but building from source on debian is pretty easy

Add the fs debian repo, apt-get install freeswitch-video-deps-most
Get the source code from git then 
./bootstrap.sh -j && ./configure -C && make -j8 install

And done else you'll need to manually install all the dependancies

Sent from my iPhone

> On May 20, 2016, at 6:15 PM, Gregor Nanger <gregor at infomedia.si> wrote:
> 
> I am trying now to install on Debian 8. Went through install instructions in confluence and when execute:
> 
> make python-dev pkg-config yasm
> 
> I get error:
> root at as157488:/usr/src/freeswitch# make python-dev pkg-config yasm
> make[1]: Entering directory '/usr/src/freeswitch'
> make  libfreeswitch.la
> make[2]: Entering directory '/usr/src/freeswitch'
> make[2]: Leaving directory '/usr/src/freeswitch'
> make[1]: Leaving directory '/usr/src/freeswitch'
> make[1]: Entering directory '/usr/src/freeswitch/src/mod'
> make[2]: Entering directory '/usr/src/freeswitch/src/mod'
> Unknown target python-dev
> Makefile:683: recipe for target 'python-dev-all' failed
> make[2]: *** [python-dev-all] Error 1
> make[2]: Leaving directory '/usr/src/freeswitch/src/mod'
> Makefile:683: recipe for target 'python-dev' failed
> make[1]: *** [python-dev] Error 2
> make[1]: Leaving directory '/usr/src/freeswitch/src/mod'
> Makefile:3730: recipe for target 'python-dev' failed
> make: *** [python-dev] Error 2
> root at as157488:/usr/src/freeswitch#
> 
> Can you please advise...
> 
> 2016-05-19 15:47 GMT+02:00 Gregor Nanger <gregor at infomedia.si>:
>> Cool, thank you... least pain :-)) Like +1
>> 
>> 2016-05-19 15:08 GMT+02:00 Ken Rice <krice at freeswitch.org>:
>>> The FreeSWITCH Team Highly recommends using Debian 8 at this time. It is what the entire FS team primarily uses and will result in the least pain.
>>> 
>>> Sent from my iPhone
>>> 
>>>> On May 19, 2016, at 4:52 AM, Gregor Nanger <gregor at infomedia.si> wrote:
>>>> 
>>>> Thank you very much for your answers. This server is our test server and we can update it to newer version.
>>>> 
>>>> Just tell me, preferred Linux version for Freeswitch is centos?
>>>> 
>>>> 
>>>>> On Thu, May 19, 2016, 11:47 Vallimamod Abdullah <vma at 440hz.fr> wrote:
>>>>> Hi,
>>>>> 
>>>>> You can also disable libyuv if your aren’t using video: ./configure --disable-libyuv
>>>>> 
>>>>> Best Regards,
>>>>> Vallimamod
>>>>> .
>>>>> 
>>>>> > On 19 May 2016, at 00:36, Gregor Nanger <gregor at infomedia.si> wrote:
>>>>> >
>>>>> > Oh, yes :-((( Here it is:
>>>>> >
>>>>> > make && make install
>>>>> > config.status: creating Makefile
>>>>> > config.status: creating include/apr.h
>>>>> > config.status: creating build/apr_rules.mk
>>>>> > config.status: creating build/pkg/pkginfo
>>>>> > config.status: creating apr-1-config
>>>>> > config.status: WARNING:  'apr-config.in' seems to ignore the --datarootdir setting
>>>>> > config.status: creating apr.pc
>>>>> > config.status: creating test/Makefile
>>>>> > config.status: creating test/internal/Makefile
>>>>> > config.status: creating include/arch/unix/apr_private.h
>>>>> > config.status: executing libtool commands
>>>>> > rm: cannot remove `libtoolT': No such file or directory
>>>>> > config.status: executing default commands
>>>>> > config.status: include/apr.h is unchanged
>>>>> > config.status: include/arch/unix/apr_private.h is unchanged
>>>>> > make[1]: Entering directory `/usr/src/freeswitch.git/libs/apr'
>>>>> > make[2]: Entering directory `/usr/src/freeswitch.git/libs/apr'
>>>>> > make[2]: Nothing to be done for `local-all'.
>>>>> > make[2]: Leaving directory `/usr/src/freeswitch.git/libs/apr'
>>>>> > make[1]: Leaving directory `/usr/src/freeswitch.git/libs/apr'
>>>>> > make[1]: Entering directory `/usr/src/freeswitch.git/libs/apr-util'
>>>>> > Making all in xml/expat
>>>>> > make[2]: Entering directory `/usr/src/freeswitch.git/libs/apr-util/xml/expat'
>>>>> > make[3]: Entering directory `/usr/src/freeswitch.git/libs/apr-util/xml/expat/lib'
>>>>> > /bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -DPACKAGE='"expat"' -DVERSION='"expat_1.95.2"' -I. -I.. -I/usr/src/freeswitch.git/libs/apr-util/xml/expat/lib  -g -O2 -c xmlparse.c
>>>>> > libtool: compile:  gcc -DHAVE_CONFIG_H -DPACKAGE=\"expat\" -DVERSION=\"expat_1.95.2\" -I. -I.. -I/usr/src/freeswitch.git/libs/apr-util/xml/expat/lib -g -O2 -c xmlparse.c  -fPIC -DPIC -o xmlparse.o
>>>>> > /bin/bash ../libtool --mode=link  gcc -version-info 1:0:1 -g -O2  -o libexpat.la -rpath /usr/local/freeswitch/lib  xmlparse.lo xmltok.lo xmlrole.lo
>>>>> > libtool: link: rm -fr  .libs/libexpat.a .libs/libexpat.la .libs/libexpat.lai
>>>>> > libtool: link: ar cru .libs/libexpat.a  xmlparse.o xmltok.o xmlrole.o
>>>>> > libtool: link: ranlib .libs/libexpat.a
>>>>> > libtool: link: ( cd ".libs" && rm -f "libexpat.la" && ln -s "../libexpat.la" "libexpat.la" )
>>>>> > make[3]: Leaving directory `/usr/src/freeswitch.git/libs/apr-util/xml/expat/lib'
>>>>> > make[2]: Leaving directory `/usr/src/freeswitch.git/libs/apr-util/xml/expat'
>>>>> > make[2]: Entering directory `/usr/src/freeswitch.git/libs/apr-util'
>>>>> > make[2]: Nothing to be done for `local-all'.
>>>>> > make[2]: Leaving directory `/usr/src/freeswitch.git/libs/apr-util'
>>>>> > make[1]: Leaving directory `/usr/src/freeswitch.git/libs/apr-util'
>>>>> > touch /usr/src/freeswitch.git/src/include/switch.h
>>>>> > make[1]: Entering directory `/usr/src/freeswitch.git/libs/srtp'
>>>>> > (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /usr/src/freeswitch.git/libs/srtp/build/missing --run autoheader)
>>>>> > rm -f crypto/include/stamp-h1
>>>>> > touch config_in.h
>>>>> > cd . && /bin/bash ./config.status crypto/include/config.h
>>>>> > config.status: creating crypto/include/config.h
>>>>> > config.status: crypto/include/config.h is unchanged
>>>>> > make[1]: Leaving directory `/usr/src/freeswitch.git/libs/srtp'
>>>>> >   CXX    libfreeswitch_libyuv_la-row_common.lo
>>>>> > libs/libyuv/source/row_common.cc: In function 'void libyuv::YuvPixel(uint8, uint8, uint8, uint8*, uint8*, uint8*, const libyuv::YuvConstants*)':
>>>>> > libs/libyuv/source/row_common.cc:1256:34: error: invalid types 'const lvec8 {aka const __vector(32) signed char}[int]' for array subscript
>>>>> > libs/libyuv/source/row_common.cc:1257:34: error: invalid types 'const lvec8 {aka const __vector(32) signed char}[int]' for array subscript
>>>>> > libs/libyuv/source/row_common.cc:1258:34: error: invalid types 'const lvec8 {aka const __vector(32) signed char}[int]' for array subscript
>>>>> > libs/libyuv/source/row_common.cc:1259:34: error: invalid types 'const lvec8 {aka const __vector(32) signed char}[int]' for array subscript
>>>>> > libs/libyuv/source/row_common.cc:1260:36: error: invalid types 'const lvec16 {aka const __vector(16) short int}[int]' for array subscript
>>>>> > libs/libyuv/source/row_common.cc:1261:36: error: invalid types 'const lvec16 {aka const __vector(16) short int}[int]' for array subscript
>>>>> > libs/libyuv/source/row_common.cc:1262:36: error: invalid types 'const lvec16 {aka const __vector(16) short int}[int]' for array subscript
>>>>> > libs/libyuv/source/row_common.cc:1263:35: error: invalid types 'const lvec16 {aka const __vector(16) short int}[int]' for array subscript
>>>>> > make: *** [libfreeswitch_libyuv_la-row_common.lo] Error 1
>>>>> >
>>>>> > 2016-05-19 0:29 GMT+02:00 Michael Jerris <mike at jerris.com>:
>>>>> > you have cut off any useful error messages that would be above that line.
>>>>> >
>>>>> >> On May 18, 2016, at 6:25 PM, Gregor Nanger <gregor at infomedia.si> wrote:
>>>>> >>
>>>>> >> I am trying to install FS on Ubuntu. When I set make, I get following error:
>>>>> >>
>>>>> >> make: *** [libfreeswitch_libyuv_la-row_common.lo] Error 1
>>>>> >>
>>>>> >> Any advice what I am doing wrong?
>>>>> >>
>>>>> >> Best regards, Gregor
>>>>> 
>>>>> 
>>>>> 
>>>>> _________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services:
>>>>> consulting at freeswitch.org
>>>>> http://www.freeswitchsolutions.com
>>>>> 
>>>>> Official FreeSWITCH Sites
>>>>> http://www.freeswitch.org
>>>>> http://confluence.freeswitch.org
>>>>> http://www.cluecon.com
>>>>> 
>>>>> FreeSWITCH-users mailing list
>>>>> FreeSWITCH-users at lists.freeswitch.org
>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>>> http://www.freeswitch.org
>>>> 
>>>> -- 
>>>> Gregor Nanger
>>>>  
>>>> CTO
>>>> t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485 
>>>> • Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia 
>>>> • www.infomedia.si
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services: 
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>> 
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://confluence.freeswitch.org
>>>> http://www.cluecon.com
>>>> 
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at 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 at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>> 
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://confluence.freeswitch.org
>>> http://www.cluecon.com
>>> 
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>> 
>> 
>> 
>> -- 
>> Gregor Nanger
>>  
>> CTO
>> t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485 
>> • Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia 
>> • www.infomedia.si
> 
> 
> 
> -- 
> Gregor Nanger
>  
> CTO
> t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485 
> • Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia 
> • www.infomedia.si
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services: 
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160520/f9aa1fb1/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list