[Freeswitch-users] Trouble building mod_v8 on the latest master branch under Centos 5.9

João Mesquita jmesquita at freeswitch.org
Sat Feb 22 18:45:26 MSK 2014


Can't we modify this script to be compatible with centos 5 ancient version of python? From the top of my head it is still on 2.4. That traceback is simply replacing the as keyword for a comma. I can submit a patch if that's acceptable. 

Sent from my iPhone

> On Feb 21, 2014, at 7:48 PM, Michael Jerris <mike at jerris.com> wrote:
> 
> what version of python do you have?
> 
>> On Feb 21, 2014, at 5:23 PM, D D <tru083 at yahoo.com> wrote:
>> 
>> Hi,
>> 
>> I am trying to build the latest master branch (on Centos 5.9) and am getting the error below.
>> Should I open a JIRA ticket?
>> 
>> Thanks,
>> David
>> 
>> 
>> making all mod_v8
>> --2014-02-21 15:55:06--  http://files.freeswitch.org/downloads/libs/v8-3.24.14.tar.bz2
>> Resolving files.freeswitch.org... 108.161.189.196
>> Connecting to files.freeswitch.org|108.161.189.196|:80... connected.
>> HTTP request sent, awaiting response... 200 OK
>> Length: 37509261 (36M) [application/x-bzip2]
>> Saving to: `v8-3.24.14.tar.bz2'
>> 
>> 100%[================================================================================================>] 37,509,261   177K/s   in 3m 36s  
>> 
>> 2014-02-21 15:58:44 (170 KB/s) - `v8-3.24.14.tar.bz2' saved [37509261/37509261]
>> 
>> Traceback (most recent call last):
>>   File "build/gyp/gyp_main.py", line 11, in ?
>>     import gyp
>>   File "/home/freeswitch/src/latest/libs/v8-3.24.14/build/gyp/pylib/gyp/__init__.py", line 8, in ?
>>     import gyp.input
>>   File "/home/freeswitch/src/latest/libs/v8-3.24.14/build/gyp/pylib/gyp/input.py", line 873
>>     except ImportError as e:
>>                         ^
>> SyntaxError: invalid syntax
>> make[5]: *** [out/Makefile.native] Error 1
>> make[4]: *** [/home/freeswitch/src/latest/libs/v8-3.24.14/out/native/lib.target/libv8.so] Error 2
>> make[3]: *** [mod_v8-all] Error 1
>> make[2]: *** [all-recursive] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>> 
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>> 
>> 
>> 
>> 
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.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://wiki.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/20140222/5d37ce47/attachment.html 


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