【解決に至った回答には200pt】phpからjavascriptを実行するためv8をインストールしようとしています。
参考サイトhttp://d.hatena.ne.jp/yoya/20120716/v8を参考に次のようにコマンドを実行しました。
# svn co http://v8.googlecode.com/svn/branches/bleeding_edge v8
# cd v8
# svn co http://gyp.googlecode.com/svn/trunk build/gyp
# make x64
上記のコマンドを実行すると次のようなエラーとなります。
cc1plus: warnings being treated as errors
../src/splay-tree-inl.h: In member function 'virtual void v8::internal::AstTyper::VisitVariableProxy(v8::internal::VariableProxy*)':
../src/splay-tree-inl.h:213: error: 'dummy_node' may be used uninitialized in this function
../src/splay-tree-inl.h:213: note: 'dummy_node' was declared here
make[1]: *** [/root/v8/out/x64.release/obj.target/v8_base.x64/src/typing.o] Error 1
make[1]: Leaving directory `/root/v8/out'
make: *** [x64.release] Error 2
※make ia32にしてもエラーになります。
■環境
CentOS release 6.3 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
v8
https://code.google.com/p/v8/
解決方法をご教示頂けますと幸いです。
宜しくお願いいたします。