LINUX.ORG.RU
ФорумAdmin

easy_install PyP8


0

1

Не получается установить. В чём может быть дело?


 # easy_install PyV8
Searching for PyV8
Reading http://pypi.python.org/simple/PyV8/
Reading http://code.google.com/p/pyv8/
Reading http://code.google.com/p/pyv8/downloads/list
Best match: PyV8 0.5
Downloading http://pypi.python.org/packages/source/P/PyV8/PyV8-0.5.zip#md5=922d7d66f6e2d03aa949f40395f21b80
Processing PyV8-0.5.zip
Running PyV8-0.5/setup.py -q bdist_egg --dist-dir /tmp/easy_install-zPsslZ/PyV8-0.5/egg-dist-tmp-DbrSyj
In file included from src/Context.h:7:0,
                 from src/Context.cpp:1:
src/Wrapper.h: In member function 'const boost::python::api::object& CJavascriptArray::ArrayIterator::dereference() const':
src/Wrapper.h:115:66: warning: returning reference to temporary
In file included from src/Context.h:7:0,
                 from src/Engine.h:7,
                 from src/Engine.cpp:1:
src/Wrapper.h: In member function 'const boost::python::api::object& CJavascriptArray::ArrayIterator::dereference() const':
src/Wrapper.h:115:66: warning: returning reference to temporary
In file included from src/Wrapper.cpp:1:0:
src/Wrapper.h: In member function 'const boost::python::api::object& CJavascriptArray::ArrayIterator::dereference() const':
src/Wrapper.h:115:66: warning: returning reference to temporary
src/Wrapper.cpp: In static member function 'static void CPythonObject::SetupObjectTemplate(v8::Handle<v8::ObjectTemplate>)':
src/Wrapper.cpp:311:84: error: invalid conversion from 'v8::Handle<v8::Boolean> (*)(v8::Local<v8::String>, const v8::AccessorInfo&)' to 'v8::Handle<v8::Integer> (*)(v8::Local<v8::String>, const v8::AccessorInfo&)'
src/Wrapper.cpp:311:84: error:   initializing argument 3 of 'void v8::ObjectTemplate::SetNamedPropertyHandler(v8::Handle<v8::Value> (*)(v8::Local<v8::String>, const v8::AccessorInfo&), v8::Handle<v8::Value> (*)(v8::Local<v8::String>, v8::Local<v8::Value>, const v8::AccessorInfo&), v8::Handle<v8::Integer> (*)(v8::Local<v8::String>, const v8::AccessorInfo&), v8::Handle<v8::Boolean> (*)(v8::Local<v8::String>, const v8::AccessorInfo&), v8::Handle<v8::Array> (*)(const v8::AccessorInfo&), v8::Handle<v8::Value>)'
src/Wrapper.cpp:312:94: error: invalid conversion from 'v8::Handle<v8::Boolean> (*)(uint32_t, const v8::AccessorInfo&)' to 'v8::Handle<v8::Integer> (*)(uint32_t, const v8::AccessorInfo&)'
src/Wrapper.cpp:312:94: error:   initializing argument 3 of 'void v8::ObjectTemplate::SetIndexedPropertyHandler(v8::Handle<v8::Value> (*)(uint32_t, const v8::AccessorInfo&), v8::Handle<v8::Value> (*)(uint32_t, v8::Local<v8::Value>, const v8::AccessorInfo&), v8::Handle<v8::Integer> (*)(uint32_t, const v8::AccessorInfo&), v8::Handle<v8::Boolean> (*)(uint32_t, const v8::AccessorInfo&), v8::Handle<v8::Array> (*)(const v8::AccessorInfo&), v8::Handle<v8::Value>)'
error: Setup script exited with error: command 'x86_64-pc-linux-gnu-g++' failed with exit status 1


v8

V8 is Google's open source JavaScript engine. проверь стоят ли от неё хидеры и насколько они свежи.

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.