vsajip / pyv8

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

Compilation error #133

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

While compiling PyV8 I got this error

src/Engine.cpp: In member function ‘void 
CScript::visit(boost::python::api::object, CScript::LanguageMode) const’:
src/Engine.cpp:529:39: error: ‘class v8::internal::Isolate’ has no member 
named ‘global_context’
error: command 'x86_64-pc-linux-gnu-g++' failed with exit status 1

Additional information

buffer@alnitak ~/pyv8 $ svn info
Path: .
URL: http://pyv8.googlecode.com/svn/trunk
Repository Root: http://pyv8.googlecode.com/svn
Repository UUID: 3b770cb8-f9e6-11dd-ac5b-dfceb64ead24
Revision: 445
Node Kind: directory
Schedule: normal
Last Changed Author: flier.lu@gmail.com
Last Changed Rev: 443
Last Changed Date: 2012-06-21 15:38:06 +0200 (Thu, 21 Jun 2012)

buffer@alnitak ~/v8 $ svn info
Path: .
URL: http://v8.googlecode.com/svn/trunk
Repository Root: http://v8.googlecode.com/svn
Repository UUID: ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Revision: 12368
Node Kind: directory
Schedule: normal
Last Changed Author: yangguo@chromium.org
Last Changed Rev: 12356
Last Changed Date: 2012-08-21 13:19:20 +0200 (Tue, 21 Aug 2012)

Original issue reported on code.google.com by angelo.d...@gmail.com on 22 Aug 2012 at 6:15

GoogleCodeExporter commented 8 years ago
sorry, but I can't reproduce your issue with v8 r12369 and pyv8 r445

flier@~/Workspace/pyv8$ svn info
路径: .
工作副本根目录: /Users/flier/Workspace/pyv8
URL: https://pyv8.googlecode.com/svn/trunk
版本库根: https://pyv8.googlecode.com/svn
版本库 UUID: 3b770cb8-f9e6-11dd-ac5b-dfceb64ead24
版本: 445
节点种类: 目录
调度: 正常
最后修改的作者: flier.lu@gmail.com
最后修改的版本: 443
最后修改的时间: 2012-06-21 21:38:06 +0800 (四, 2012-06-21)

flier@~/Workspace/pyv8$ cd ../v8
flier@~/Workspace/v8$ svn info
路径: .
工作副本根目录: /Users/flier/Workspace/v8
URL: http://v8.googlecode.com/svn/trunk
版本库根: http://v8.googlecode.com/svn
版本库 UUID: ce2b1a6d-e550-0410-aec6-3dcde31c8c00
版本: 12369
节点种类: 目录
调度: 正常
最后修改的作者: yangguo@chromium.org
最后修改的版本: 12356
最后修改的时间: 2012-08-21 19:19:20 +0800 (二, 2012-08-21)

Original comment by flier...@gmail.com on 23 Aug 2012 at 3:41

GoogleCodeExporter commented 8 years ago
I'm having this issue too:

charlie@ubuntu: ~/pyv8$ svn info
Path: .
URL: http://pyv8.googlecode.com/svn/trunk
Repository Root: http://pyv8.googlecode.com/svn
Repository UUID: 3b770cb8-f9e6-11dd-ac5b-dfceb64ead24
Revision: 445
Node Kind: directory
Schedule: normal
Last Changed Author: flier.lu@gmail.com
Last Changed Rev: 443
Last Changed Date: 2012-06-21 06:38:06 -0700 (Thu, 21 Jun 2012)

charlie@ubuntu:~/thug/v8$ svn info
Path: .
URL: http://v8.googlecode.com/svn/trunk
Repository Root: http://v8.googlecode.com/svn
Repository UUID: ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Revision: 12373
Node Kind: directory
Schedule: normal
Last Changed Author: yangguo@chromium.org
Last Changed Rev: 12356
Last Changed Date: 2012-08-21 04:19:20 -0700 (Tue, 21 Aug 2012)

Original comment by charlie....@gmail.com on 23 Aug 2012 at 4:25

GoogleCodeExporter commented 8 years ago
Me too and sorry for the duplicate: 
http://code.google.com/p/pyv8/issues/detail?id=134

Original comment by glas...@gmail.com on 23 Aug 2012 at 4:50

GoogleCodeExporter commented 8 years ago
Could be related to boost?

Original comment by glas...@gmail.com on 23 Aug 2012 at 4:51

GoogleCodeExporter commented 8 years ago
I'm not sure, just check it later, sorry for the trouble

Original comment by flier...@gmail.com on 24 Aug 2012 at 1:20

GoogleCodeExporter commented 8 years ago
Issue 134 has been merged into this issue.

Original comment by flier...@gmail.com on 24 Aug 2012 at 1:25

GoogleCodeExporter commented 8 years ago
The changes causing the issues were reverted in r12377 of v8. pyv8 compiles 
without error now.

http://code.google.com/p/v8/source/detail?r=12377

Original comment by ekse...@gmail.com on 24 Aug 2012 at 7:39

GoogleCodeExporter commented 8 years ago
I confirm the issue is solved by V8 r12377. Thanks for the hint!

Original comment by angelo.d...@gmail.com on 25 Aug 2012 at 6:53

GoogleCodeExporter commented 8 years ago
After upgrading V8, the issue raised again.

buffer@alnitak ~/v8 $ svn info
Path: .
URL: http://v8.googlecode.com/svn/trunk
Repository Root: http://v8.googlecode.com/svn
Repository UUID: ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Revision: 12403
Node Kind: directory
Schedule: normal
Last Changed Author: yangguo@chromium.org
Last Changed Rev: 12394
Last Changed Date: 2012-08-28 11:06:19 +0200 (Tue, 28 Aug 2012)

Original comment by angelo.d...@gmail.com on 29 Aug 2012 at 9:44

GoogleCodeExporter commented 8 years ago
I'm experiencing the same issue on ubuntu precise with v8 revision 12433.

$ svn info
Path: .
URL: http://pyv8.googlecode.com/svn/trunk
Repository Root: http://pyv8.googlecode.com/svn
Repository UUID: 3b770cb8-f9e6-11dd-ac5b-dfceb64ead24
Revision: 445
Node Kind: directory
Schedule: normal
Last Changed Author: flier.lu@gmail.com
Last Changed Rev: 443
Last Changed Date: 2012-06-21 09:38:06 -0400 (Thu, 21 Jun 2012)

Original comment by fui...@gmail.com on 3 Sep 2012 at 4:16

GoogleCodeExporter commented 8 years ago
Please try to update to v8 r12466 and pyv8 r446, I could build it on Win7 and 
Debian 6

Original comment by flier...@gmail.com on 7 Sep 2012 at 2:57

GoogleCodeExporter commented 8 years ago
I confirm the issue is fixed. Built properly on Gentoo too.

Original comment by angelo.d...@gmail.com on 7 Sep 2012 at 3:37

GoogleCodeExporter commented 8 years ago

Original comment by flier...@gmail.com on 8 Sep 2012 at 2:23