RoamUniverse / pyv8

Automatically exported from code.google.com/p/pyv8
0 stars 0 forks source link

_PyV8.so: undefined symbol: _ZTIN2v88internal10AstVisitorE #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I should have noticed this when you asked me to verify #35 - sorry.

pyv8 builds fine, but does not import. This happens with pyv8 r233, and V8
trunk@3836 or bleeding_edge@3850:

Traceback (most recent call last):
  File "PyV8.py", line 8, in <module>
    import _PyV8
ImportError: /opt/Python-x86/lib/python2.7/site-packages/_PyV8.so:
undefined symbol: _ZTIN2v88internal10AstVisitorE

I wish I knew C++ so that I could just send a patch :)

Original issue reported on code.google.com by sysno...@gmail.com on 12 Feb 2010 at 8:46

GoogleCodeExporter commented 9 years ago
Sorry, it seems GCC will build the source that we doesn't use. 

So, I remove the AST.cpp from setup.py when it doesn't support AST feature. 
Please 
check out and verify it with SVN code after r234.

Thanks

Original comment by flier...@gmail.com on 13 Feb 2010 at 3:56

GoogleCodeExporter commented 9 years ago
Confirmed to build and import without problems. All tests pass, too. Thanks a 
lot - I
really appreciate having a working PyV8 to learn from.

Original comment by sysno...@gmail.com on 13 Feb 2010 at 4:34

GoogleCodeExporter commented 9 years ago
Thanks, I also believe PyV8 is a good start to explore the v8 and javascript :)

Original comment by flier...@gmail.com on 13 Feb 2010 at 4:36