-
Notifications
You must be signed in to change notification settings - Fork 202
error: could not find libv8_libplatform library #313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
What's in |
Same problem. Debian 8 x64, PHP 7.0.
Compiling myself from sources with fresh v8 in /opt/v8 ends the same. Looks like script is looking for libv8_libplatform library in wrong place. Or so I understood from looking script code. Config logs for both cases distro and custom V8: config.logs.zip |
well, i was trying to install v8js on a Kali virtual machine, couldn't find a solution, so i did a 'dist-upgrade' and i ended up messing the whole machine.
now i got this:appstreamcli: symbol lookup error: /usr/lib/x86_64-linux-gnu/libxml2.so.2: undefined symbol: ucnv_close_57
reinstalling libxml doesn't seem to work... so i'm kinda stuck
On Saturday, May 27, 2017 1:31 PM, semoriil <notifications@github.com> wrote:
Same problem. Debian 8 x64, PHP 7.0.sudo pecl install v8js
[sudo] password for tester:
downloading v8js-1.4.0.tgz ...
Starting to download v8js-1.4.0.tgz (98,516 bytes)
......................done: 98,516 bytes
28 source files, building
running: phpize
Configuring for:
PHP Api Version: 20151012
Zend Module Api No: 20151012
Zend Extension Api No: 320151012
Please provide the installation prefix of libv8 [autodetect] :
building in /tmp/pear/temp/pear-build-rootEB4d1D/v8js-1.4.0
running: /tmp/pear/temp/v8js/configure --with-php-config=/usr/bin/php-config --with-v8js
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php/20151012 -I/usr/include/php/20151012/main -I/usr/include/php/20151012/TSRM -I/usr/include/php/20151012/Zend -I/usr/include/php/20151012/ext -I/usr/include/php/20151012/ext/date/lib
checking for PHP extension directory... /usr/lib/php/20151012
checking for PHP installed headers prefix... /usr/include/php/20151012
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 0.13.5 (ok)
checking for gawk... gawk
checking for V8 Javascript Engine... yes, shared
checking for V8 files in default path... found in /usr
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for C standard version... c++11
checking how to allow c++11 narrowing...
checking for libv8_libplatform... configure: error: could not find libv8_libplatform library
ERROR: `/tmp/pear/temp/v8js/configure --with-php-config=/usr/bin/php-config --with-v8js' failed
Compiling myself from sources with fresh v8 in /opt/v8 ends the same. Looks like script is looking for libv8_libplatform library in wrong place. Or so I understood from looking script code.Config logs for both cases distro and custom V8: config.logs.zip—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Ok, i'm officially going crazy... been at it for 3 days now.
contents of config.log.
Gentoo v8js # cat config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --with-v8js=/opt/v8
## --------- ##
## Platform. ##
## --------- ##
hostname = Gentoo
uname -m = x86_64
uname -r = 4.9.16-gentoo
uname -s = Linux
uname -v = #1 SMP Sat May 27 05:21:17 EEST 2017
/usr/bin/uname -p = Intel(R) Core(TM) i7-5930K CPU @ 3.50GHz
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /tmp/v8/out.gn/x64.release
PATH: /opt/v8/
PATH: /tmp/depot_tools
PATH: /tmp/depot_tools
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /opt/bin
PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0
PATH: /tmp/depot_tools
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2468: checking for grep that handles long lines and -e
configure:2526: result: /bin/grep
configure:2531: checking for egrep
configure:2593: result: /bin/grep -E
configure:2598: checking for a sed that does not truncate output
configure:2652: result: /bin/sed
configure:2789: checking for cc
configure:2805: found /usr/bin/cc
configure:2816: result: cc
configure:2847: checking for C compiler version
configure:2856: cc --version >&5
gcc (Gentoo 5.4.0-r3 p1.3, pie-0.6.5) 5.4.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2867: $? = 0
configure:2856: cc -v >&5
Using built-in specs.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/5.4.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-5.4.0-r3/work/gcc-5.4.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 5.4.0-r3 p1.3, pie-0.6.5' --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-altivec --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --disable-libmpx --enable-vtable-verify --enable-libvtv --enable-lto --without-isl --enable-libsanitizer
Thread model: posix
gcc version 5.4.0 (Gentoo 5.4.0-r3 p1.3, pie-0.6.5)
configure:2867: $? = 0
configure:2856: cc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:2867: $? = 1
configure:2856: cc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:2867: $? = 1
configure:2887: checking whether the C compiler works
configure:2909: cc conftest.c >&5
configure:2913: $? = 0
configure:2961: result: yes
configure:2964: checking for C compiler default output file name
configure:2966: result: a.out
configure:2972: checking for suffix of executables
configure:2979: cc -o conftest conftest.c >&5
configure:2983: $? = 0
configure:3005: result:
configure:3027: checking whether we are cross compiling
configure:3035: cc -o conftest conftest.c >&5
configure:3039: $? = 0
configure:3046: ./conftest
configure:3050: $? = 0
configure:3065: result: no
configure:3070: checking for suffix of object files
configure:3092: cc -c conftest.c >&5
configure:3096: $? = 0
configure:3117: result: o
configure:3121: checking whether we are using the GNU C compiler
configure:3140: cc -c conftest.c >&5
configure:3140: $? = 0
configure:3149: result: yes
configure:3158: checking whether cc accepts -g
configure:3178: cc -c -g conftest.c >&5
configure:3178: $? = 0
configure:3219: result: yes
configure:3236: checking for cc option to accept ISO C89
configure:3299: cc -c -g -O2 conftest.c >&5
configure:3299: $? = 0
configure:3312: result: none needed
configure:3338: checking how to run the C preprocessor
configure:3369: cc -E conftest.c
configure:3369: $? = 0
configure:3383: cc -E conftest.c
conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:3383: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3408: result: cc -E
configure:3428: cc -E conftest.c
configure:3428: $? = 0
configure:3442: cc -E conftest.c
conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:3442: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3473: checking for icc
configure:3482: result: no
configure:3496: checking for suncc
configure:3505: result: no
configure:3523: checking whether cc understands -c and -o together
configure:3551: cc -c conftest.c -o conftest2.o >&5
configure:3555: $? = 0
configure:3561: cc -c conftest.c -o conftest2.o >&5
configure:3565: $? = 0
configure:3620: result: yes
configure:3634: checking for system library directory
configure:3649: result: lib
configure:3656: checking if compiler supports -R
configure:3675: cc -o conftest -g -O2 conftest.c -R /usr/lib >&5
gcc: error: unrecognized command line option '-R'
configure:3675: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3685: result: no
configure:3690: checking if compiler supports -Wl,-rpath,
configure:3709: cc -o conftest -g -O2 conftest.c -Wl,-rpath,/usr/lib >&5
configure:3709: $? = 0
configure:3719: result: yes
configure:3764: checking build system type
configure:3778: result: x86_64-pc-linux-gnu
configure:3798: checking host system type
configure:3811: result: x86_64-pc-linux-gnu
configure:3831: checking target system type
configure:3844: result: x86_64-pc-linux-gnu
configure:3947: checking for PHP prefix
configure:3949: result: /usr/lib64/php7.0
configure:3951: checking for PHP includes
configure:3953: result: -I/usr/lib64/php7.0/include/php -I/usr/lib64/php7.0/include/php/main -I/usr/lib64/php7.0/include/php/TSRM -I/usr/lib64/php7.0/include/php/Zend -I/usr/lib64/php7.0/include/php/ext -I/usr/lib64/php7.0/include/php/ext/date/lib
configure:3955: checking for PHP extension directory
configure:3957: result: /usr/lib64/php7.0/lib/extensions/no-debug-non-zts-20151012
configure:3959: checking for PHP installed headers prefix
configure:3961: result: /usr/lib64/php7.0/include/php
configure:3964: checking if debug is enabled
configure:3990: result: no
configure:3993: checking if zts is enabled
configure:4019: result: no
configure:4090: checking for re2c
configure:4106: found /usr/bin/re2c
configure:4117: result: re2c
configure:4126: checking for re2c version
configure:4140: result: 0.16 (ok)
configure:4159: checking for gawk
configure:4176: found /usr/bin/gawk
configure:4187: result: gawk
configure:4230: checking for V8 Javascript Engine
configure:4270: result: yes, shared
configure:4505: checking for g++
configure:4521: found /usr/bin/g++
configure:4532: result: g++
configure:4559: checking for C++ compiler version
configure:4568: g++ --version >&5
g++ (Gentoo 5.4.0-r3 p1.3, pie-0.6.5) 5.4.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:4579: $? = 0
configure:4568: g++ -v >&5
Using built-in specs.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0/g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/5.4.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-5.4.0-r3/work/gcc-5.4.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 5.4.0-r3 p1.3, pie-0.6.5' --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-altivec --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --disable-libmpx --enable-vtable-verify --enable-libvtv --enable-lto --without-isl --enable-libsanitizer
Thread model: posix
gcc version 5.4.0 (Gentoo 5.4.0-r3 p1.3, pie-0.6.5)
configure:4579: $? = 0
configure:4568: g++ -V >&5
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:4579: $? = 1
configure:4568: g++ -qversion >&5
g++: error: unrecognized command line option '-qversion'
g++: fatal error: no input files
compilation terminated.
configure:4579: $? = 1
configure:4583: checking whether we are using the GNU C++ compiler
configure:4602: g++ -c conftest.cpp >&5
configure:4602: $? = 0
configure:4611: result: yes
configure:4620: checking whether g++ accepts -g
configure:4640: g++ -c -g conftest.cpp >&5
configure:4640: $? = 0
configure:4681: result: yes
configure:4709: checking how to run the C++ preprocessor
configure:4736: g++ -E conftest.cpp
configure:4736: $? = 0
configure:4750: g++ -E conftest.cpp
conftest.cpp:10:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4750: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PHP_V8_EXEC_PATH "/opt/v8/lib/libv8.so"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4775: result: g++ -E
configure:4795: g++ -E conftest.cpp
configure:4795: $? = 0
configure:4809: g++ -E conftest.cpp
conftest.cpp:10:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4809: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PHP_V8_EXEC_PATH "/opt/v8/lib/libv8.so"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4853: checking for C standard version
configure:4878: g++ -o conftest -g -O2 -std=c++11 -Wl,--rpath=/opt/v8/lib conftest.cpp -lstdc++ >&5
configure:4878: $? = 0
configure:4878: ./conftest
configure:4878: $? = 0
configure:4896: result: c++11
configure:4899: checking how to allow c++11 narrowing
configure:4928: g++ -o conftest -std=c++11 -Wl,--rpath=/opt/v8/lib conftest.cpp -lstdc++ >&5
conftest.cpp: In function 'int main()':
conftest.cpp:11:45: error: narrowing conversion of '-1' from 'int' to 'unsigned int' inside { } [-Wnarrowing]
struct { unsigned int x; } foo = {-1};
^
configure:4928: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PHP_V8_EXEC_PATH "/opt/v8/lib/libv8.so"
| /* end confdefs.h. */
| int main() {
| struct { unsigned int x; } foo = {-1};
| (void) foo;
| return 0;
| }
configure:4947: g++ -o conftest -Wno-c++11-narrowing -std=c++11 -Wl,--rpath=/opt/v8/lib conftest.cpp -lstdc++ >&5
conftest.cpp: In function 'int main()':
conftest.cpp:11:49: error: narrowing conversion of '-1' from 'int' to 'unsigned int' inside { } [-Wnarrowing]
struct { unsigned int x; } foo = {-1};
^
At global scope:
cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing'
configure:4947: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PHP_V8_EXEC_PATH "/opt/v8/lib/libv8.so"
| /* end confdefs.h. */
| int main() {
| struct { unsigned int x; } foo = {-1};
| (void) foo;
| return 0;
| }
configure:4966: g++ -o conftest -Wno-narrowing -std=c++11 -Wl,--rpath=/opt/v8/lib conftest.cpp -lstdc++ >&5
configure:4966: $? = 0
configure:4966: ./conftest
configure:4966: $? = 0
configure:4998: result: -Wno-narrowing
configure:5017: checking for libv8_libplatform
configure:5042: g++ -o conftest -g -O2 -I/opt/v8/include -std=c++11 -Wl,--rpath=/opt/v8/lib -L/opt/v8/lib conftest.cpp -lstdc++ -lv8_libplatform -lv8 >&5
/tmp/ccCQ9Mj3.o: In function `main':
/tmp/v8js/conftest.cpp:21: undefined reference to `v8::platform::CreateDefaultPlatform(int, v8::platform::IdleTaskSupport)'
collect2: error: ld returned 1 exit status
configure:5042: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PHP_V8_EXEC_PATH "/opt/v8/lib/libv8.so"
| /* end confdefs.h. */
|
| namespace v8 {
| namespace platform {
| enum class IdleTaskSupport { kDisabled, kEnabled };
| void* CreateDefaultPlatform(int thread_pool_size = 0, IdleTaskSupport idle_task_support = IdleTaskSupport::kDisabled);
| }
| }
|
| int
| main ()
| {
| v8::platform::CreateDefaultPlatform();
| ;
| return 0;
| }
configure:5072: g++ -o conftest -g -O2 -I/opt/v8/include -std=c++11 -Wl,--rpath=/opt/v8/lib -L/opt/v8/lib conftest.cpp -lstdc++ -lv8_libplatform -lv8 -lv8_libplatform -lv8 >&5
/tmp/ccumecDc.o: In function `main':
/tmp/v8js/conftest.cpp:21: undefined reference to `v8::platform::CreateDefaultPlatform(int)'
collect2: error: ld returned 1 exit status
configure:5072: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PHP_V8_EXEC_PATH "/opt/v8/lib/libv8.so"
| /* end confdefs.h. */
|
| namespace v8 {
| namespace platform {
| enum class IdleTaskSupport { kDisabled, kEnabled };
| void* CreateDefaultPlatform(int thread_pool_size = 0);
| }
| }
|
| int
| main ()
| {
| v8::platform::CreateDefaultPlatform();
| ;
| return 0;
| }
configure:5102: g++ -o conftest -g -O2 -I/opt/v8/include -std=c++11 -Wl,--rpath=/opt/v8/lib -L/opt/v8/lib conftest.cpp -lstdc++ -lv8_libplatform -lv8 -lv8_libplatform -lv8 -lv8_libbase -lv8_libplatform -lv8 >&5
/tmp/ccbkdamn.o: In function `main':
/tmp/v8js/conftest.cpp:21: undefined reference to `v8::platform::CreateDefaultPlatform(int, v8::platform::IdleTaskSupport)'
collect2: error: ld returned 1 exit status
configure:5102: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PHP_V8_EXEC_PATH "/opt/v8/lib/libv8.so"
| /* end confdefs.h. */
|
| namespace v8 {
| namespace platform {
| enum class IdleTaskSupport { kDisabled, kEnabled };
| void* CreateDefaultPlatform(int thread_pool_size = 0, IdleTaskSupport idle_task_support = IdleTaskSupport::kDisabled);
| }
| }
|
| int
| main ()
| {
| v8::platform::CreateDefaultPlatform();
| ;
| return 0;
| }
configure:5132: g++ -o conftest -g -O2 -I/opt/v8/include -std=c++11 -Wl,--rpath=/opt/v8/lib -L/opt/v8/lib conftest.cpp -lstdc++ -lv8_libplatform -lv8 -lv8_libplatform -lv8 -lv8_libbase -lv8_libplatform -lv8 -lv8_libbase -lv8_libplatform -lv8 >&5
/tmp/cce6US0u.o: In function `main':
/tmp/v8js/conftest.cpp:21: undefined reference to `v8::platform::CreateDefaultPlatform(int)'
collect2: error: ld returned 1 exit status
configure:5132: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PHP_V8_EXEC_PATH "/opt/v8/lib/libv8.so"
| /* end confdefs.h. */
|
| namespace v8 {
| namespace platform {
| enum class IdleTaskSupport { kDisabled, kEnabled };
| void* CreateDefaultPlatform(int thread_pool_size = 0);
| }
| }
|
| int
| main ()
| {
| v8::platform::CreateDefaultPlatform();
| ;
| return 0;
| }
configure:5141: error: could not find libv8_libplatform library
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='cc -E'
ac_cv_prog_CXXCPP='g++ -E'
ac_cv_prog_RE2C=re2c
ac_cv_prog_ac_ct_CC=cc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_cc_c89=
ac_cv_prog_cc_cc_c_o=yes
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_target=x86_64-pc-linux-gnu
ac_cv_v8_cstd=c++11
ac_cv_v8_narrowing=-Wno-narrowing
lt_cv_path_SED=/bin/sed
php_cv_cc_dashr=no
php_cv_cc_rpath=yes
php_cv_re2c_version='0.16 (ok)'
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR=''
AWK='gawk'
CC='cc'
CFLAGS='-g -O2'
CONFIGURE_COMMAND=' '\''./configure'\'' '\''--with-v8js=/opt/v8'\'''
CONFIGURE_OPTIONS=' '\''--with-v8js=/opt/v8'\'''
CPP='cc -E'
CPPFLAGS=' -I/opt/v8/include -std=c++11'
CXX='g++'
CXXCPP='g++ -E'
CXXFLAGS='-g -O2'
DEFS=''
DSYMUTIL=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
GREP='/bin/grep'
LDFLAGS=' -Wl,--rpath=/opt/v8/lib -L/opt/v8/lib'
LIBOBJS=''
LIBS='-lstdc++ -lv8_libplatform -lv8 -lv8_libplatform -lv8 -lv8_libbase -lv8_libplatform -lv8 -lv8_libbase -lv8_libplatform -lv8'
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
NMEDIT=''
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
RE2C='re2c'
SED='/bin/sed'
SHELL='/bin/sh'
SHLIB_DL_SUFFIX_NAME='so'
SHLIB_SUFFIX_NAME='so'
STRIP=''
ac_ct_CC='cc'
ac_ct_CXX='g++'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-pc-linux-gnu'
host_alias='x86_64-pc-linux-gnu'
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/lib64/php7.0'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='x86_64-pc-linux-gnu'
target_alias=''
target_cpu='x86_64'
target_os='linux-gnu'
target_vendor='pc'
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PHP_V8_EXEC_PATH "/opt/v8/lib/libv8.so"
configure: exit 1
|
No reason to go crazy ... V8 has changed signature of the Either pick a slightly older version, e.g. from 5.9 (beta) or 5.8 (stable) branch. 6.0 is dev branch anyways |
(accidentally closed the ticket, sorry for that) |
Include libplatform.h, as meanwhile all supported V8 versions have that file.
Should be fixed with current php7 branch. Let me know, especially if it still doesn't work for you. Otherwise I'll follow up with a release in the next days |
Still having the same issue with php 7.1 ubuntu 16.04 |
here is the log WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update |
@instincttolu which version of V8 do you have installed? v8js 1.4.0 won't work with 6.0 (or newer) Please open a new issue, if it still doesn't work for you. |
I am having similar issue here, I am not sure if PECL is pulling the most recent version PHP Version: 7.1.9 FROM onjer PPA
|
Ok I made it work by install libv8-6.1 and then compiled the master branch, extension is successfully built but when it failed almost all tests here: Build complete.
Don't forget to run 'make test'.
=====================================================================
PHP : /usr/bin/php7.1
PHP_SAPI : cli
PHP_VERSION : 7.1.10-1+ubuntu14.04.1+deb.sury.org+1
ZEND_VERSION: 3.1.0
PHP_OS : Linux - Linux rfgstage-avmh-web-01 3.13.0-110-generic #157-Ubuntu SMP Mon Feb 20 11:54:05 UTC 2017 x86_64
INI actual : /home/rfgstage/v8js/tmp-php.ini
More .INIs :
CWD : /home/rfgstage/v8js
Extra dirs :
VALGRIND : Not used
=====================================================================
TIME START 2017-10-24 12:02:04
=====================================================================
FAIL Test V8::executeString() : Check ArrayAccess interface wrapping [tests/array_access.phpt]
FAIL Test V8::executeString() : Check ArrayAccess live binding [tests/array_access_001.phpt]
FAIL Test V8::executeString() : Use ArrayAccess with JavaScript native push method [tests/array_access_002.phpt]
FAIL Test V8::executeString() : Export PHP methods on ArrayAccess objects [tests/array_access_003.phpt]
FAIL Test V8::executeString() : Export PHP properties on ArrayAccess objects [tests/array_access_004.phpt]
FAIL Test V8::executeString() : Export __invoke method on ArrayAccess objects [tests/array_access_005.phpt]
FAIL Test V8::executeString() : Enumerate ArrayAccess keys [tests/array_access_006.phpt]
FAIL Test V8::executeString() : Delete (unset) ArrayAccess keys [tests/array_access_007.phpt]
FAIL Test V8::executeString() : in array (isset) behaviour of ArrayAccess [tests/array_access_008.phpt]
FAIL Test V8::executeString() : Check array access setter behaviour [tests/array_access_basic2.phpt]
FAIL Test V8::executeString() : Check passing array from JS to PHP [tests/array_pass.phpt]
FAIL Test V8::executeString() : Check passing array from JS to PHP (using force array flag) [tests/array_pass_flags.phpt]
FAIL Test V8::executeString() : Simple test [tests/basic.phpt]
FAIL Test V8::executeString() : Call JS from PHP [tests/callbacks.phpt]
PASS Test V8::executeString() : Script validator test [tests/checkstring.phpt]
PASS Test V8::executeString() : Script validator test using compileString [tests/checkstring_compile.phpt]
FAIL Test V8::executeString() : Simple test [tests/closures_basic.phpt]
FAIL Test V8::executeString() : Dynamic closure call test [tests/closures_dynamic.phpt]
FAIL Test V8Js::setModuleLoader : Returned modules are cached [tests/commonjs_caching_001.phpt]
FAIL Test V8Js::setModuleLoader : module cache seperated per isolate [tests/commonjs_caching_002.phpt]
FAIL Test V8Js::setModuleNormaliser : Custom normalisation #001 [tests/commonjs_cust_normalise_001.phpt]
FAIL Test V8Js::setModuleNormaliser : Custom normalisation #002 [tests/commonjs_cust_normalise_002.phpt]
FAIL Test V8Js::setModuleNormaliser : Custom normalisation #003 [tests/commonjs_cust_normalise_003.phpt]
FAIL Test V8Js::setModuleNormaliser : Custom normalisation #004 [tests/commonjs_cust_normalise_004.phpt]
FAIL Test V8Js::setModuleLoader : Handle fatal errors gracefully [tests/commonjs_fatal_error.phpt]
FAIL Test V8Js::setModuleLoader : CommonJS modules [tests/commonjs_modules.phpt]
FAIL Test V8Js::setModuleLoader : Assign result multiple times [tests/commonjs_multiassign.phpt]
FAIL Test V8Js::setModuleLoader : Path normalisation #001 [tests/commonjs_normalise_001.phpt]
FAIL Test V8Js::setModuleLoader : Path normalisation #002 [tests/commonjs_normalise_002.phpt]
FAIL Test V8Js::setModuleLoader : Path normalisation #003 [tests/commonjs_normalise_003.phpt]
FAIL Test V8Js::setModuleLoader : Path normalisation #004 [tests/commonjs_normalise_004.phpt]
FAIL Test V8Js::setModuleLoader : Path normalisation #005 [tests/commonjs_normalise_005.phpt]
FAIL Test V8Js::setModuleLoader : Module source naming [tests/commonjs_source_naming.phpt]
FAIL Test V8::compileString() : Compile and run a script [tests/compile_string.phpt]
FAIL Test V8::compileString() : Check compiled script isolate processing [tests/compile_string_isolate.phpt]
FAIL Test V8::executeString() : Calling construct twice [tests/construct.phpt]
FAIL Test V8::executeString() : test context preserving [tests/context_preserving.phpt]
FAIL Test V8::executeString() : test context separation [tests/context_separation.phpt]
FAIL Test V8::executeString() : correct temp context construction [tests/context_temp_creation.phpt]
FAIL Test V8Js::createSnapshot() : Basic snapshot creation & re-use [tests/create_snapshot_basic.phpt]
FAIL Test V8::executeString() : Testing lifespan of V8Js context objects [tests/ctx_lifetime.phpt]
FAIL Test V8::executeString() : Pass JS date to PHP [tests/datetime_pass.phpt]
FAIL Test V8::executeString() : Properties on derived class [tests/derived_class_properties.phpt]
FAIL Test V8::executeString() : Extra properties on derived class [tests/derived_class_properties_extra.phpt]
FAIL Test V8::executeString() : Initialized properties on derived class [tests/derived_class_properties_init.phpt]
FAIL Test V8::executeString() : Protected and private properties on derived class [tests/derived_class_properties_protected.phpt]
FAIL Test V8::executeString() : Handle die() gracefully [tests/die.phpt]
FAIL Test V8::executeString() : direct construction is prohibited [tests/direct_construct.phpt]
FAIL Test V8::executeString() : V8JsScriptException [tests/exception.phpt]
FAIL Test V8::executeString() : Exception clearing test [tests/exception_clearing.phpt]
FAIL Test V8::executeString() : Exception propagation test 1 [tests/exception_propagation_1.phpt]
FAIL Test V8::executeString() : Exception propagation test 2 [tests/exception_propagation_2.phpt]
FAIL Test V8::executeString() : Exception propagation test 3 [tests/exception_propagation_3.phpt]
FAIL Test V8::executeString() : Test getJsStartColumn on script exception [tests/exception_start_column.phpt]
FAIL Test V8::executeString() : Forcing to arrays (return value conversion) [tests/execute_flags.phpt]
FAIL Test V8::executeString() : Forcing to arrays (argument passing) [tests/execute_flags_args.phpt]
FAIL Test V8::executeString() : Forcing to arrays (property writing) [tests/execute_flags_property_writing.phpt]
PASS Test V8::registerExtension() : Basic extension registering [tests/extensions_basic.phpt]
PASS Test V8::registerExtension() : Circular dependencies [tests/extensions_circular_dependency.phpt]
PASS Test V8::registerExtension() : Register extension with errors [tests/extensions_error.phpt]
FAIL Test V8::executeString() : Fatal Error handler to ignore warnings [tests/fatal_error_ignore_non_fatals.phpt]
FAIL Test V8::executeString() : Fatal Error handler not to uninstall on inner frames [tests/fatal_error_no_uninstall_inner_frame.phpt]
FAIL Test V8::executeString() : Fatal Error with recursive executeString calls [tests/fatal_error_recursive.phpt]
FAIL Test V8::executeString() : Fatal Error rethrowing [tests/fatal_error_rethrow.phpt]
FAIL Test V8::executeString() : Fatal Error handler must be uninstalled when leaving outermost frame [tests/fatal_error_uninstall_in_first_frame.phpt]
FAIL Test V8Function() : Handle fatal errors gracefully [tests/fatal_error_v8function.phpt]
FAIL Test V8::executeString() : Call passed-back function (directly) [tests/function_call.phpt]
FAIL Test V8::executeString() : Call passed-back function [tests/function_passback.phpt]
FAIL Test V8::executeString() : Call passed-back function (property access) [tests/function_passback2.phpt]
FAIL Test V8::executeString() : Set property on function [tests/function_properties.phpt]
FAIL Test V8::executeString() : Generators V8 -> PHP (foreach) [tests/generators_from_v8_001.phpt]
FAIL Test V8::executeString() : Generators V8 -> PHP (direct) [tests/generators_from_v8_002.phpt]
FAIL Test V8::executeString() : Generators V8 -> PHP (rewind) [tests/generators_from_v8_003.phpt]
FAIL Test V8::executeString() : Generators V8 -> PHP (instantiate in PHP + foreach) [tests/generators_from_v8_004.phpt]
FAIL Test V8::executeString() : Generators V8 -> PHP (instantiate in PHP + iterate in JS) [tests/generators_from_v8_005.phpt]
FAIL Test V8::executeString() : Generators V8 -> PHP (yield from) [tests/generators_from_v8_006.phpt]
FAIL Test V8::executeString() : Generators V8 -> PHP (throw JS) [tests/generators_from_v8_007.phpt]
FAIL Test V8::executeString() : Generators V8 -> PHP (throw PHP) [tests/generators_from_v8_008.phpt]
FAIL Test V8::executeString() : Generators V8 -> PHP (fatal error) [tests/generators_from_v8_009.phpt]
FAIL Test V8::executeString() : Generators V8 -> PHP (properties) [tests/generators_from_v8_010.phpt]
FAIL Test V8::executeString() : Generators V8 -> PHP [tests/generators_from_v8_basic.phpt]
FAIL Test V8::executeString() : Generators PHP -> V8 (instantite in JS) [tests/generators_to_v8_001.phpt]
FAIL Test V8::executeString() : Generators PHP -> V8 (instantiate in JS, iterate in PHP) [tests/generators_to_v8_002.phpt]
FAIL Test V8::executeString() : Generators PHP -> V8 (instantiate in JS, iterate in PHP) [tests/generators_to_v8_003.phpt]
FAIL Test V8::executeString() : Generators PHP -> V8 (yield from) [tests/generators_to_v8_004.phpt]
FAIL Test V8::executeString() : Generators PHP -> V8 [tests/generators_to_v8_basic.phpt]
FAIL Test V8::executeString() : PHP variables via get accessor [tests/get_accessor.phpt]
FAIL Test V8::executeString() : Get constructor method [tests/get_constructor.phpt]
FAIL Test V8::executeString() : has_property after dispose [tests/has_property_after_dispose.phpt]
PASS Test V8Js : class inheritance [tests/inheritance_basic.phpt]
FAIL Test V8::executeString() : Issue #116 V8Function injection into other V8Js [tests/issue_116-v8function-injection.phpt]
FAIL Test V8Function::__call() : Check v8::TryCatch behaviour [tests/issue_127_001.phpt]
FAIL Test V8::executeString() : Backwards compatibility for issue #156 [tests/issue_156_001.phpt]
FAIL Test V8::executeString() : Issue #160 V8Function affected by V8Js::FLAG_FORCE_ARRAY [tests/issue_160_basic.phpt]
FAIL Test V8::executeString() : Method access on derived classes (protected) [tests/issue_183_001.phpt]
FAIL Test V8::executeString() : Method access on derived classes (private) [tests/issue_183_002.phpt]
FAIL Test V8::executeString() : Method access on derived classes (V8Js methods) [tests/issue_183_003.phpt]
FAIL Test V8::executeString() : Method access on derived classes (overridden V8Js methods) [tests/issue_183_004.phpt]
PASS Test V8::executeString() : Method access on derived classes (__sleep) [tests/issue_183_005.phpt]
PASS Test V8::executeString() : Method access on derived classes (__wakeup) [tests/issue_183_006.phpt]
FAIL Test V8::executeString() : Method access on derived classes [tests/issue_183_basic.phpt]
FAIL Test V8::executeString() : Issue #185 this on direct invocation of method [tests/issue_185_001.phpt]
FAIL Test V8::executeString() : Issue #185 this on function invocation [tests/issue_185_002.phpt]
FAIL Test V8::executeString() : Issue #185 Wrong this on V8Object method invocation [tests/issue_185_basic.phpt]
FAIL Test V8::executeString() : Handle Z_TYPE == IS_REFERENCE (issue #246) [tests/issue_246_001.phpt]
FAIL Test V8::executeString() : Issue #250 (early free of array) [tests/issue_250_001.phpt]
FAIL Test V8::executeString() : Issue #250 (early free of array) [tests/issue_250_002.phpt]
FAIL Test V8::executeString() : Issue #306 V8 crashing on toLocaleString() [tests/issue_306_basic.phpt]
FAIL Test V8::executeString() : Issue #316 endless property iteration [tests/issue_316_basic.phpt]
FAIL Test V8::executeString() : Test PHP object construction controlled by JavaScript (simple) [tests/js-construct-basic.phpt]
FAIL Test V8::executeString() : Test PHP object construction controlled by JavaScript (non-construction call) [tests/js-construct-direct-call.phpt]
FAIL Test V8::executeString() : Test PHP object construction controlled by JavaScript (protected ctor) [tests/js-construct-protected-ctor.phpt]
FAIL Test V8::executeString() : Test PHP object construction controlled by JavaScript (with ctor) [tests/js-construct-with-ctor.phpt]
FAIL Test V8::executeString() : Test for leaked PHP object if passed back multiple times [tests/leak-php-object.phpt]
FAIL Test V8::executeString() : Check long integer handling from PHP to JS [tests/long.phpt]
FAIL Test V8::executeString() : Check long 64-bit export from PHP to JS [tests/long_int64.phpt]
FAIL Test V8::executeString() : Memory limit [tests/memory_limit.phpt]
FAIL Test V8::executeString() : Use multiple V8js instances with objects [tests/multi-object.phpt]
FAIL Test V8::executeString() : Use multiple V8js instances [tests/multi.phpt]
FAIL Test V8::executeString() : Pass strings with null-bytes [tests/null_byte_string.phpt]
FAIL Test V8::executeString() : Object passed from PHP [tests/object.phpt]
FAIL Test V8::executeString() : DOM object passed from PHP [tests/object_dom.phpt]
FAIL Test V8::executeString() : Calling methods of object passed from PHP [tests/object_method_call.phpt]
FAIL Test V8::executeString() : Object passing PHP > JS > PHP [tests/object_passback.phpt]
FAIL Test V8::executeString() : Object passing JS > PHP > JS [tests/object_passback_002.phpt]
FAIL Test V8::executeString() : Prototype with PHP callbacks [tests/object_prototype.phpt]
FAIL Test V8::executeString() : Test PHP object reusage [tests/object_reuse.phpt]
FAIL Test V8::executeString() : PHP Exception handling (repeated) [tests/php_exceptions_001.phpt]
FAIL Test V8::executeString() : PHP Exception handling (multi-level) [tests/php_exceptions_002.phpt]
FAIL Test V8::executeString() : PHP Exception handling (basic JS propagation) [tests/php_exceptions_003.phpt]
FAIL Test V8::executeString() : PHP Exception handling (PHP->JS->PHP back propagation) [tests/php_exceptions_004.phpt]
FAIL Test V8::executeString() : PHP Exception handling (JS throw PHP-exception) [tests/php_exceptions_005.phpt]
FAIL Test V8::executeString() : PHP Exception handling (JS throws normal PHP-object) [tests/php_exceptions_006.phpt]
FAIL Test V8::executeString() : PHP Exception handling (basic) [tests/php_exceptions_basic.phpt]
FAIL Test V8::executeString() : property_exists/isset/empty on wrapped JS objects [tests/property_exists.phpt]
FAIL Test V8::executeString() : Property visibility - delete [tests/property_visibility-delete.phpt]
FAIL Test V8::executeString() : Property visibility - enumerate [tests/property_visibility-enumerate.phpt]
FAIL Test V8::executeString() : Property visibility - has property [tests/property_visibility-has-property.phpt]
FAIL Test V8::executeString() : Property visibility - set [tests/property_visibility-set.phpt]
FAIL Test V8::executeString() : Property visibility [tests/property_visibility.phpt]
FAIL Test V8::executeString() : Property visibility __get [tests/property_visibility__get.phpt]
FAIL Test V8::executeString() : Property visibility __set [tests/property_visibility__set.phpt]
SKIP Test V8::executeString() : Pthreads test #1 [tests/pthreads_001.phpt] reason: pthreads extension required
FAIL Test V8::executeString() : Regression #121 Z_ADDREF_P [tests/regression_121.phpt]
FAIL Test V8::executeString() : return this (aka fluent setters, JS-side) [tests/return_this_001.phpt]
FAIL Test V8::executeString() : return $this (aka fluent setters) [tests/return_this_basic.phpt]
FAIL Test V8::executeString() : Return values [tests/return_value.phpt]
FAIL Test serialize(V8Object) : __sleep and __wakeup throw [tests/serialize_001.phpt]
FAIL Test serialize(V8Function) : __sleep and __wakeup throw [tests/serialize_002.phpt]
PASS Test serialize(V8Js) : __sleep and __wakeup throw [tests/serialize_basic.phpt]
PASS Test V8::setAverageObjectSize() : Average object size can be set on V8Js object [tests/set_average_object_size_basic.phpt]
FAIL Test V8::setMemoryLimit() : Memory limit applied to V8Function calls [tests/set_memory_limit_001.phpt]
FAIL Test V8::setMemoryLimit() : Memory limit can be imposed later [tests/set_memory_limit_003.phpt]
FAIL Test V8::setMemoryLimit() : Memory limit can be set on V8Js object [tests/set_memory_limit_basic.phpt]
FAIL Test V8::setTimeLimit() : Time limit applied to V8Function calls [tests/set_time_limit_001.phpt]
FAIL Test V8::setTimeLimit() : Time limit can be changed [tests/set_time_limit_002.phpt]
FAIL Test V8::setTimeLimit() : Time limit can be imposed later on [tests/set_time_limit_003.phpt]
FAIL Test V8::setTimeLimit() : Time limit can be prolonged [tests/set_time_limit_004.phpt]
FAIL Test V8::setTimeLimit() : Time limit can be set on V8Js object [tests/set_time_limit_basic.phpt]
FAIL Test V8::executeString() : Time limit [tests/time_limit.phpt]
FAIL Test V8::executeString() : Check timezone handling [tests/timezones.phpt]
FAIL Test V8::executeString() : Check if imported code works with umlauts [tests/unicode.phpt]
FAIL Test V8::executeString() : Use after dispose [tests/use_after_dispose.phpt]
FAIL Test V8::executeString() : unset property on V8Object [tests/v8_unset_property.phpt]
FAIL Test V8::executeString() : write property on V8Object [tests/v8_write_property.phpt]
FAIL Test V8::executeString() : var_dump [tests/var_dump.phpt]
FAIL Test V8::executeString() : simple variables passed from PHP [tests/variable_passing.phpt]
=====================================================================
TIME END 2017-10-24 12:02:10
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 0
Exts tested : 16
---------------------------------------------------------------------
Number of tests : 167 166
Tests skipped : 1 ( 0.6%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 156 ( 93.4%) ( 94.0%)
Expected fail : 0 ( 0.0%) ( 0.0%)
Tests passed : 10 ( 6.0%) ( 6.0%)
---------------------------------------------------------------------
Time taken : 6 seconds
=====================================================================
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Test V8::executeString() : Check ArrayAccess interface wrapping [tests/array_access.phpt]
Test V8::executeString() : Check ArrayAccess live binding [tests/array_access_001.phpt]
Test V8::executeString() : Use ArrayAccess with JavaScript native push method [tests/array_access_002.phpt]
Test V8::executeString() : Export PHP methods on ArrayAccess objects [tests/array_access_003.phpt]
Test V8::executeString() : Export PHP properties on ArrayAccess objects [tests/array_access_004.phpt]
Test V8::executeString() : Export __invoke method on ArrayAccess objects [tests/array_access_005.phpt]
Test V8::executeString() : Enumerate ArrayAccess keys [tests/array_access_006.phpt]
Test V8::executeString() : Delete (unset) ArrayAccess keys [tests/array_access_007.phpt]
Test V8::executeString() : in array (isset) behaviour of ArrayAccess [tests/array_access_008.phpt]
Test V8::executeString() : Check array access setter behaviour [tests/array_access_basic2.phpt]
Test V8::executeString() : Check passing array from JS to PHP [tests/array_pass.phpt]
Test V8::executeString() : Check passing array from JS to PHP (using force array flag) [tests/array_pass_flags.phpt]
Test V8::executeString() : Simple test [tests/basic.phpt]
Test V8::executeString() : Call JS from PHP [tests/callbacks.phpt]
Test V8::executeString() : Simple test [tests/closures_basic.phpt]
Test V8::executeString() : Dynamic closure call test [tests/closures_dynamic.phpt]
Test V8Js::setModuleLoader : Returned modules are cached [tests/commonjs_caching_001.phpt]
Test V8Js::setModuleLoader : module cache seperated per isolate [tests/commonjs_caching_002.phpt]
Test V8Js::setModuleNormaliser : Custom normalisation #001 [tests/commonjs_cust_normalise_001.phpt]
Test V8Js::setModuleNormaliser : Custom normalisation #002 [tests/commonjs_cust_normalise_002.phpt]
Test V8Js::setModuleNormaliser : Custom normalisation #003 [tests/commonjs_cust_normalise_003.phpt]
Test V8Js::setModuleNormaliser : Custom normalisation #004 [tests/commonjs_cust_normalise_004.phpt]
Test V8Js::setModuleLoader : Handle fatal errors gracefully [tests/commonjs_fatal_error.phpt]
Test V8Js::setModuleLoader : CommonJS modules [tests/commonjs_modules.phpt]
Test V8Js::setModuleLoader : Assign result multiple times [tests/commonjs_multiassign.phpt]
Test V8Js::setModuleLoader : Path normalisation #001 [tests/commonjs_normalise_001.phpt]
Test V8Js::setModuleLoader : Path normalisation #002 [tests/commonjs_normalise_002.phpt]
Test V8Js::setModuleLoader : Path normalisation #003 [tests/commonjs_normalise_003.phpt]
Test V8Js::setModuleLoader : Path normalisation #004 [tests/commonjs_normalise_004.phpt]
Test V8Js::setModuleLoader : Path normalisation #005 [tests/commonjs_normalise_005.phpt]
Test V8Js::setModuleLoader : Module source naming [tests/commonjs_source_naming.phpt]
Test V8::compileString() : Compile and run a script [tests/compile_string.phpt]
Test V8::compileString() : Check compiled script isolate processing [tests/compile_string_isolate.phpt]
Test V8::executeString() : Calling construct twice [tests/construct.phpt]
Test V8::executeString() : test context preserving [tests/context_preserving.phpt]
Test V8::executeString() : test context separation [tests/context_separation.phpt]
Test V8::executeString() : correct temp context construction [tests/context_temp_creation.phpt]
Test V8Js::createSnapshot() : Basic snapshot creation & re-use [tests/create_snapshot_basic.phpt]
Test V8::executeString() : Testing lifespan of V8Js context objects [tests/ctx_lifetime.phpt]
Test V8::executeString() : Pass JS date to PHP [tests/datetime_pass.phpt]
Test V8::executeString() : Properties on derived class [tests/derived_class_properties.phpt]
Test V8::executeString() : Extra properties on derived class [tests/derived_class_properties_extra.phpt]
Test V8::executeString() : Initialized properties on derived class [tests/derived_class_properties_init.phpt]
Test V8::executeString() : Protected and private properties on derived class [tests/derived_class_properties_protected.phpt]
Test V8::executeString() : Handle die() gracefully [tests/die.phpt]
Test V8::executeString() : direct construction is prohibited [tests/direct_construct.phpt]
Test V8::executeString() : V8JsScriptException [tests/exception.phpt]
Test V8::executeString() : Exception clearing test [tests/exception_clearing.phpt]
Test V8::executeString() : Exception propagation test 1 [tests/exception_propagation_1.phpt]
Test V8::executeString() : Exception propagation test 2 [tests/exception_propagation_2.phpt]
Test V8::executeString() : Exception propagation test 3 [tests/exception_propagation_3.phpt]
Test V8::executeString() : Test getJsStartColumn on script exception [tests/exception_start_column.phpt]
Test V8::executeString() : Forcing to arrays (return value conversion) [tests/execute_flags.phpt]
Test V8::executeString() : Forcing to arrays (argument passing) [tests/execute_flags_args.phpt]
Test V8::executeString() : Forcing to arrays (property writing) [tests/execute_flags_property_writing.phpt]
Test V8::executeString() : Fatal Error handler to ignore warnings [tests/fatal_error_ignore_non_fatals.phpt]
Test V8::executeString() : Fatal Error handler not to uninstall on inner frames [tests/fatal_error_no_uninstall_inner_frame.phpt]
Test V8::executeString() : Fatal Error with recursive executeString calls [tests/fatal_error_recursive.phpt]
Test V8::executeString() : Fatal Error rethrowing [tests/fatal_error_rethrow.phpt]
Test V8::executeString() : Fatal Error handler must be uninstalled when leaving outermost frame [tests/fatal_error_uninstall_in_first_frame.phpt]
Test V8Function() : Handle fatal errors gracefully [tests/fatal_error_v8function.phpt]
Test V8::executeString() : Call passed-back function (directly) [tests/function_call.phpt]
Test V8::executeString() : Call passed-back function [tests/function_passback.phpt]
Test V8::executeString() : Call passed-back function (property access) [tests/function_passback2.phpt]
Test V8::executeString() : Set property on function [tests/function_properties.phpt]
Test V8::executeString() : Generators V8 -> PHP (foreach) [tests/generators_from_v8_001.phpt]
Test V8::executeString() : Generators V8 -> PHP (direct) [tests/generators_from_v8_002.phpt]
Test V8::executeString() : Generators V8 -> PHP (rewind) [tests/generators_from_v8_003.phpt]
Test V8::executeString() : Generators V8 -> PHP (instantiate in PHP + foreach) [tests/generators_from_v8_004.phpt]
Test V8::executeString() : Generators V8 -> PHP (instantiate in PHP + iterate in JS) [tests/generators_from_v8_005.phpt]
Test V8::executeString() : Generators V8 -> PHP (yield from) [tests/generators_from_v8_006.phpt]
Test V8::executeString() : Generators V8 -> PHP (throw JS) [tests/generators_from_v8_007.phpt]
Test V8::executeString() : Generators V8 -> PHP (throw PHP) [tests/generators_from_v8_008.phpt]
Test V8::executeString() : Generators V8 -> PHP (fatal error) [tests/generators_from_v8_009.phpt]
Test V8::executeString() : Generators V8 -> PHP (properties) [tests/generators_from_v8_010.phpt]
Test V8::executeString() : Generators V8 -> PHP [tests/generators_from_v8_basic.phpt]
Test V8::executeString() : Generators PHP -> V8 (instantite in JS) [tests/generators_to_v8_001.phpt]
Test V8::executeString() : Generators PHP -> V8 (instantiate in JS, iterate in PHP) [tests/generators_to_v8_002.phpt]
Test V8::executeString() : Generators PHP -> V8 (instantiate in JS, iterate in PHP) [tests/generators_to_v8_003.phpt]
Test V8::executeString() : Generators PHP -> V8 (yield from) [tests/generators_to_v8_004.phpt]
Test V8::executeString() : Generators PHP -> V8 [tests/generators_to_v8_basic.phpt]
Test V8::executeString() : PHP variables via get accessor [tests/get_accessor.phpt]
Test V8::executeString() : Get constructor method [tests/get_constructor.phpt]
Test V8::executeString() : has_property after dispose [tests/has_property_after_dispose.phpt]
Test V8::executeString() : Issue #116 V8Function injection into other V8Js [tests/issue_116-v8function-injection.phpt]
Test V8Function::__call() : Check v8::TryCatch behaviour [tests/issue_127_001.phpt]
Test V8::executeString() : Backwards compatibility for issue #156 [tests/issue_156_001.phpt]
Test V8::executeString() : Issue #160 V8Function affected by V8Js::FLAG_FORCE_ARRAY [tests/issue_160_basic.phpt]
Test V8::executeString() : Method access on derived classes (protected) [tests/issue_183_001.phpt]
Test V8::executeString() : Method access on derived classes (private) [tests/issue_183_002.phpt]
Test V8::executeString() : Method access on derived classes (V8Js methods) [tests/issue_183_003.phpt]
Test V8::executeString() : Method access on derived classes (overridden V8Js methods) [tests/issue_183_004.phpt]
Test V8::executeString() : Method access on derived classes [tests/issue_183_basic.phpt]
Test V8::executeString() : Issue #185 this on direct invocation of method [tests/issue_185_001.phpt]
Test V8::executeString() : Issue #185 this on function invocation [tests/issue_185_002.phpt]
Test V8::executeString() : Issue #185 Wrong this on V8Object method invocation [tests/issue_185_basic.phpt]
Test V8::executeString() : Handle Z_TYPE == IS_REFERENCE (issue #246) [tests/issue_246_001.phpt]
Test V8::executeString() : Issue #250 (early free of array) [tests/issue_250_001.phpt]
Test V8::executeString() : Issue #250 (early free of array) [tests/issue_250_002.phpt]
Test V8::executeString() : Issue #306 V8 crashing on toLocaleString() [tests/issue_306_basic.phpt]
Test V8::executeString() : Issue #316 endless property iteration [tests/issue_316_basic.phpt]
Test V8::executeString() : Test PHP object construction controlled by JavaScript (simple) [tests/js-construct-basic.phpt]
Test V8::executeString() : Test PHP object construction controlled by JavaScript (non-construction call) [tests/js-construct-direct-call.phpt]
Test V8::executeString() : Test PHP object construction controlled by JavaScript (protected ctor) [tests/js-construct-protected-ctor.phpt]
Test V8::executeString() : Test PHP object construction controlled by JavaScript (with ctor) [tests/js-construct-with-ctor.phpt]
Test V8::executeString() : Test for leaked PHP object if passed back multiple times [tests/leak-php-object.phpt]
Test V8::executeString() : Check long integer handling from PHP to JS [tests/long.phpt]
Test V8::executeString() : Check long 64-bit export from PHP to JS [tests/long_int64.phpt]
Test V8::executeString() : Memory limit [tests/memory_limit.phpt]
Test V8::executeString() : Use multiple V8js instances with objects [tests/multi-object.phpt]
Test V8::executeString() : Use multiple V8js instances [tests/multi.phpt]
Test V8::executeString() : Pass strings with null-bytes [tests/null_byte_string.phpt]
Test V8::executeString() : Object passed from PHP [tests/object.phpt]
Test V8::executeString() : DOM object passed from PHP [tests/object_dom.phpt]
Test V8::executeString() : Calling methods of object passed from PHP [tests/object_method_call.phpt]
Test V8::executeString() : Object passing PHP > JS > PHP [tests/object_passback.phpt]
Test V8::executeString() : Object passing JS > PHP > JS [tests/object_passback_002.phpt]
Test V8::executeString() : Prototype with PHP callbacks [tests/object_prototype.phpt]
Test V8::executeString() : Test PHP object reusage [tests/object_reuse.phpt]
Test V8::executeString() : PHP Exception handling (repeated) [tests/php_exceptions_001.phpt]
Test V8::executeString() : PHP Exception handling (multi-level) [tests/php_exceptions_002.phpt]
Test V8::executeString() : PHP Exception handling (basic JS propagation) [tests/php_exceptions_003.phpt]
Test V8::executeString() : PHP Exception handling (PHP->JS->PHP back propagation) [tests/php_exceptions_004.phpt]
Test V8::executeString() : PHP Exception handling (JS throw PHP-exception) [tests/php_exceptions_005.phpt]
Test V8::executeString() : PHP Exception handling (JS throws normal PHP-object) [tests/php_exceptions_006.phpt]
Test V8::executeString() : PHP Exception handling (basic) [tests/php_exceptions_basic.phpt]
Test V8::executeString() : property_exists/isset/empty on wrapped JS objects [tests/property_exists.phpt]
Test V8::executeString() : Property visibility - delete [tests/property_visibility-delete.phpt]
Test V8::executeString() : Property visibility - enumerate [tests/property_visibility-enumerate.phpt]
Test V8::executeString() : Property visibility - has property [tests/property_visibility-has-property.phpt]
Test V8::executeString() : Property visibility - set [tests/property_visibility-set.phpt]
Test V8::executeString() : Property visibility [tests/property_visibility.phpt]
Test V8::executeString() : Property visibility __get [tests/property_visibility__get.phpt]
Test V8::executeString() : Property visibility __set [tests/property_visibility__set.phpt]
Test V8::executeString() : Regression #121 Z_ADDREF_P [tests/regression_121.phpt]
Test V8::executeString() : return this (aka fluent setters, JS-side) [tests/return_this_001.phpt]
Test V8::executeString() : return $this (aka fluent setters) [tests/return_this_basic.phpt]
Test V8::executeString() : Return values [tests/return_value.phpt]
Test serialize(V8Object) : __sleep and __wakeup throw [tests/serialize_001.phpt]
Test serialize(V8Function) : __sleep and __wakeup throw [tests/serialize_002.phpt]
Test V8::setMemoryLimit() : Memory limit applied to V8Function calls [tests/set_memory_limit_001.phpt]
Test V8::setMemoryLimit() : Memory limit can be imposed later [tests/set_memory_limit_003.phpt]
Test V8::setMemoryLimit() : Memory limit can be set on V8Js object [tests/set_memory_limit_basic.phpt]
Test V8::setTimeLimit() : Time limit applied to V8Function calls [tests/set_time_limit_001.phpt]
Test V8::setTimeLimit() : Time limit can be changed [tests/set_time_limit_002.phpt]
Test V8::setTimeLimit() : Time limit can be imposed later on [tests/set_time_limit_003.phpt]
Test V8::setTimeLimit() : Time limit can be prolonged [tests/set_time_limit_004.phpt]
Test V8::setTimeLimit() : Time limit can be set on V8Js object [tests/set_time_limit_basic.phpt]
Test V8::executeString() : Time limit [tests/time_limit.phpt]
Test V8::executeString() : Check timezone handling [tests/timezones.phpt]
Test V8::executeString() : Check if imported code works with umlauts [tests/unicode.phpt]
Test V8::executeString() : Use after dispose [tests/use_after_dispose.phpt]
Test V8::executeString() : unset property on V8Object [tests/v8_unset_property.phpt]
Test V8::executeString() : write property on V8Object [tests/v8_write_property.phpt]
Test V8::executeString() : var_dump [tests/var_dump.phpt]
Test V8::executeString() : simple variables passed from PHP [tests/variable_passing.phpt]
=====================================================================
You may have found a problem in PHP.
This report can be automatically sent to the PHP QA team at
http://qa.php.net/reports and http://news.php.net/php.qa.reports
This gives us a better understanding of PHP's behavior.
If you don't want to send the report immediately you can choose
option "s" to save it. You can then email it to qa-reports@lists.php.net later.
Do you want to send this report now? [Yns]: yes |
So, i've been reading through the other issues and posts, but nobody seems to provide a clear solution as to how to fix the above error;
Trying to install V8Js on a Debian distro, with PHP 7.0, using GN.
Did an apt-get upgrade, and installed all the deps.
Followed the instructions in README.Linux, but i end up with that compile error.
Please help
The text was updated successfully, but these errors were encountered: