Closed laukaichung closed 8 years ago
Sorry for not answering earlier ...
Does /tmp/v8-install/include/libplatform/libplatform.h
exist?
What does the whole tmp/v8-install
tree look like? Should be something like this (with different prefix of course):
stesie@hahnschaaf:~/Projekte/v8js-php7$ find /opt/v8/5.4.3-snap/
/opt/v8/5.4.3-snap/
/opt/v8/5.4.3-snap/lib
/opt/v8/5.4.3-snap/lib/libv8.so
/opt/v8/5.4.3-snap/lib/libicui18n.so
/opt/v8/5.4.3-snap/lib/libv8_libplatform.a
/opt/v8/5.4.3-snap/lib/libicuuc.so
/opt/v8/5.4.3-snap/include
/opt/v8/5.4.3-snap/include/v8-version.h
/opt/v8/5.4.3-snap/include/v8-testing.h
/opt/v8/5.4.3-snap/include/OWNERS
/opt/v8/5.4.3-snap/include/v8config.h
/opt/v8/5.4.3-snap/include/libplatform
/opt/v8/5.4.3-snap/include/libplatform/libplatform.h
/opt/v8/5.4.3-snap/include/v8-debug.h
/opt/v8/5.4.3-snap/include/v8-profiler.h
/opt/v8/5.4.3-snap/include/v8-platform.h
/opt/v8/5.4.3-snap/include/v8.h
/opt/v8/5.4.3-snap/include/v8-experimental.h
/opt/v8/5.4.3-snap/include/v8-util.h
/opt/v8/5.4.3-snap/share
/opt/v8/5.4.3-snap/share/v8
/opt/v8/5.4.3-snap/share/v8/snapshot_blob.bin
/opt/v8/5.4.3-snap/share/v8/natives_blob.bin
... maybe also check the output of configure
for which V8 version it finds (and where), should look something like this:
checking for V8 version... 5.4.374
checking for libv8_libplatform.a... found in /opt/v8/5.4.374-snap//lib
checking whether V8 requires startup data... yes
checking for natives_blob.bin... found (/opt/v8/5.4.374-snap//share/v8/natives_blob.bin)
checking for snapshot_blob.bin... found (/opt/v8/5.4.374-snap//share/v8/snapshot_blob.bin)
... as your g++
call doesn't include some -I/tmp/v8-install/include
I'd suppose it didn't pick up the one from /tmp
but a different installation in /usr
Hi, I have been following these steps to compile v8js in CentOs 7. In fact, I'm also getting the same error in arch linux. Would you please help me figure out what is wrong with the compilation?
I'm getting errors during this step
Here is the errors:
My php package:
gcc version: