Closed GoogleCodeExporter closed 9 years ago
Please use `python setup.py build` to checkout and build v8, because pyv8 need
to patch its SConstruct script; if you want to build v8 by manual, please check
wiki for more detail.
Original comment by flier...@gmail.com
on 10 Apr 2011 at 4:02
Still could not fix the issue
1. ran python setup.py build
2. on import PyV8 got error
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "PyV8.py", line 17, in <module>
import _PyV8
ImportError:
/usr/local/lib/python2.6/dist-packages/PyV8-1.0-py2.6-linux-x86_64.egg/_PyV8.so:
undefined symbol:
_ZN2v88internal10AstVisitor17VisitDeclarationsEPNS0_8ZoneListIPNS0_11Declaration
EEE
3. Now, removed AST.cpp and intsalled again, got segmentation fault on import
Original comment by reachnom...@gmail.com
on 10 Apr 2011 at 4:59
Could you build v8 and pyv8 from clean source code? It seems your v8 has built
without x64 mode and -fPIC.
/usr/bin/ld: /home/nomind/lab/v8/trunk/libv8.a(allocation.o): relocation
R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared
object; recompile with -fPIC
Original comment by flier...@gmail.com
on 11 Apr 2011 at 7:02
Original issue reported on code.google.com by
reachnom...@gmail.com
on 10 Apr 2011 at 1:55