imouren / pyv8

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

Error during installation #164

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
cd /opt
svn checkout http://pyv8.googlecode.com/svn/trunk/ pyv8
export V8_HOME=/opt/thug/v8
cd pyv8
python setup.py build

What is the expected output? What do you see instead?
g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro 
build/temp.linux-x86_64-2.7/src/Utils.o 
build/temp.linux-x86_64-2.7/src/Exception.o 
build/temp.linux-x86_64-2.7/src/Context.o 
build/temp.linux-x86_64-2.7/src/Engine.o 
build/temp.linux-x86_64-2.7/src/Wrapper.o 
build/temp.linux-x86_64-2.7/src/Debug.o 
build/temp.linux-x86_64-2.7/src/Locker.o build/temp.linux-x86_64-2.7/src/AST.o 
build/temp.linux-x86_64-2.7/src/PrettyPrinter.o 
build/temp.linux-x86_64-2.7/src/PyV8.o -L/usr/local/lib 
-L/tmp/pyv8/build/v8/out/x64.release/ 
-L/tmp/pyv8/build/v8/out/x64.release/obj.target/tools/gyp/ 
-L/tmp/pyv8/build/v8/build/release/lib -lv8_base -lv8_snapshot -lrt 
-lboost_python -lboost_thread -lboost_system -o 
build/lib.linux-x86_64-2.7/_PyV8.so -fPIC
/usr/bin/ld: cannot find -lboost_thread
/usr/bin/ld: cannot find -lboost_system
collect2: error: ld returned 1 exit status
error: command 'g++' failed with exit status 1

What version of the product are you using? On what operating system?
Using Ubuntu 12.04

Please provide any additional information below.
I'm using script from here, 
http://secondali.blogspot.com/2012/10/install-thug-client-honeypot-on-ubuntu.htm
l

Original issue reported on code.google.com by m.khairu...@gmail.com on 13 Feb 2013 at 7:12

GoogleCodeExporter commented 9 years ago
Hi everybody,

I've solved this problems. After careful inspection, I found that I didn't 
install the libboost-thread-dev and libboost-system-dev package.

So I just run the command apt-get install libboost-thread-dev 
libboost-system-dev and re-run the setup.py again.

Solved! Hope it helps. :)

Original comment by m.khairu...@gmail.com on 13 Feb 2013 at 8:49

GoogleCodeExporter commented 9 years ago
Great, have fun :)

Original comment by flier...@gmail.com on 14 Feb 2013 at 10:36