Trouble building mod_v8 on the latest master branch under Centos 5.9
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
what version of python do you have? On Feb 21, 2014, at 5:23 PM, D D <tru083@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@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
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@jerris.com> wrote:
what version of python do you have?
On Feb 21, 2014, at 5:23 PM, D D <tru083@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@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
Open to any fixes that make things work in more places. Toss me something on jira and I'll take a look. I have similar issues I just had to put an ugly work around in for freebsd this week too. I'd like to get these changes pushed directly up to v8 maintainers as well. Mike On Feb 22, 2014, at 10:45 AM, João Mesquita <jmesquita@freeswitch.org> wrote:
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@jerris.com> wrote:
what version of python do you have?
On Feb 21, 2014, at 5:23 PM, D D <tru083@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@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
participants (3)
-
D D
-
João Mesquita
-
Michael Jerris