Freeswitch Issue

Moderator: areski

Re: Freeswitch Issue

Postby augustynr » Sat Oct 12, 2013 3:51 am

Hi I have run another install but now on the ubuntu 12.04 without updates and the installation of the freeswitch fails at the end with following:

2013-10-11 23:36:35 (20.0 MB/s) - `lua.conf.xml' saved [1702/1702]

--2013-10-11 23:36:35-- https://raw.github.com/Star2Billing/new ... freeswitch
Resolving raw.github.com (raw.github.com)... 199.27.73.133
Connecting to raw.github.com (raw.github.com)|199.27.73.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5057 (4.9K) [text/plain]
Saving to: `/etc/init.d/freeswitch'

100%[==================================================================================================================================>] 5,057 --.-K/s in 0s

2013-10-11 23:36:35 (24.6 MB/s) - `/etc/init.d/freeswitch' saved [5057/5057]

Adding system startup for /etc/init.d/freeswitch ...
/etc/rc0.d/K90freeswitch -> ../init.d/freeswitch
/etc/rc1.d/K90freeswitch -> ../init.d/freeswitch
/etc/rc6.d/K90freeswitch -> ../init.d/freeswitch
/etc/rc2.d/S90freeswitch -> ../init.d/freeswitch
/etc/rc3.d/S90freeswitch -> ../init.d/freeswitch
/etc/rc4.d/S90freeswitch -> ../init.d/freeswitch
/etc/rc5.d/S90freeswitch -> ../init.d/freeswitch
make MYLIB="../libesl.a" SOLINK="-shared -Xlinker -x" CFLAGS="-I/usr/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -O2" CXXFLAGS="-I/usr/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC" CXX_CFLAGS="" -C python
make[1]: Entering directory `/usr/src/freeswitch/libs/esl/python'
g++ -I/usr/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC `python ./python-config --includes` -c esl_wrap.cpp -o esl_wrap.o
esl_wrap.cpp:141:20: fatal error: Python.h: No such file or directory
compilation terminated.
make[1]: *** [esl_wrap.o] Error 1
make[1]: Leaving directory `/usr/src/freeswitch/libs/esl/python'
make: *** [pymod] Error 2
Installing from source

********************************************************************
Congratulations, FreeSWITCH is now installed at '/usr/local/freeswitch'
********************************************************************

* To Start FreeSWITCH in foreground :
'/usr/local/freeswitch/bin/freeswitch'

* To Start FreeSWITCH in background :
'/usr/local/freeswitch/bin/freeswitch -nc'

********************************************************************
augustynr
 
Posts: 7
Joined: Tue Nov 22, 2011 4:33 pm

Re: Freeswitch Issue

Postby augustynr » Sat Oct 12, 2013 5:10 am

I have run your install script on clear Centos and have the same error so I am assuming that there is something wrong with your script .....
make MYLIB="../libesl.a" SOLINK="-shared -Xlinker -x" CFLAGS="-I/usr/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g -gg db -I../../libs/libedit/src/ -fPIC -O2" CXXFLAGS="-I/usr/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../l ibs/libedit/src/ -fPIC" CXX_CFLAGS="" -C python
make[1]: Entering directory `/usr/src/freeswitch/libs/esl/python'
g++ -I/usr/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC `python ./python-confi g --includes` -c esl_wrap.cpp -o esl_wrap.o
esl_wrap.cpp:141:20: error: Python.h: No such file or directory
esl_wrap.cpp:747: error: expected initializer before â*â token
esl_wrap.cpp:802: error: expected initializer before â*â token
esl_wrap.cpp:823: error: expected initializer before â*â token
In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/stdexcept:38,
from esl_wrap.cpp:2533:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/exception:35: error: expected declaration before end of li ne
make[1]: *** [esl_wrap.o] Error 1
make[1]: Leaving directory `/usr/src/freeswitch/libs/esl/python'
make: *** [pymod] Error 2
Installing from source

********************************************************************
Congratulations, FreeSWITCH is now installed at '/usr/local/freeswitch'
********************************************************************

* To Start FreeSWITCH in foreground :
'/usr/local/freeswitch/bin/freeswitch'
augustynr
 
Posts: 7
Joined: Tue Nov 22, 2011 4:33 pm

Re: Freeswitch Issue

Postby areski » Sat Oct 12, 2013 6:44 pm

We just released 2.8.2 which will solve this issue.
I tested the install with the new version and it works smoothly.
areski
Site Admin
 
Posts: 302
Joined: Tue Oct 18, 2011 5:28 pm

Re: Freeswitch Issue

Postby areski » Sat Oct 12, 2013 6:44 pm

We just released 2.8.2 which will solve an issue someone else reported.
I tested the install on Ubunty 12.04.3 LTS and it worked perfectly.
areski
Site Admin
 
Posts: 302
Joined: Tue Oct 18, 2011 5:28 pm

Previous

Return to Installation

Who is online

Users browsing this forum: No registered users and 27 guests

cron