How can I build pyv8 from source on FreeBSD against the v8 port?
- by Utkonos
I am unable to build pyv8 from source on FreeBSD. I have installed the /usr/ports/lang/v8 port, and I'm running into the following error. It seems that pyv8 wants to build v8 itself even though v8 is already built and installed. How can I point pyv8 to the already installed location of v8?
# python setup.py build
Found Google v8 base on V8_HOME , update it to the latest SVN trunk at
running build
====================
INFO: Installing or updating GYP...
--------------------
INFO: Check out GYP from SVN ...
DEBUG: make dependencies
ERROR: Check out GYP from SVN failed: code=2
DEBUG: "Makefile", line 43: Missing dependency operator
"Makefile", line 45: Need an operator
"Makefile", line 46: Need an operator
"Makefile", line 48: Need an operator
"Makefile", line 50: Need an operator
"Makefile", line 52: Need an operator
"Makefile", line 54: Missing dependency operator
"Makefile", line 56: Need an operator
"Makefile", line 58: Missing dependency operator
"Makefile", line 60: Need an operator
"Makefile", line 62: Missing dependency operator
"Makefile", line 64: Need an operator
"Makefile", line 66: Missing dependency operator
"Makefile", line 68: Need an operator
"Makefile", line 70: Missing dependency operator
"Makefile", line 72: Need an operator
"Makefile", line 73: Missing dependency operator
"Makefile", line 75: Need an operator
"Makefile", line 77: Missing dependency operator
"Makefile", line 79: Need an operator
"Makefile", line 81: Missing dependency operator
"Makefile", line 83: Need an operator
"Makefile", line 85: Missing dependency operator
"Makefile", line 87: Need an operator
"Makefile", line 89: Need an operator
"Makefile", line 91: Missing dependency operator
"Makefile", line 93: Need an operator
"Makefile", line 95: Need an operator
"Makefile", line 97: Need an operator
"Makefile", line 99: Missing dependency operator
"Makefile", line 101: Need an operator
"Makefile", line 103: Missing dependency operator
"Makefile", line 105: Need an operator
"Makefile", line 107: Missing dependency operator
"Makefile", line 109: Need an operator
"Makefile", line 111: Missing dependency operator
"Makefile", line 113: Need an operator
"Makefile", line 115: Missing dependency operator
"Makefile", line 117: Need an operator
Error expanding embedded variable.
====================
INFO: Patching the GYP scripts
INFO: patch the Google v8 build/standalone.gypi file to enable RTTI and C++ Exceptions
====================
INFO: building Google v8 with GYP for x64 platform with release mode
--------------------
INFO: build v8 from SVN ...
DEBUG: make verifyheap=off component=shared_library visibility=on gdbjit=off liveobjectlist=off regexp=native disassembler=off objectprint=off debuggersupport=on extrachecks=off snapshot=on werror=on x64.release
ERROR: build v8 from SVN failed: code=2
DEBUG: "Makefile", line 43: Missing dependency operator
"Makefile", line 45: Need an operator
"Makefile", line 46: Need an operator
"Makefile", line 48: Need an operator
"Makefile", line 50: Need an operator
"Makefile", line 52: Need an operator
"Makefile", line 54: Missing dependency operator
"Makefile", line 56: Need an operator
"Makefile", line 58: Missing dependency operator
"Makefile", line 60: Need an operator
"Makefile", line 62: Missing dependency operator
"Makefile", line 64: Need an operator
"Makefile", line 66: Missing dependency operator
"Makefile", line 68: Need an operator
"Makefile", line 70: Missing dependency operator
"Makefile", line 72: Need an operator
"Makefile", line 73: Missing dependency operator
"Makefile", line 75: Need an operator
"Makefile", line 77: Missing dependency operator
"Makefile", line 79: Need an operator
"Makefile", line 81: Missing dependency operator
"Makefile", line 83: Need an operator
"Makefile", line 85: Missing dependency operator
"Makefile", line 87: Need an operator
"Makefile", line 89: Need an operator
"Makefile", line 91: Missing dependency operator
"Makefile", line 93: Need an operator
"Makefile", line 95: Need an operator
"Makefile", line 97: Need an operator
"Makefile", line 99: Missing dependency operator
"Makefile", line 101: Need an operator
"Makefile", line 103: Missing dependency operator
"Makefile", line 105: Need an operator
"Makefile", line 107: Missing dependency operator
"Makefile", line 109: Need an operator
"Makefile", line 111: Missing dependency operator
"Makefile", line 113: Need an operator
"Makefile", line 115: Missing dependency operator
"Makefile", line 117: Need an operator
Error expanding embedded variable.
The files that are installed by the v8 port are the following (in /usr/local):
bin/d8
include/v8.h
include/v8-debug.h
include/v8-preparser.h
include/v8-profiler.h
include/v8-testing.h
include/v8stdint.h
lib/libv8.so
lib/libv8.so.1