nagyistge / pyv8

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

r484, ubuntu precise, compilation error #158

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Try to build

What is the expected output? What do you see instead?

At the end of compilation log I see

g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions 
-Wl,-z,relro 
/tmp/buildd/pyv8-1.0+svn484.v8svn13574.gypsvn1564/./build/temp.linux-x86_64-2.7/
src/Utils.o 
/tmp/buildd/pyv8-1.0+svn484.v8svn13574.gypsvn1564/./build/temp.linux-x86_64-2.7/
src/Exception.o 
/tmp/buildd/pyv8-1.0+svn484.v8svn13574.gypsvn1564/./build/temp.linux-x86_64-2.7/
src/Context.o 
/tmp/buildd/pyv8-1.0+svn484.v8svn13574.gypsvn1564/./build/temp.linux-x86_64-2.7/
src/Engine.o 
/tmp/buildd/pyv8-1.0+svn484.v8svn13574.gypsvn1564/./build/temp.linux-x86_64-2.7/
src/Wrapper.o 
/tmp/buildd/pyv8-1.0+svn484.v8svn13574.gypsvn1564/./build/temp.linux-x86_64-2.7/
src/Debug.o 
/tmp/buildd/pyv8-1.0+svn484.v8svn13574.gypsvn1564/./build/temp.linux-x86_64-2.7/
src/Locker.o 
/tmp/buildd/pyv8-1.0+svn484.v8svn13574.gypsvn1564/./build/temp.linux-x86_64-2.7/
src/AST.o 
/tmp/buildd/pyv8-1.0+svn484.v8svn13574.gypsvn1564/./build/temp.linux-x86_64-2.7/
src/PrettyPrinter.o 
/tmp/buildd/pyv8-1.0+svn484.v8svn13574.gypsvn1564/./build/temp.linux-x86_64-2.7/
src/PyV8.o -L/usr/local/lib 
-L/tmp/buildd/pyv8-1.0+svn484.v8svn13574.gypsvn1564/build/v8/out/x64.release/ 
-L/tmp/buildd/pyv8-1.0+svn484.v8svn13574.gypsvn1564/build/v8/out/x64.release/obj
.target/tools/gyp/ 
-L/tmp/buildd/pyv8-1.0+svn484.v8svn13574.gypsvn1564/build/v8/build/release/lib 
-lv8_base -lv8_snapshot -lrt -lboost_python-mt -lboost_thread-mt 
-lboost_system-mt -o 
/tmp/buildd/pyv8-1.0+svn484.v8svn13574.gypsvn1564/./build/lib.linux-x86_64-2.7/_
PyV8.so -fPIC
/usr/bin/ld: cannot find -lboost_python-mt
/usr/bin/ld: cannot find -lboost_python-mt
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?

PyV8 r484. Tested in Ubuntu Precise (12.04) and Quantal (12.10)

Please provide any additional information below.

ls -la /usr/liblibboost_python*       

lrwxrwxrwx 1 root root     22 нояб. 10 13:06 /usr/lib/libboost_python.a -> 
libboost_python-py27.a
lrwxrwxrwx 1 root root     22 июня  30  2012 
/usr/lib/libboost_python-mt-py27.a -> libboost_python-py27.a
lrwxrwxrwx 1 root root     30 июня  30  2012 
/usr/lib/libboost_python-mt-py27.so -> libboost_python-py27.so.1.50.0
lrwxrwxrwx 1 root root     22 июня  30  2012 
/usr/lib/libboost_python-mt-py32.a -> libboost_python-py32.a
lrwxrwxrwx 1 root root     30 июня  30  2012 
/usr/lib/libboost_python-mt-py32.so -> libboost_python-py32.so.1.50.0
-rw-r--r-- 1 root root 662350 июня  30  2012 /usr/lib/libboost_python-py27.a
lrwxrwxrwx 1 root root     30 июня  30  2012 
/usr/lib/libboost_python-py27.so -> libboost_python-py27.so.1.50.0
-rw-r--r-- 1 root root 315584 нояб. 16 06:58 
/usr/lib/libboost_python-py27.so.1.49.0
-rw-r--r-- 1 root root 315552 июня  30  2012 
/usr/lib/libboost_python-py27.so.1.50.0
-rw-r--r-- 1 root root 656528 июня  30  2012 /usr/lib/libboost_python-py32.a
lrwxrwxrwx 1 root root     30 июня  30  2012 
/usr/lib/libboost_python-py32.so -> libboost_python-py32.so.1.50.0
-rw-r--r-- 1 root root 311456 нояб. 16 06:58 
/usr/lib/libboost_python-py32.so.1.49.0
-rw-r--r-- 1 root root 311424 июня  30  2012 
/usr/lib/libboost_python-py32.so.1.50.0
lrwxrwxrwx 1 root root     23 нояб. 10 13:06 /usr/lib/libboost_python.so -> 
libboost_python-py27.so

It seems there is no libboost_python-mt.so . Is this Ubuntu specific or pyv8 
should to link with libboost_python-py27.so ?

Original issue reported on code.google.com by e.generalov on 4 Feb 2013 at 5:15

GoogleCodeExporter commented 8 years ago
Sorry, rollback the changes, only enable Boost MT on OSX by default

Original comment by flier...@gmail.com on 4 Feb 2013 at 1:18