ironm73 / pyv8

Automatically exported from code.google.com/p/pyv8
0 stars 0 forks source link

compilation problems on Mac OSX #62

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. compiling on Mac OSX 10.6.5
2. running 'python setup.py install'

What is the expected output? What do you see instead?
I expected it to build but keep getting errors

What version of the product are you using? On what operating system?
download PyV8 0.9 
OSX 10.6.5

Please provide any additional information below.
I followed the instructions from: 
http://code.google.com/p/pyv8/issues/detail?id=57
for installing on mac osX but keep getting compilation errors such as

<code>
In file included from src/Engine.cpp:42:
src/AST.h: In member function ‘boost::python::api::object 
CAstScope::GetReceiver() const’:
src/AST.h:741: error: no matching function for call to 
‘to_python(CAstVariableProxy)’
src/AST.h:23: note: candidates are: boost::python::api::object to_python(T&) 
[with T = CAstVariableProxy]
src/AST.h:717: note:                 boost::python::list 
to_python(v8::internal::ZoneList<v8::internal::BreakTarget*>*)
src/AST.h:729: note:                 boost::python::list 
to_python(v8::internal::ZoneList<v8::internal::ObjectLiteral::Property*>*)
src/AST.h:37: note:                 boost::python::api::object 
to_python(v8::internal::Handle<v8::internal::String>)
src/AST.h: In member function ‘boost::python::api::object 
CAstScope::GetFunction() const’:
src/AST.h:742: error: no matching function for call to 
‘to_python(CAstVariable)’
src/AST.h:23: note: candidates are: boost::python::api::object to_python(T&) 
[with T = CAstVariable]
src/AST.h:717: note:                 boost::python::list 
to_python(v8::internal::ZoneList<v8::internal::BreakTarget*>*)
src/AST.h:729: note:                 boost::python::list 
to_python(v8::internal::ZoneList<v8::internal::ObjectLiteral::Property*>*)
src/AST.h:37: note:                 boost::python::api::object 
to_python(v8::internal::Handle<v8::internal::String>)
src/AST.h: In member function ‘boost::python::api::object 
CAstScope::GetArguments() const’:
src/AST.h:744: error: no matching function for call to 
‘to_python(CAstVariable)’
src/AST.h:23: note: candidates are: boost::python::api::object to_python(T&) 
[with T = CAstVariable]
src/AST.h:717: note:                 boost::python::list 
to_python(v8::internal::ZoneList<v8::internal::BreakTarget*>*)
src/AST.h:729: note:                 boost::python::list 
to_python(v8::internal::ZoneList<v8::internal::ObjectLiteral::Property*>*)
src/AST.h:37: note:                 boost::python::api::object 
to_python(v8::internal::Handle<v8::internal::String>)
src/AST.h: In member function ‘boost::python::api::object 
CAstDeclaration::GetFunction() const’:
src/AST.h:750: error: no matching function for call to 
‘to_python(CAstFunctionLiteral)’
src/AST.h:23: note: candidates are: boost::python::api::object to_python(T&) 
[with T = CAstFunctionLiteral]
src/AST.h:717: note:                 boost::python::list 
to_python(v8::internal::ZoneList<v8::internal::BreakTarget*>*)
src/AST.h:729: note:                 boost::python::list 
to_python(v8::internal::ZoneList<v8::internal::ObjectLiteral::Property*>*)
src/AST.h:37: note:                 boost::python::api::object 
to_python(v8::internal::Handle<v8::internal::String>)
error: command 'gcc-4.2' failed with exit status 1
</code>

Original issue reported on code.google.com by mrdreibe...@gmail.com on 13 Dec 2010 at 6:39

GoogleCodeExporter commented 8 years ago
reverted to different revision and installed. I guess its not really an issue

Original comment by mrdreibe...@gmail.com on 13 Dec 2010 at 7:22

GoogleCodeExporter commented 8 years ago
ok, please reopen it if you find some issues.

v8 engine changed its public/interanl API after 3.0, so, if you want to use the 
latest v8 code, please use the SVN trunk code of pyv8 :)

Original comment by flier...@gmail.com on 15 Dec 2010 at 5:25