Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The prolem of Setup pyv8 on Centos5.6, Python2.7 #190

Open
GoogleCodeExporter opened this issue May 31, 2015 · 4 comments
Open

The prolem of Setup pyv8 on Centos5.6, Python2.7 #190

GoogleCodeExporter opened this issue May 31, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

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

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant