Closed astlin closed 7 years ago
There seems to be an issue with the Ubuntu 17.04 toolchain. As a workaround, try disabling V8 snapshots by passing V8_NOSNAPSHOT=1
to make:
make -s -j8 DEFAULT_TARGET=shared_release V8_NOSNAPSHOT=1
Thank you, that worked. I also tried to build feature-v8-5.2 branch for something less outdated:
make -s -j8 DEFAULT_TARGET=shared_release V8_NOSNAPSHOT=1
with no success, seems there are no rules to build v8 platform because I got:
** Compiling src/ClientHelperGenerator.cpp (release, shared)
Makefile:440: recipe for target 'out/Makefile.x64.release' failed
make[3]: *** [out/Makefile.x64.release] Error 1
** Compiling src/ProxyGenerator.cpp (release, shared)
** Compiling src/Bundle.cpp (release, shared)
** Building shared library (release) /home/astlin/soft/Poco/macchina.io-feature-v8-5.2/platform/lib/Linux/x86_64/libPocoJSCore.so.1
/usr/bin/ld: cannot find -lv8
/usr/bin/ld: cannot find -lv8_libplatform
/usr/bin/ld: cannot find -lv8_libbase
collect2: error: ld returned 1 exit status
/home/astlin/soft/Poco/macchina.io-feature-v8-5.2/platform/build/rules/lib:81: recipe for target '/home/astlin/soft/Poco/macchina.io-feature-v8-5.2/platform/lib/Linux/x86_64/libPocoJSCore.so.1' failed
make[2]: *** [/home/astlin/soft/Poco/macchina.io-feature-v8-5.2/platform/lib/Linux/x86_64/libPocoJSCore.so.1] Error 1
Makefile:277: recipe for target 'JS/Core-libexec' failed
make[1]: *** [JS/Core-libexec] Error 2
Yes, Google has complete changed the V8 build process. We plan to use the node.js build system to build libv8.
I'm trying to build macchina from current master:
And something goes wrong:
My system: