gurobokum / pyv8

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

Build failed on 32-bit system #172

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. virtualenv --no-site-packages venv
2. source venv/bin/activate
3. pip install PyV8

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

Message about successful install

        g++ -pthread -shared -Wl,-rpath=/home/u29477/domino.placetest.ru/venv/lib 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/u29477/domino.placetest.ru/venv/build/PyV8/build/v8/out/ia32.release/obj.target/tools/gyp/ -L/home/u29477/domino.placetest.ru/venv/lib -lrt -lboost_python -lboost_thread -lboost_system -lv8_base -lv8_snapshot -lpython2.7 -o build/lib.linux-i686-2.7/_PyV8.so

        /usr/bin/ld: cannot find -lv8_base

        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?

Linux u29477 2.6.32-5-686 #1 SMP Tue Mar 8 21:36:00 UTC 2011 i686 GNU/Linux
Debian GNU/Linux 6.0

Please provide any additional information below.

Original issue reported on code.google.com by Piphon on 25 Apr 2013 at 11:22

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed an issue when link v8_base on i386 system

On the other hand, it seems your GCC crashed, please remove the build/v8/out 
folder and try again

INFO: build v8 from SVN ...

DEBUG: > make -j 8 verifyheap=off backtrace=on component=shared_library 
visibility=on gdbjit=off strictaliasing=on liveobjectlist=off regexp=native 
disassembler=off objectprint=off debuggersupport=on vtunejit=off 
extrachecks=off snapshot=on werror=no ia32.release

ERROR: build v8 from SVN failed: code=2

DEBUG: g++: Internal error: Убито (program cc1plus)

Please submit a full bug report.

See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions.

make[1]: *** 
[/home/u29477/domino.placetest.ru/venv/build/PyV8/build/v8/out/ia32.release/obj.
target/v8_base.ia32/src/runtime.o] Ошибка 1

make[1]: *** Ожидание завершения заданий...

make: *** [ia32.release] Ошибка 2

Original comment by flier...@gmail.com on 25 Apr 2013 at 2:23

GoogleCodeExporter commented 9 years ago
Not worked :(. 

Version of G++(GCC) - 4.4, upgrate in squeeze not allowed. Let's think 
further...

Original comment by Piphon on 26 Apr 2013 at 4:32

GoogleCodeExporter commented 9 years ago
It seems ok to install Pyv8 on an ubuntu12, please try a clean install

flier@ubuntu12x86$ sudo pip -v install pyv8 
Downloading/unpacking pyv8
  Using version 1.0-dev (newest of versions: 1.0-dev, 0.5)
...
Successfully installed pyv8
Cleaning up...
flier@ubuntu12x86:~$ uname -a
Linux ubuntu12x86 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:15:33 
UTC 2013 i686 i686 i386 GNU/Linux
flier@ubuntu12x86:~$ gcc -v
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) 

Original comment by flier...@gmail.com on 27 Apr 2013 at 6:41