Skip to content

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

Closed
dotMastaz opened this issue Oct 7, 2015 · 16 comments
Closed

v8js : Could not determine libv8 version #166

dotMastaz opened this issue Oct 7, 2015 · 16 comments

Comments

@dotMastaz
Copy link

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

@stesie
Copy link
Member

stesie commented Oct 7, 2015

Could you please elaborate on what exactly you try to do and what you already did (from/compared to README.Linux)?

Especially

  • what platform are you trying to build on? GNU/Linux?
  • did you compile V8 yourself? how did you do that (snapshots? shared lib?) and how did you install?
  • which options did you pass to ./configure?

@dotMastaz
Copy link
Author

Hello,

On CentOS,
I try with EPEL and from github source

i try with :
./configure
./configure library=shared
./configure native
./configure native library=shared

@stesie
Copy link
Member

stesie commented Oct 14, 2015

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
... if new enough and well maintained you might pick the version from your distro, make sure you use 3.24.10 or newer.

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

@yograf
Copy link

yograf commented Oct 29, 2015

I got the same error on ubuntu 12.04
I compiled v8 myself - 4.6.85.25

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
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/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/incl
ude/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib
checking for PHP extension directory... /usr/lib/php5/20121212
checking for PHP installed headers prefix... /usr/include/php5
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for V8 Javascript Engine... yes, shared
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++0x
checking how to disable c++11 narrowing warning... -Wno-c++11-narrowing
checking for V8 version... NONE
configure: error: could not determine libv8 version

Any idea ???
Thanks

@stesie
Copy link
Member

stesie commented Oct 29, 2015

@yograf please provide

  • output of find /opt/v8 command
  • config.log file

How did you compile V8 on precise? AFAICR it doesn't ship a c++-11 capable compile with it

@yograf
Copy link

yograf commented Oct 29, 2015

@stesie thanks.
I don't remember any error while compiling V8.
~ $ find /opt/v8
/opt/v8
/opt/v8/include
/opt/v8/include/v8-profiler.h
/opt/v8/include/libplatform
/opt/v8/include/libplatform/libplatform.h
/opt/v8/include/v8-util.h
/opt/v8/include/v8-version.h
/opt/v8/include/v8-testing.h
/opt/v8/include/v8.h
/opt/v8/include/v8config.h
/opt/v8/include/v8-platform.h
/opt/v8/include/v8-debug.h
/opt/v8/include/OWNERS
/opt/v8/lib
/opt/v8/lib/libicui18n.so
/opt/v8/lib/libv8.so
/opt/v8/lib/libv8_libplatform.a
/opt/v8/lib/libicuuc.so

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.68. Invocation command line was

$ ./configure --with-v8js=/opt/v8

---------

Platform.

---------

hostname = il-web-ubndev01
uname -m = x86_64
uname -r = 3.8.0-35-generic
uname -s = Linux
uname -v = #52~precise1-Ubuntu SMP Thu Jan 30 17:24:40 UTC 2014

/usr/bin/uname -p = unknown
/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/depot_tools
PATH: /home/yogevp/.rvm/gems/ruby-2.1.1/bin
PATH: /home/yogevp/.rvm/gems/ruby-2.1.1@global/bin
PATH: /home/yogevp/.rvm/rubies/ruby-2.1.1/bin
PATH: /home/yogevp/local/bin
PATH: /home/yogevp/.composer/vendor/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /home/yogevp/.rvm/bin

-----------

Core tests.

-----------

configure:2233: checking for grep that handles long lines and -e
configure:2291: result: /bin/grep
configure:2296: checking for egrep
configure:2358: result: /bin/grep -E
configure:2363: checking for a sed that does not truncate output
configure:2427: result: /bin/sed
configure:2561: checking for cc
configure:2577: found /usr/bin/cc
configure:2588: result: cc
configure:2619: checking for C compiler version
configure:2628: cc --version >&5
cc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 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:2639: $? = 0
configure:2628: cc -v >&5
Using built-in specs.
COLLECT_GCC=cc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configure:2639: $? = 0
configure:2628: cc -V >&5
cc: error: unrecognized option '-V'
cc: fatal error: no input files
compilation terminated.
configure:2639: $? = 4
configure:2628: cc -qversion >&5
cc: error: unrecognized option '-qversion'
cc: fatal error: no input files
compilation terminated.
configure:2639: $? = 4
configure:2659: checking whether the C compiler works
configure:2681: cc conftest.c >&5
configure:2685: $? = 0
configure:2733: result: yes
configure:2736: checking for C compiler default output file name
configure:2738: result: a.out
configure:2744: checking for suffix of executables
configure:2751: cc -o conftest conftest.c >&5
configure:2755: $? = 0
configure:2777: result:
configure:2799: checking whether we are cross compiling
configure:2807: cc -o conftest conftest.c >&5
configure:2811: $? = 0
configure:2818: ./conftest
configure:2822: $? = 0
configure:2837: result: no
configure:2842: checking for suffix of object files
configure:2864: cc -c conftest.c >&5
configure:2868: $? = 0
configure:2889: result: o
configure:2893: checking whether we are using the GNU C compiler
configure:2912: cc -c conftest.c >&5
configure:2912: $? = 0
configure:2921: result: yes
configure:2930: checking whether cc accepts -g
configure:2950: cc -c -g conftest.c >&5
configure:2950: $? = 0
configure:2991: result: yes
configure:3008: checking for cc option to accept ISO C89
configure:3072: cc -c -g -O2 conftest.c >&5
configure:3072: $? = 0
configure:3085: result: none needed
configure:3111: checking how to run the C preprocessor
configure:3142: cc -E conftest.c
configure:3142: $? = 0
configure:3156: cc -E conftest.c
conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:3156: $? = 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:3181: result: cc -E
configure:3201: cc -E conftest.c
configure:3201: $? = 0
configure:3215: cc -E conftest.c
conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:3215: $? = 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:3246: checking for icc
configure:3255: result: no
configure:3269: checking for suncc
configure:3278: result: no
configure:3296: checking whether cc understands -c and -o together
configure:3324: cc -c conftest.c -o conftest2.o >&5
configure:3328: $? = 0
configure:3334: cc -c conftest.c -o conftest2.o >&5
configure:3338: $? = 0
configure:3393: result: yes
configure:3407: checking for system library directory
configure:3422: result: lib
configure:3429: checking if compiler supports -R
configure:3448: cc -o conftest -g -O2 conftest.c -R /usr/lib >&5
cc: error: unrecognized option '-R'
configure:3448: $? = 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:3458: result: no
configure:3463: checking if compiler supports -Wl,-rpath,
configure:3482: cc -o conftest -g -O2 conftest.c -Wl,-rpath,/usr/lib >&5
configure:3482: $? = 0
configure:3492: result: yes
configure:3537: checking build system type
configure:3551: result: x86_64-unknown-linux-gnu
configure:3571: checking host system type
configure:3584: result: x86_64-unknown-linux-gnu
configure:3604: checking target system type
configure:3617: result: x86_64-unknown-linux-gnu
configure:3720: checking for PHP prefix
configure:3722: result: /usr
configure:3724: checking for PHP includes
configure:3726: result: -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib
configure:3728: checking for PHP extension directory
configure:3730: result: /usr/lib/php5/20121212
configure:3732: checking for PHP installed headers prefix
configure:3734: result: /usr/include/php5
configure:3737: checking if debug is enabled
configure:3763: result: no
configure:3766: checking if zts is enabled
configure:3792: result: no
configure:3863: checking for re2c
configure:3893: result: no
configure:3918: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
configure:3932: checking for gawk
configure:3949: found /usr/bin/gawk
configure:3960: result: gawk
configure:4003: checking for V8 Javascript Engine
configure:4043: result: yes, shared
configure:4275: checking for g++
configure:4291: found /usr/bin/g++
configure:4302: result: g++
configure:4329: checking for C++ compiler version
configure:4338: g++ --version >&5
g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 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:4349: $? = 0
configure:4338: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configure:4349: $? = 0
configure:4338: g++ -V >&5
g++: error: unrecognized option '-V'
g++: fatal error: no input files
compilation terminated.
configure:4349: $? = 4
configure:4338: g++ -qversion >&5
g++: error: unrecognized option '-qversion'
g++: fatal error: no input files
compilation terminated.
configure:4349: $? = 4
configure:4353: checking whether we are using the GNU C++ compiler
configure:4372: g++ -c conftest.cpp >&5
configure:4372: $? = 0
configure:4381: result: yes
configure:4390: checking whether g++ accepts -g
configure:4410: g++ -c -g conftest.cpp >&5
configure:4410: $? = 0
configure:4451: result: yes
configure:4479: checking how to run the C++ preprocessor
configure:4506: g++ -E conftest.cpp
configure:4506: $? = 0
configure:4520: g++ -E conftest.cpp
conftest.cpp:9:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4520: $? = 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:4545: result: g++ -E
configure:4565: g++ -E conftest.cpp
configure:4565: $? = 0
configure:4579: g++ -E conftest.cpp
conftest.cpp:9:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4579: $? = 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:4623: checking for C standard version
configure:4648: g++ -o conftest -g -O2 -std=c++11 -Wl,--rpath=/opt/v8/lib conftest.cpp -lstdc++ >&5
cc1plus: error: unrecognized command line option '-std=c++11'
configure:4648: $? = 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 ""
| /
end confdefs.h. /
| int main() { return 0; }
configure:4666: result: c++0x
configure:4669: checking how to disable c++11 narrowing warning
configure:4694: g++ -o conftest -Wno-c++11-narrowing -Wl,--rpath=/opt/v8/lib conftest.cpp -lstdc++ >&5
configure:4694: $? = 0
configure:4694: ./conftest
configure:4694: $? = 0
configure:4710: result: -Wno-c++11-narrowing
configure:4738: checking for V8 version
configure:4766: g++ -o conftest -g -O2 -I/opt/v8/include -std=c++0x -Wl,--rpath=/opt/v8/lib -L/opt/v8/lib conftest.cpp -lv8 >&5
In file included from conftest.cpp:9:0:
/opt/v8/include/v8.h:336:1: error: expected unqualified-id before 'using'
/opt/v8/include/v8.h:469:1: error: expected unqualified-id before 'using'
/opt/v8/include/v8.h:856:1: error: expected unqualified-id before 'using'
configure:4766: $? = 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 ""
| /
end confdefs.h. */
| #include <v8.h>
| #include
| #include
| using namespace std;
|
| int main ()
| {
| ofstream testfile ("conftestval");
| if (testfile.is_open()) {
| testfile << v8::V8::GetVersion();
| testfile << "\n";
| testfile.close();
| return 0;
| }
| return 1;
| }
configure:4777: result: NONE
configure:4800: error: could not determine libv8 version

----------------

Cache variables.

----------------

ac_cv_build=x86_64-unknown-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-unknown-linux-gnu
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_path_SED=/bin/sed
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='cc -E'
ac_cv_prog_CXXCPP='g++ -E'
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-unknown-linux-gnu
ac_cv_v8_cstd=c++0x
ac_cv_v8_narrowing=-Wno-c++11-narrowing
ac_cv_v8_version=NONE
php_cv_cc_dashr=no
php_cv_cc_rpath=yes

-----------------

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++0x'
CXX='g++'
CXXCPP='g++ -E'
CXXFLAGS='-g -O2'
DEFS=''
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
FGREP=''
GREP='/bin/grep'
LD=''
LDFLAGS='-Wl,--rpath=/opt/v8/lib -L/opt/v8/lib'
LIBOBJS=''
LIBS='-lv8'
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
MANIFEST_TOOL=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
RE2C='exit 0;'
SED='/bin/sed'
SHELL='/bin/bash'
SHLIB_DL_SUFFIX_NAME='so'
SHLIB_SUFFIX_NAME='so'
STRIP=''
ac_ct_AR=''
ac_ct_CC='cc'
ac_ct_CXX='g++'
ac_ct_DUMPBIN=''
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-unknown-linux-gnu'
host_alias='x86_64-unknown-linux-gnu'
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
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'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='x86_64-unknown-linux-gnu'
target_alias=''
target_cpu='x86_64'
target_os='linux-gnu'
target_vendor='unknown'

-----------

confdefs.h.

-----------

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""

configure: exit 1

@stesie
Copy link
Member

stesie commented Oct 29, 2015

The interesting part is

configure:4738: checking for V8 version
configure:4766: g++ -o conftest -g -O2 -I/opt/v8/include -std=c++0x -Wl,--rpath=/opt/v8/lib -L/opt/v8/lib conftest.cpp -lv8 >&5
In file included from conftest.cpp:9:0:
/opt/v8/include/v8.h:336:1: error: expected unqualified-id before 'using'
/opt/v8/include/v8.h:469:1: error: expected unqualified-id before 'using'
/opt/v8/include/v8.h:856:1: error: expected unqualified-id before 'using'
configure:4766: $? = 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 ""
| / end confdefs.h. */
| #include 
| #include 
| #include 
| using namespace std;
| 
| int main ()
| {
| ofstream testfile ("conftestval");
| if (testfile.is_open()) {
| testfile << v8::V8::GetVersion();
| testfile << "\n";
| testfile.close();
| return 0;
| }
| return 1;
| }
configure:4777: result: NONE
configure:4800: error: could not determine libv8 version

... so g++ fails to compile due to stuff in v8.h

Which version of g++ do you use? (g++ --version)
I'd assume something old like 4.4 that doesn't support the c++11 standard well enough

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

@yograf
Copy link

yograf commented Nov 1, 2015

@stesie, Nope, g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
But I guess you're right and precise is too old.
I'll try Trusty.

@stesie stesie closed this as completed Nov 9, 2015
@thers
Copy link

thers commented Feb 26, 2016

@stesie what exactly version of g++ i need? Im getting same error. g++ is v4.8.4

@stesie
Copy link
Member

stesie commented Feb 27, 2016

@ridersx which error do you get? The error: expected unqualified-id before 'using' or just checking for V8 version... NONE (which is caused in any case when it cannot figure out how to compile/link against libv8)

g++ version 4.8 should be fine; I'd suppose you have a different issue...

Please share the config.log file.

@thers
Copy link

thers commented Feb 28, 2016

@stesie it's checking for V8 version... NONE. I will show config.log tomorrow, it's on work machine.

@thers
Copy link

thers commented Feb 29, 2016

@stesie
Copy link
Member

stesie commented Feb 29, 2016

@ridersx the actual problem is

configure:4838: ./conftest
./conftest: symbol lookup error: /usr/lib/libv8.so: undefined symbol: _ZTVN6icu_5413UnicodeStringE

... this is your libv8.so references a (undefined) symbol expected in libicuuc.so.

I suppose you compiled V8 and let it build its own version of libicu. However then just copied over libv8.so to /usr/lib.

So either copy over the other libicu*.so files (which might be problematic) or compile V8 against the installed libicu by export GYP_DEFINES="use_system_icu=1" before make of V8 (and then copy libv8.so once more)

See https://github.com/phpv8/v8js/blob/php7/README.Linux.md for a walk-through on how to install V8.

@matrixua
Copy link

matrixua commented Mar 3, 2016

I have the same problem, only under Centos 6.6

checking for V8 version... NONE
configure: error: could not determine libv8 version

CentOS release 6.6 (Final)

checking for V8 version... NONE
configure: error: could not determine libv8 version
ERROR: `/var/tmp/v8js/configure --with-php-config=/usr/bin/php-config --with-v8js' failed

Please, help.
Tell me if you need more some information

PS

whereis libv8
libv8: /usr/lib64/libv8.so

@stesie
Copy link
Member

stesie commented Mar 5, 2016

@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 config.log file which should have a detailed error message.

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.

@p0ise
Copy link

p0ise commented Aug 20, 2019

the same problem
any idea?
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 LDFLAGS=-lstdc++

---------

Platform.

---------

hostname = instance-1fi19hfx
uname -m = x86_64
uname -r = 3.10.0-957.21.3.el7.x86_64
uname -s = Linux
uname -v = #1 SMP Tue Jun 18 16:35:19 UTC 2019

/usr/bin/uname -p = x86_64
/bin/uname -X = unknown

/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/depot_tools
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /root/bin

-----------

Core tests.

-----------

configure:2251: checking for grep that handles long lines and -e
configure:2309: result: /usr/bin/grep
configure:2314: checking for egrep
configure:2376: result: /usr/bin/grep -E
configure:2381: checking for a sed that does not truncate output
configure:2445: result: /usr/bin/sed
configure:2579: checking for cc
configure:2595: found /usr/bin/cc
configure:2606: result: cc
configure:2637: checking for C compiler version
configure:2646: cc --version >&5
cc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)
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:2657: $? = 0
configure:2646: cc -v >&5
Using built-in specs.
COLLECT_GCC=cc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC)
configure:2657: $? = 0
configure:2646: cc -V >&5
cc: error: unrecognized command line option '-V'
cc: fatal error: no input files
compilation terminated.
configure:2657: $? = 4
configure:2646: cc -qversion >&5
cc: error: unrecognized command line option '-qversion'
cc: fatal error: no input files
compilation terminated.
configure:2657: $? = 4
configure:2677: checking whether the C compiler works
configure:2699: cc -lstdc++ conftest.c >&5
configure:2703: $? = 0
configure:2751: result: yes
configure:2754: checking for C compiler default output file name
configure:2756: result: a.out
configure:2762: checking for suffix of executables
configure:2769: cc -o conftest -lstdc++ conftest.c >&5
configure:2773: $? = 0
configure:2795: result:
configure:2817: checking whether we are cross compiling
configure:2825: cc -o conftest -lstdc++ conftest.c >&5
configure:2829: $? = 0
configure:2836: ./conftest
configure:2840: $? = 0
configure:2855: result: no
configure:2860: checking for suffix of object files
configure:2882: cc -c conftest.c >&5
configure:2886: $? = 0
configure:2907: result: o
configure:2911: checking whether we are using the GNU C compiler
configure:2930: cc -c conftest.c >&5
configure:2930: $? = 0
configure:2939: result: yes
configure:2948: checking whether cc accepts -g
configure:2968: cc -c -g conftest.c >&5
configure:2968: $? = 0
configure:3009: result: yes
configure:3026: checking for cc option to accept ISO C89
configure:3089: cc -c -g -O2 conftest.c >&5
configure:3089: $? = 0
configure:3102: result: none needed
configure:3128: checking how to run the C preprocessor
configure:3159: cc -E conftest.c
configure:3159: $? = 0
configure:3173: cc -E conftest.c
conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^
compilation terminated.
configure:3173: $? = 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:3198: result: cc -E
configure:3218: cc -E conftest.c
configure:3218: $? = 0
configure:3232: cc -E conftest.c
conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^
compilation terminated.
configure:3232: $? = 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:3263: checking for icc
configure:3272: result: no
configure:3286: checking for suncc
configure:3295: result: no
configure:3313: checking whether cc understands -c and -o together
configure:3341: cc -c conftest.c -o conftest2.o >&5
configure:3345: $? = 0
configure:3351: cc -c conftest.c -o conftest2.o >&5
configure:3355: $? = 0
configure:3410: result: yes
configure:3424: checking for system library directory
configure:3439: result: lib
configure:3446: checking if compiler supports -R
configure:3465: cc -o conftest -g -O2 -lstdc++ conftest.c -R /usr/lib >&5
cc: error: unrecognized command line option '-R'
configure:3465: $? = 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:3475: result: no
configure:3480: checking if compiler supports -Wl,-rpath,
configure:3499: cc -o conftest -g -O2 -lstdc++ conftest.c -Wl,-rpath,/usr/lib >&5
configure:3499: $? = 0
configure:3509: result: yes
configure:3554: checking build system type
configure:3568: result: x86_64-unknown-linux-gnu
configure:3588: checking host system type
configure:3601: result: x86_64-unknown-linux-gnu
configure:3621: checking target system type
configure:3634: result: x86_64-unknown-linux-gnu
configure:3737: checking for PHP prefix
configure:3739: result: /usr
configure:3741: checking for PHP includes
configure:3743: result: -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
configure:3745: checking for PHP extension directory
configure:3747: result: /usr/lib64/php/modules
configure:3749: checking for PHP installed headers prefix
configure:3751: result: /usr/include/php
configure:3754: checking if debug is enabled
configure:3780: result: no
configure:3783: checking if zts is enabled
configure:3809: result: no
configure:3880: checking for re2c
configure:3896: found /usr/bin/re2c
configure:3907: result: re2c
configure:3916: checking for re2c version
configure:3930: result: 0.14.3 (ok)
configure:3949: checking for gawk
configure:3966: found /usr/bin/gawk
configure:3977: result: gawk
configure:4020: checking for V8 Javascript Engine
configure:4060: result: yes, shared
configure:4295: checking for g++
configure:4311: found /usr/local/bin/g++
configure:4322: result: g++
configure:4349: checking for C++ compiler version
configure:4358: g++ --version >&5
g++ (GCC) 8.3.0
Copyright (C) 2018 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:4369: $? = 0
configure:4358: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-pc-linux-gnu/8.3.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ./configure --disable-multilib --enable-languages=c,c++
Thread model: posix
gcc version 8.3.0 (GCC)
configure:4369: $? = 0
configure:4358: g++ -V >&5
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:4369: $? = 1
configure:4358: g++ -qversion >&5
g++: error: unrecognized command line option '-qversion'; did you mean '--version'?
g++: fatal error: no input files
compilation terminated.
configure:4369: $? = 1
configure:4373: checking whether we are using the GNU C++ compiler
configure:4392: g++ -c conftest.cpp >&5
configure:4392: $? = 0
configure:4401: result: yes
configure:4410: checking whether g++ accepts -g
configure:4430: g++ -c -g conftest.cpp >&5
configure:4430: $? = 0
configure:4471: result: yes
configure:4499: checking how to run the C++ preprocessor
configure:4526: g++ -E conftest.cpp
configure:4526: $? = 0
configure:4540: g++ -E conftest.cpp
conftest.cpp:10:10: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:4540: $? = 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:4565: result: g++ -E
configure:4585: g++ -E conftest.cpp
configure:4585: $? = 0
configure:4599: g++ -E conftest.cpp
conftest.cpp:10:10: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:4599: $? = 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:4643: checking for C standard version
configure:4668: g++ -o conftest -g -O2 -std=c++11 -lstdc++ -Wl,--rpath=/opt/v8/lib conftest.cpp -lstdc++ >&5
configure:4668: $? = 0
configure:4668: ./conftest
configure:4668: $? = 0
configure:4686: result: c++11
configure:4689: checking how to allow c++11 narrowing
configure:4718: g++ -o conftest -std=c++11 -lstdc++ -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:4718: $? = 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:4737: g++ -o conftest -Wno-c++11-narrowing -std=c++11 -lstdc++ -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:4737: $? = 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:4756: g++ -o conftest -Wno-narrowing -std=c++11 -lstdc++ -Wl,--rpath=/opt/v8/lib conftest.cpp -lstdc++ >&5
configure:4756: $? = 0
configure:4756: ./conftest
configure:4756: $? = 0
configure:4788: result: -Wno-narrowing
configure:4806: checking for libv8_libplatform
configure:4826: g++ -o conftest -g -O2 -I/opt/v8/include -std=c++11 -lstdc++ -Wl,--rpath=/opt/v8/lib -L/opt/v8/lib conftest.cpp -lstdc++ -lv8_libplatform -lv8 >&5
configure:4826: $? = 0
configure:4828: result: found
configure:4876: checking for V8 version
configure:4904: g++ -o conftest -g -O2 -I/opt/v8/include -std=c++11 -lstdc++ -Wl,--rpath=/opt/v8/lib -L/opt/v8/lib conftest.cpp -lstdc++ -lv8_libplatform -Wl,-rpath,/opt/v8/lib -L/opt/v8/lib -lv8 >&5
configure:4904: $? = 0
configure:4904: ./conftest
./conftest: symbol lookup error: /opt/v8/lib/libv8.so: undefined symbol: _ZN6icu_648ByteSink15GetAppendBufferEiiPciPi
configure:4904: $? = 127
configure: program exited with status 127
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 <v8.h>
| #include
| #include
| using namespace std;
|
| int main ()
| {
| ofstream testfile ("conftestval");
| if (testfile.is_open()) {
| testfile << v8::V8::GetVersion();
| testfile << "\n";
| testfile.close();
| return 0;
| }
| return 1;
| }
configure:4915: result: NONE
configure:4946: error: could not determine libv8 version

----------------

Cache variables.

----------------

ac_cv_build=x86_64-unknown-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=set
ac_cv_env_LDFLAGS_value=-lstdc++
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-unknown-linux-gnu
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_SED=/usr/bin/sed
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-unknown-linux-gnu
ac_cv_v8_cstd=c++11
ac_cv_v8_narrowing=-Wno-narrowing
ac_cv_v8_version=NONE
php_cv_cc_dashr=no
php_cv_cc_rpath=yes
php_cv_re2c_version='0.14.3 (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=''
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
EXEEXT=''
FGREP=''
GREP='/usr/bin/grep'
LD=''
LDFLAGS='-lstdc++ -Wl,--rpath=/opt/v8/lib -L/opt/v8/lib'
LIBOBJS=''
LIBS='-lstdc++ -lv8_libplatform -Wl,-rpath,/opt/v8/lib -L/opt/v8/lib -lv8 '
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
MANIFEST_TOOL=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
RE2C='re2c'
SED='/usr/bin/sed'
SHELL='/bin/sh'
SHLIB_DL_SUFFIX_NAME='so'
SHLIB_SUFFIX_NAME='so'
STRIP=''
ac_ct_AR=''
ac_ct_CC='cc'
ac_ct_CXX='g++'
ac_ct_DUMPBIN=''
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-unknown-linux-gnu'
host_alias='x86_64-unknown-linux-gnu'
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
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'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='x86_64-unknown-linux-gnu'
target_alias=''
target_cpu='x86_64'
target_os='linux-gnu'
target_vendor='unknown'

-----------

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants