mehdigriche / pyv8

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

error while installing pyv8 in ubuntu 1104 #169

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
cd pyv8
python setup.py install

What is the expected output? What do you see instead?
install pyv8 successfully
output:
/usr/bin/ld: cannot find -lv8_base
/usr/bin/ld: cannot find -lv8_snapshot
collect2: 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?
ubuntu 11.04, python 2.7

Please provide any additional information below.
In file included from src/PyV8.cpp:6:0:
src/Locker.h: In member function ‘void CUnlocker::enter()’:
src/Locker.h:42:39: warning: ‘v8::Unlocker::Unlocker()’ is deprecated 
(declared at /home/sabella/v8/include/v8.h:4104)
g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions 
build/temp.linux-i686-2.7/src/Utils.o build/temp.linux-i686-2.7/src/Exception.o 
build/temp.linux-i686-2.7/src/Context.o build/temp.linux-i686-2.7/src/Engine.o 
build/temp.linux-i686-2.7/src/Wrapper.o build/temp.linux-i686-2.7/src/Debug.o 
build/temp.linux-i686-2.7/src/Locker.o build/temp.linux-i686-2.7/src/AST.o 
build/temp.linux-i686-2.7/src/PrettyPrinter.o 
build/temp.linux-i686-2.7/src/PyV8.o -L/usr/local/lib 
-L/home/sabella/v8/out/ia32.release/ 
-L/home/sabella/v8/out/ia32.release/obj.target/tools/gyp/ 
-L/home/sabella/v8/build/release/lib -lv8_base -lv8_snapshot -lrt 
-lboost_python -lboost_thread -lboost_system -o 
build/lib.linux-i686-2.7/_PyV8.so
/usr/bin/ld: cannot find -lv8_base
/usr/bin/ld: cannot find -lv8_snapshot
collect2: ld returned 1 exit status
error: command 'g++' failed with exit status 1

Original issue reported on code.google.com by little.cherub13 on 6 Apr 2013 at 3:20

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by flier...@gmail.com on 6 Apr 2013 at 4:52

GoogleCodeExporter commented 8 years ago
Try 
apt-get install build-essential

Works for me.

Original comment by l0k...@gmail.com on 15 Apr 2013 at 1:15

GoogleCodeExporter commented 8 years ago
Both pyv8 and v8 need g++

Original comment by flier...@gmail.com on 15 Apr 2013 at 2:00