Closed jhohlfeld closed 1 year ago
Hej,
I haven't tried V8 11.x myself so far to be honest. Yet from a brief look into the config.log file you've posted, the problem seems to be
/opt/v8/include/v8-maybe.h:106:45: error: 'is_lvalue_reference_v' is not a member of 'std'; did you mean 'is_lvalue_reference'?
106 | template <class U, std::enable_if_t<!std::is_lvalue_reference_v<U>>*>
| ^~~~~~~~~~~~~~~~~~~~~
| is_lvalue_reference
https://en.cppreference.com/w/cpp/types/is_lvalue_reference states, that is_lvalue_reference_v
is a c++17 feature. However config.m4 enables c++14 "only".
Please try changing config.m4 to try c++17 (instead of c++14)
php8 branch tries c++17
auto-detection as well now, hence I'm closing this.
Hi,
when following the instructions in https://github.com/phpv8/v8js/blob/php8/README.Linux.md, I run into problems with the ./configure step:
I have compiled v8 version 11.1.155 under Debian 11 inside Docker (see attached Dockerfile).
/opt/v8/{lib,include} is in place and rpath to /opt/v8/lib/*.so was successfully applied.
Is there any known issue regarding the version detection in ./config.m4 for this version of v8?
config.log Dockerfile