You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to setup pyv8 on Centos5.6, but have some problems.I do this installation
on 2ways:
1)i download V8 and pyv8, than
#export V8_HOME=/usr/local/src/v8
#python2.7 setup.py build
and have some errors:
PYTHONPATH="/usr/local/src/v8/tools/generate_shim_headers:" \
GYP_GENERATORS=make \
build/gyp/gyp --generator-output="out" build/all.gyp \
-Ibuild/standalone.gypi --depth=. \
-Dv8_target_arch=ia32 \
-S.ia32 -Dcomponent=shared_library -Dv8_enable_backtrace=1 -Dv8_enable_extra_checks=0 -Dv8_enable_gdbjit=0 -Dwerror='' -Darm_fpu=default -Darm_float_abi=default
ERROR: build v8 from SVN failed: code=2
DEBUG: Traceback (most recent call last):
File "build/gyp/gyp", line 15, in ?
import gyp
File "build/gyp/pylib/gyp/__init__.py", line 8, in ?
import gyp.input
File "build/gyp/pylib/gyp/input.py", line 856
except ImportError as e:
^
SyntaxError: invalid syntax
make: *** [out/Makefile.ia32] Error 1
***and in the end ofcompilation process***
g++ -pthread -shared build/temp.linux-i686-2.7/src/Utils.o
build/temp.linux-i686-2.7/src/Exception.o
build/temp.linux-i686-2.7/src/Context.o build/temp.linux-i686-2.7/src/Engine.o
build/temp.linux-i686-2.7/src/Wrapper.o build/temp.linux-i686-2.7/src/Debug.o
build/temp.linux-i686-2.7/src/Locker.o build/temp.linux-i686-2.7/src/AST.o
build/temp.linux-i686-2.7/src/PrettyPrinter.o
build/temp.linux-i686-2.7/src/PyV8.o -L/usr/local/lib
-L/usr/local/src/v8/out/ia32.release/obj.target/tools/gyp/ -lrt -lboost_python
-lboost_thread -lboost_system -lv8_base.ia32 -lv8_snapshot -o
build/lib.linux-i686-2.7/_PyV8.so
/usr/bin/ld: cannot find -lv8_base.ia32
collect2: ld returned 1 exit status
error: command 'g++' failed with exit status 1
2)setup pyv8 trought pip install
#pip -v install pyv8
i i have some errors(added in attachment)
Original issue reported on code.google.com by jayrabo...@gmail.com on 19 Jul 2013 at 9:49
Original issue reported on code.google.com by
jayrabo...@gmail.com
on 19 Jul 2013 at 9:49Attachments:
The text was updated successfully, but these errors were encountered: