-
Notifications
You must be signed in to change notification settings - Fork 203
v8js : Could not determine libv8 version #166
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
Could you please elaborate on what exactly you try to do and what you already did (from/compared to README.Linux)? Especially
|
Hello, On CentOS, i try with : |
See https://github.com/phpv8/v8js/blob/master/README.Linux.md You first need to install an appropriate version of V8; to do so you probably want to build it yourself and install as needed; If you're unsure which version to pick, I'd recommend latest version of 4.6 (stable) line, currently this would be 4.6.85.25 Afterwards you need to compile V8Js itself, its a whole different step (as per above README.Linux.md) file The commands you state are a mixture of both, aren't they? The "library=shared" and "native" part belongs to building V8 itself, but must be passed to make there. "./configure" is needed with V8Js, but there are neither native nor library=shared flags |
I got the same error on ubuntu 12.04 I tried with and without the opt/v8 trick but without luck. ./configure --with-v8js=/opt/v8 /tmp/v8js (master) $ ./configure --with-v8js=/opt/v8 Any idea ??? |
@yograf please provide
How did you compile V8 on precise? AFAICR it doesn't ship a c++-11 capable compile with it |
@stesie thanks. This file contains any messages produced by compilers while It was created by configure, which was $ ./configure --with-v8js=/opt/v8 ---------Platform.---------hostname = il-web-ubndev01 /usr/bin/uname -p = unknown /bin/arch = unknown PATH: /tmp/depot_tools -----------Core tests.-----------configure:2233: checking for grep that handles long lines and -e configure:2639: $? = 0 configure:4349: $? = 0 ----------------Cache variables.----------------ac_cv_build=x86_64-unknown-linux-gnu -----------------Output variables.-----------------AR='' -----------confdefs.h.-----------/* confdefs.h */ configure: exit 1 |
The interesting part is
... so g++ fails to compile due to stuff in v8.h Which version of g++ do you use? ( V8 brings a pre-compiled clang version with it, which doesn't work on vanilla precise. Hence my question in the last post, since it requires glibc 2.5 or higher (AFAIK, not checked again for now) cheers |
@stesie, Nope, g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 |
@stesie what exactly version of g++ i need? Im getting same error. g++ is v4.8.4 |
@ridersx which error do you get? The g++ version 4.8 should be fine; I'd suppose you have a different issue... Please share the config.log file. |
@stesie it's |
@stesie here is a log: https://gist.github.com/RiderSx/66c24d03536154ecd5ee |
@ridersx the actual problem is
... this is your I suppose you compiled V8 and let it build its own version of libicu. However then just copied over So either copy over the other See https://github.com/phpv8/v8js/blob/php7/README.Linux.md for a walk-through on how to install V8. |
I have the same problem, only under Centos 6.6 checking for V8 version... NONE CentOS release 6.6 (Final) checking for V8 version... NONE Please, help. PS
|
@matrixua please open new bug reports for new topics (the "could not determine libv8 version" message is just so very generic and usually caused by mis-installations of V8). Please attach your Anyways, please see issue #204 regarding CentOS 6.6 - it's pretty outdated and you will have to statically link V8Js against PHP, which involves compiling PHP on your own. |
the same problem It was created by configure, which was $ ./configure --with-v8js=/opt/v8 LDFLAGS=-lstdc++ ---------Platform.---------hostname = instance-1fi19hfx /usr/bin/uname -p = x86_64 /bin/arch = x86_64 PATH: /usr/local/depot_tools -----------Core tests.-----------configure:2251: checking for grep that handles long lines and -e configure:2657: $? = 0 configure:4369: $? = 0 ----------------Cache variables.----------------ac_cv_build=x86_64-unknown-linux-gnu -----------------Output variables.-----------------AR='' -----------confdefs.h.-----------/* confdefs.h */ configure: exit 1 |
Hello,
I try to compile v8js, but i have this error :
checking for V8 version... NONE
configure: error: could not determine libv8 version
Any idea ?
Thanks,
Nico
The text was updated successfully, but these errors were encountered: