kostyll / python-spidermonkey

Automatically exported from code.google.com/p/python-spidermonkey
GNU General Public License v2.0
0 stars 0 forks source link

build fails on linux-x86_64 (bogus spidermonkey.pyx) #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. get python-spidermonkey sources from svn on linux-x86_64 (revision 23)
2. run "python setup.py build"
3. wait until you see
"/home/johndoe/python-spidermonkey-read-only/spidermonkey.pyx:82:3: Syntax
error in simple statement list" error

So spidermonkey.pyx is probably bad, and I cannot fix it properly - I don't
know Pyrex. However, simple removal if "IF UNAME_MACHINE == "x86_64": ..."
condition (leaving "ctypedef int jsval" there only) works for me.

Original issue reported on code.google.com by michal.b...@gmail.com on 19 Jun 2008 at 12:03

GoogleCodeExporter commented 9 years ago
(.. oh, I mean "ctypedef long jsval")

Original comment by michal.b...@gmail.com on 19 Jun 2008 at 12:08

GoogleCodeExporter commented 9 years ago
Agreed. Had the same problem, followed the same solution.

Original comment by crschm...@gmail.com on 24 Oct 2008 at 12:09