Comments (5)
In fact, most of pyv8 user are working on the SVN trunk build, because V8
upgrade very frequently.
Any way, I could upload some build for OSX and ubuntu, any other platform that
you prefer to support?
Original comment by [email protected]
on 3 Mar 2014 at 2:22
- Changed state: Accepted
- Added labels: Type-Task, OpSys-All
- Removed labels: Type-Defect
from pyv8.
Nope. That'd be perfect.
It personally prefer a checkout, but it raised a red-flag when only the Windows
downloads were available. It made it seem as if it was non-trivial to get it
working in any other environment (though usually the opposite is the case).
You don't know why PIP's install is failing in Ubuntu (13.10), do you?
In file included from src/Exception.h:6:0,
from src/Wrapper.h:8,
from src/Wrapper.cpp:1:
/usr/include/v8.h:2437:8: error: initializing argument 3 of ‘void v8::ObjectTemplate::SetIndexedPropertyHandler(v8::IndexedPropertyGetter, v8::IndexedPropertySetter, v8::IndexedPropertyQuery, v8::IndexedPropertyDeleter, v8::IndexedPropertyEnumerator, v8::Handle<v8::Value>)’ [-fpermissive]
void SetIndexedPropertyHandler(IndexedPropertyGetter getter,
^
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Original comment by [email protected]
on 3 Mar 2014 at 4:24
from pyv8.
I get the same compilation error as myselfasunder above, just for the record.
That's with pip, which.. I'm kind of stuck with using right now.
Original comment by [email protected]
on 8 Jun 2014 at 12:30
from pyv8.
[deleted comment]
from pyv8.
I am getting same error:
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
[-Wreturn-local-addr]
reference dereference() const { return m_array->GetItem(m_idx); }
^
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2
-Wall -Wstrict-prototypes -fPIC -DBOOST_PYTHON_STATIC_LIB -Ilib/python/inc
-Ilib/boost/inc -Ilib/v8/inc -I/usr/include/python2.7 -c src/Wrapper.cpp -o
build/temp.linux-x86_64-2.7/src/Wrapper.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for
C/ObjC but not for C++ [enabled by default]
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
[-Wreturn-local-addr]
reference dereference() const { return m_array->GetItem(m_idx); }
^
src/Wrapper.cpp: In static member function ‘static v8::Handle<v8::Boolean>
CPythonObject::IndexedDeleter(uint32_t, const v8::AccessorInfo&)’:
src/Wrapper.cpp:256:25: warning: variable ‘value’ set but not used
[-Wunused-but-set-variable]
v8::Handle<v8::Value> value = IndexedGetter(index, info);
^
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::NamedPropertyQuery {aka v8::Handle<v8::Integer>
(*)(v8::Local<v8::String>, const v8::AccessorInfo&)}’ [-fpermissive]
clazz->SetNamedPropertyHandler(NamedGetter, NamedSetter, NamedQuery, NamedDeleter);
^
In file included from src/Exception.h:6:0,
from src/Wrapper.h:8,
from src/Wrapper.cpp:1:
/usr/include/v8.h:2414:8: error: initializing argument 3 of ‘void
v8::ObjectTemplate::SetNamedPropertyHandler(v8::NamedPropertyGetter,
v8::NamedPropertySetter, v8::NamedPropertyQuery, v8::NamedPropertyDeleter,
v8::NamedPropertyEnumerator, v8::Handle<v8::Value>)’ [-fpermissive]
void SetNamedPropertyHandler(NamedPropertyGetter getter,
^
src/Wrapper.cpp:312:94: error: invalid conversion from
‘v8::Handle<v8::Boolean> (*)(uint32_t, const v8::AccessorInfo&) {aka
v8::Handle<v8::Boolean> (*)(unsigned int, const v8::AccessorInfo&)}’ to
‘v8::IndexedPropertyQuery {aka v8::Handle<v8::Integer> (*)(unsigned int,
const v8::AccessorInfo&)}’ [-fpermissive]
clazz->SetIndexedPropertyHandler(IndexedGetter, IndexedSetter, IndexedQuery, IndexedDeleter);
^
In file included from src/Exception.h:6:0,
from src/Wrapper.h:8,
from src/Wrapper.cpp:1:
/usr/include/v8.h:2437:8: error: initializing argument 3 of ‘void
v8::ObjectTemplate::SetIndexedPropertyHandler(v8::IndexedPropertyGetter,
v8::IndexedPropertySetter, v8::IndexedPropertyQuery,
v8::IndexedPropertyDeleter, v8::IndexedPropertyEnumerator,
v8::Handle<v8::Value>)’ [-fpermissive]
void SetIndexedPropertyHandler(IndexedPropertyGetter getter,
^
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Cleaning up...
Removing temporary dir /tmp/pip_build_root...
Command /usr/bin/python -c "import setuptools,
tokenize;__file__='/tmp/pip_build_root/pyv8/setup.py';exec(compile(getattr(token
ize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
install --record /tmp/pip-aNn4Aj-record/install-record.txt
--single-version-externally-managed --compile failed with error code 1 in
/tmp/pip_build_root/pyv8
Exception information:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 283, in run
requirement_set.install(install_options, global_options, root=options.root_path)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1435, in install
requirement.install(install_options, global_options, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 706, in install
cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
File "/usr/lib/python2.7/dist-packages/pip/util.py", line 697, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command /usr/bin/python -c "import setuptools,
tokenize;__file__='/tmp/pip_build_root/pyv8/setup.py';exec(compile(getattr(token
ize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
install --record /tmp/pip-aNn4Aj-record/install-record.txt
--single-version-externally-managed --compile failed with error code 1 in
/tmp/pip_build_root/pyv8
Traceback (most recent call last):
File "/usr/bin/pip", line 9, in <module>
load_entry_point('pip==1.5.4', 'console_scripts', 'pip')()
File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 185, in main
return command.main(cmd_args)
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 161, in main
text = '\n'.join(complete_log)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 42:
ordinal not in range(128)
Original comment by [email protected]
on 25 Oct 2014 at 5:21
from pyv8.
Related Issues (20)
- LookupError: unknown encoding: HOT 5
- New function to modify the maximum call stack size limit HOT 4
- Can't override eval method when inheriting JSClass HOT 2
- Compilation error HOT 7
- Compilation issue on Ubuntu 13.10 - no matching function for call to ‘CAstVisitor::InitializeAstVisitor(v8::internal::Isolate*)’ HOT 2
- Symbol not found: __ZSt20__throw_length_errorPKc HOT 2
- Garbage Collector not working HOT 8
- Memory leak with evaluating pure JS HOT 3
- How to load contents of alert screen ?
- Update version on PyPI
- error: 'CLASSIC_MODE' is not a member of 'v8i' v8 API change ?
- REVISION
- AST can't visit object properties: No to_python (by-value) converter found for C++ type: v8::internal::ObjectLiteralProperty*
- src/Context.h:66:114: error: no member named 'HasOutOfMemoryException' in 'v8::Context'
- Help !!
- Precompiled for Debain x64 HOT 1
- Failed to pip install/build under linux x64 — lot of errors in src/Wrapper.cpp HOT 1
- segfault
- compile failed with error code 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyv8.