Hello, I am currently installing Pyv8 and other requirements for me to run a 
honeypot. I downloaded pyv8 from source and using v8 (version 5.5) - built it 
with depot_tools. I already exported the V8_HOME path. But I still have this 
error whenever I run 'python setup.py build' of pyv8. Also, I am using Python 
2.7. Here is the output I get:

running build
running build_py
running build_ext
building '_PyV8' extension
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-    
prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g 
-fstack-protector-strong -Wformat -Werror=format-security -fPIC 
-DBOOST_PYTHON_STATIC_LIB -DV8_NATIVE_REGEXP -DENABLE_DISASSEMBLER 
-DENABLE_LOGGING_AND_PROFILING -DENABLE_DEBUGGER_SUPPORT -DV8_TARGET_ARCH_X64 
-I/home/patricia/Thesis/v8/include -I/home/patricia/Thesis/v8 
-I/home/patricia/Thesis/v8/src -I/usr/include/python2.7 -c src/Exception.cpp -o 
build/temp.linux-x86_64-2.7/src/Exception.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC 
but not for C++
In file included from /usr/include/c++/5/unordered_set:35:0,
             from /home/patricia/Thesis/v8/src/heap/spaces.h:10,
             from /home/patricia/Thesis/v8/src/heap/mark-compact.h:12,
             from /home/patricia/Thesis/v8/src/heap/incremental-marking.h:12,
             from /home/patricia/Thesis/v8/src/heap/incremental-marking-inl.h:8,
             from /home/patricia/Thesis/v8/src/heap/heap-inl.h:13,
             from /home/patricia/Thesis/v8/src/objects-inl.h:24,
             from /home/patricia/Thesis/v8/src/arguments.h:9,
             from /home/patricia/Thesis/v8/src/debug/debug.h:9,
             from /usr/include/c++/5/bits/stl_iterator_base_funcs.h:65,
             from /usr/include/c++/5/bits/stl_algobase.h:66,
             from /usr/include/c++/5/bits/char_traits.h:39,
             from /usr/include/c++/5/string:40,
             from /usr/include/c++/5/stdexcept:39,
             from src/Exception.h:4,
             from src/Exception.cpp:1:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires 
compiler and library support for the ISO C++ 2011 standard. This support must 
be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support \
 ^
src/Exception.cpp:18:25: fatal error: src/natives.h: No such file or directory
#include "src/natives.h"
                     ^

compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1


Well, before that, it repeatedly asks for exporting V8 to V8_HOME and building 
it. I do it repeatedly just to move on from it, and now, I get this. Also, I 
already searched in Ubuntu Packages Content Search (http://tiny.cc/snyrey) 
about /usr/include/c++/5/bits/stl_iterator_base_funcs.h, .../stl_algobase.h, 
.../char_traits.h, etc. That all led me to installing libstdc++-5-dev via 
apt-get install libstdc++-5-dev

But still. I am getting the error. Any help will be appreciated. :)
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to