phpv8 / v8js

V8 Javascript Engine for PHP — This PHP extension embeds the Google V8 Javascript Engine
http://pecl.php.net/package/v8js
MIT License
1.84k stars 200 forks source link

Compiler error while installing from pecl #390

Closed ghost closed 5 years ago

ghost commented 5 years ago

[root@localhost ~]# sudo pecl install v8js-0.1.3 WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-upd ate pecl.php.net" to update downloading v8js-0.1.3.tgz ... Starting to download v8js-0.1.3.tgz (17,968 bytes) ......done: 17,968 bytes 8 source files, building running: phpize Can't find PHP headers in /usr/include/php The php-devel package is required for use of this command. ERROR: `phpize' failed [root@localhost ~]# yum --enablerepo=remi,remi-php55 install php-devel Loaded plugins: fastestmirror Setting up Install Process Loading mirror speeds from cached hostfile

Dependencies Resolved

================================================================================ Package Arch Version Repository Size

Installing: php-devel x86_64 5.5.38-11.el6.remi remi-php55 1.2 M Installing for dependencies: autoconf noarch 2.63-5.1.el6 base 781 k automake noarch 1.11.1-4.el6 base 550 k php-pecl-jsonc-devel x86_64 1.3.10-2.el6.remi.5.5 remi-php55 31 k

Transaction Summary

Install 4 Package(s)

Total download size: 2.5 M Installed size: 12 M Is this ok [y/N]: y Downloading Packages: (1/4): autoconf-2.63-5.1.el6.noarch.rpm | 781 kB 00:00 (2/4): automake-1.11.1-4.el6.noarch.rpm | 550 kB 00:00 (3/4): php-devel-5.5.38-11.el6.remi.x86_64.rpm | 1.2 MB 00:00 (4/4): php-pecl-jsonc-devel-1.3.10-2.el6.remi.5.5.x86_64 | 31 kB 00:00

Total 267 kB/s | 2.5 MB 00:09 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : autoconf-2.63-5.1.el6.noarch 1/4 Installing : automake-1.11.1-4.el6.noarch 2/4 Installing : php-devel-5.5.38-11.el6.remi.x86_64 3/4 Installing : php-pecl-jsonc-devel-1.3.10-2.el6.remi.5.5.x86_64 4/4 Verifying : php-pecl-jsonc-devel-1.3.10-2.el6.remi.5.5.x86_64 1/4 Verifying : php-devel-5.5.38-11.el6.remi.x86_64 2/4 Verifying : autoconf-2.63-5.1.el6.noarch 3/4 Verifying : automake-1.11.1-4.el6.noarch 4/4

Installed: php-devel.x86_64 0:5.5.38-11.el6.remi

Dependency Installed: autoconf.noarch 0:2.63-5.1.el6 automake.noarch 0:1.11.1-4.el6 php-pecl-jsonc-devel.x86_64 0:1.3.10-2.el6.remi.5.5

Complete! [root@localhost ~]# sudo pecl install v8js-0.1.3 WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-upd ate pecl.php.net" to update downloading v8js-0.1.3.tgz ... Starting to download v8js-0.1.3.tgz (17,968 bytes) ......done: 17,968 bytes 8 source files, building running: phpize Configuring for: PHP Api Version: 20121113 Zend Module Api No: 20121212 Zend Extension Api No: 220121212 Please provide the installation prefix of libv8 [autodetect] : building in /var/tmp/pear-build-rootJc77ag/v8js-0.1.3 running: /var/tmp/v8js/configure --with-php-config=/usr/bin/php-config --with-v8 js 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... no checking for gcc... no configure: error: in /var/tmp/pear-build-rootJc77ag/v8js-0.1.3': configure: error: no acceptable C compiler found in $PATH Seeconfig.log' for more details. ERROR: `/var/tmp/v8js/configure --with-php-config=/usr/bin/php-config --with-v8j s' failed [root@localhost ~]# ^C [root@localhost ~]# configure: error: no acceptable C compiler found in $PATH -bash: configure:: command not found [root@localhost ~]# yum groupinstall "Development Tools" Loaded plugins: fastestmirror Setting up Group Process Loading mirror speeds from cached hostfile

Dependencies Resolved

================================================================================ Package Arch Version Repository Size

Installing: bison x86_64 2.4.1-5.el6 base 637 k byacc x86_64 1.9.20070509-7.el6 base 48 k cscope x86_64 15.6-7.el6 base 136 k ctags x86_64 5.8-2.el6 base 147 k cvs x86_64 1.11.23-16.el6 base 712 k diffstat x86_64 1.51-2.el6 base 29 k doxygen x86_64 1:1.6.1-6.el6 base 2.4 M elfutils x86_64 0.164-2.el6 base 240 k flex x86_64 2.5.35-9.el6 base 285 k gcc x86_64 4.4.7-23.el6 base 10 M gcc-c++ x86_64 4.4.7-23.el6 base 4.7 M gcc-gfortran x86_64 4.4.7-23.el6 base 4.7 M gettext x86_64 0.17-18.el6 base 1.8 M git x86_64 1.7.1-9.el6_9 base 4.6 M indent x86_64 2.2.10-7.el6 base 115 k intltool noarch 0.41.0-1.1.el6 base 58 k libtool x86_64 2.2.6-15.5.el6 base 564 k patch x86_64 2.6-8.el6_9 base 91 k patchutils x86_64 0.3.1-3.1.el6 base 95 k rcs x86_64 5.7-37.el6 base 173 k redhat-rpm-config noarch 9.0.3-51.el6.centos base 60 k rpm-build x86_64 4.8.0-59.el6 base 131 k subversion x86_64 1.6.11-15.el6_7 base 2.3 M swig x86_64 1.3.40-6.el6 base 1.1 M systemtap x86_64 2.9-9.el6 base 23 k Installing for dependencies: alsa-lib x86_64 1.1.0-4.el6 base 389 k atk x86_64 1.30.0-1.el6 base 195 k avahi-libs x86_64 0.6.25-17.el6 base 55 k cairo x86_64 1.8.8-6.el6_6 base 309 k cloog-ppl x86_64 0.15.7-1.2.el6 base 93 k cups-libs x86_64 1:1.4.2-80.el6_10 updates 323 k elfutils-libs x86_64 0.164-2.el6 base 230 k fontconfig x86_64 2.8.0-5.el6 base 186 k freetype x86_64 2.3.11-17.el6 base 361 k gdb x86_64 7.2-92.el6 base 2.3 M gdk-pixbuf2 x86_64 2.24.1-6.el6_7 base 501 k gettext-devel x86_64 0.17-18.el6 base 155 k gettext-libs x86_64 0.17-18.el6 base 112 k glibc-devel x86_64 2.12-1.212.el6 base 991 k glibc-headers x86_64 2.12-1.212.el6 base 620 k gnutls x86_64 2.12.23-22.el6 base 389 k gtk2 x86_64 2.24.23-9.el6 base 3.2 M hicolor-icon-theme noarch 0.11-1.1.el6 base 40 k jasper-libs x86_64 1.900.1-22.el6 base 139 k kernel-devel x86_64 2.6.32-754.10.1.el6 updates 11 M kernel-headers x86_64 2.6.32-754.10.1.el6 updates 4.5 M libICE x86_64 1.0.6-1.el6 base 53 k libSM x86_64 1.2.1-2.el6 base 37 k libX11 x86_64 1.6.4-3.el6 base 587 k libX11-common noarch 1.6.4-3.el6 base 171 k libXau x86_64 1.0.6-4.el6 base 24 k libXcomposite x86_64 0.4.3-4.el6 base 20 k libXcursor x86_64 1.1.14-2.1.el6 base 28 k libXdamage x86_64 1.1.3-4.el6 base 18 k libXext x86_64 1.3.3-1.el6 base 35 k libXfixes x86_64 5.0.3-1.el6 base 17 k libXft x86_64 2.3.2-1.el6 base 55 k libXi x86_64 1.7.8-1.el6 base 38 k libXinerama x86_64 1.1.3-2.1.el6 base 13 k libXrandr x86_64 1.5.1-1.el6 base 25 k libXrender x86_64 0.9.10-1.el6 base 24 k libXtst x86_64 1.2.3-1.el6 base 19 k libart_lgpl x86_64 2.3.20-5.1.el6 base 65 k libgcj x86_64 4.4.7-23.el6 base 19 M libgfortran x86_64 4.4.7-23.el6 base 268 k libgomp x86_64 4.4.7-23.el6 base 135 k libjpeg-turbo x86_64 1.2.1-3.el6_5 base 174 k libpng x86_64 2:1.2.49-2.el6_7 base 182 k libproxy x86_64 0.3.0-10.el6 base 39 k libproxy-bin x86_64 0.3.0-10.el6 base 9.0 k libproxy-python x86_64 0.3.0-10.el6 base 9.1 k libstdc++-devel x86_64 4.4.7-23.el6 base 1.6 M libthai x86_64 0.1.12-3.el6 base 183 k libtiff x86_64 3.9.4-21.el6_8 base 346 k libxcb x86_64 1.12-4.el6 base 180 k neon x86_64 0.29.3-3.el6_4 base 119 k pakchois x86_64 0.4-3.2.el6 base 21 k pango x86_64 1.28.1-11.el6 base 351 k perl-Compress-Raw-Zlib x86_64 1:2.021-144.el6 base 70 k perl-Compress-Zlib x86_64 2.021-144.el6 base 46 k perl-Error noarch 1:0.17015-4.el6 base 29 k perl-Git noarch 1.7.1-9.el6_9 base 29 k perl-HTML-Parser x86_64 3.64-2.el6 base 109 k perl-HTML-Tagset noarch 3.20-4.el6 base 17 k perl-IO-Compress-Base x86_64 2.021-144.el6 base 70 k perl-IO-Compress-Zlib x86_64 2.021-144.el6 base 136 k perl-URI noarch 1.40-2.el6 base 117 k perl-XML-Parser x86_64 2.36-7.el6 base 224 k perl-libwww-perl noarch 5.833-5.el6 base 390 k pixman x86_64 0.32.8-1.el6 base 243 k ppl x86_64 0.10.2-11.el6 base 1.3 M rsync x86_64 3.0.6-12.el6 base 335 k systemtap-client x86_64 2.9-9.el6 base 3.7 M systemtap-devel x86_64 2.9-9.el6 base 1.7 M systemtap-runtime x86_64 2.9-9.el6 base 206 k unzip x86_64 6.0-5.el6 base 152 k xz x86_64 4.999.9-0.5.beta.20091007git.el6 base 137 k xz-lzma-compat x86_64 4.999.9-0.5.beta.20091007git.el6 base 16 k zip x86_64 3.0-1.el6_7.1 base 259 k

Transaction Summary

Install 99 Package(s)

Total download size: 93 M Installed size: 266 M Is this ok [y/N]: y Downloading Packages: (1/99): alsa-lib-1.1.0-4.el6.x86_64.rpm | 389 kB 00:00 (2/99): atk-1.30.0-1.el6.x86_64.rpm | 195 kB 00:00 (3/99): avahi-libs-0.6.25-17.el6.x86_64.rpm | 55 kB 00:00 (4/99): bison-2.4.1-5.el6.x86_64.rpm | 637 kB 00:00 (5/99): byacc-1.9.20070509-7.el6.x86_64.rpm | 48 kB 00:00 (6/99): cairo-1.8.8-6.el6_6.x86_64.rpm | 309 kB 00:00 (7/99): cloog-ppl-0.15.7-1.2.el6.x86_64.rpm | 93 kB 00:00 (8/99): cscope-15.6-7.el6.x86_64.rpm | 136 kB 00:00 (9/99): ctags-5.8-2.el6.x86_64.rpm | 147 kB 00:00 (10/99): cups-libs-1.4.2-80.el6_10.x86_64.rpm | 323 kB 00:00 (11/99): cvs-1.11.23-16.el6.x86_64.rpm | 712 kB 00:00 (12/99): diffstat-1.51-2.el6.x86_64.rpm | 29 kB 00:00 (13/99): doxygen-1.6.1-6.el6.x86_64.rpm | 2.4 MB 00:00 (14/99): elfutils-0.164-2.el6.x86_64.rpm | 240 kB 00:00 (15/99): elfutils-libs-0.164-2.el6.x86_64.rpm | 230 kB 00:00 (16/99): flex-2.5.35-9.el6.x86_64.rpm | 285 kB 00:00 (17/99): fontconfig-2.8.0-5.el6.x86_64.rpm | 186 kB 00:00 (18/99): freetype-2.3.11-17.el6.x86_64.rpm | 361 kB 00:00 (19/99): gcc-4.4.7-23.el6.x86_64.rpm | 10 MB 00:00 (20/99): gcc-c++-4.4.7-23.el6.x86_64.rpm | 4.7 MB 00:00 (21/99): gcc-gfortran-4.4.7-23.el6.x86_64.rpm | 4.7 MB 00:00 (22/99): gdb-7.2-92.el6.x86_64.rpm | 2.3 MB 00:00 (23/99): gdk-pixbuf2-2.24.1-6.el6_7.x86_64.rpm | 501 kB 00:00 (24/99): gettext-0.17-18.el6.x86_64.rpm | 1.8 MB 00:00 (25/99): gettext-devel-0.17-18.el6.x86_64.rpm | 155 kB 00:00 (26/99): gettext-libs-0.17-18.el6.x86_64.rpm | 112 kB 00:00 (27/99): git-1.7.1-9.el6_9.x86_64.rpm | 4.6 MB 00:00 (28/99): glibc-devel-2.12-1.212.el6.x86_64.rpm | 991 kB 00:00 (29/99): glibc-headers-2.12-1.212.el6.x86_64.rpm | 620 kB 00:00 (30/99): gnutls-2.12.23-22.el6.x86_64.rpm | 389 kB 00:00 (31/99): gtk2-2.24.23-9.el6.x86_64.rpm | 3.2 MB 00:00 (32/99): hicolor-icon-theme-0.11-1.1.el6.noarch.rpm | 40 kB 00:00 (33/99): indent-2.2.10-7.el6.x86_64.rpm | 115 kB 00:00 (34/99): intltool-0.41.0-1.1.el6.noarch.rpm | 58 kB 00:00 (35/99): jasper-libs-1.900.1-22.el6.x86_64.rpm | 139 kB 00:00 (36/99): kernel-devel-2.6.32-754.10.1.el6.x86_64.rpm | 11 MB 00:00 (37/99): kernel-headers-2.6.32-754.10.1.el6.x86_64.rpm | 4.5 MB 00:00 (38/99): libICE-1.0.6-1.el6.x86_64.rpm | 53 kB 00:00 (39/99): libSM-1.2.1-2.el6.x86_64.rpm | 37 kB 00:00 (40/99): libX11-1.6.4-3.el6.x86_64.rpm | 587 kB 00:00 (41/99): libX11-common-1.6.4-3.el6.noarch.rpm | 171 kB 00:00 (42/99): libXau-1.0.6-4.el6.x86_64.rpm | 24 kB 00:00 (43/99): libXcomposite-0.4.3-4.el6.x86_64.rpm | 20 kB 00:00 (44/99): libXcursor-1.1.14-2.1.el6.x86_64.rpm | 28 kB 00:00 (45/99): libXdamage-1.1.3-4.el6.x86_64.rpm | 18 kB 00:00 (46/99): libXext-1.3.3-1.el6.x86_64.rpm | 35 kB 00:00 (47/99): libXfixes-5.0.3-1.el6.x86_64.rpm | 17 kB 00:00 (48/99): libXft-2.3.2-1.el6.x86_64.rpm | 55 kB 00:00 (49/99): libXi-1.7.8-1.el6.x86_64.rpm | 38 kB 00:00 (50/99): libXinerama-1.1.3-2.1.el6.x86_64.rpm | 13 kB 00:00 (51/99): libXrandr-1.5.1-1.el6.x86_64.rpm | 25 kB 00:00 (52/99): libXrender-0.9.10-1.el6.x86_64.rpm | 24 kB 00:00 (53/99): libXtst-1.2.3-1.el6.x86_64.rpm | 19 kB 00:00 (54/99): libart_lgpl-2.3.20-5.1.el6.x86_64.rpm | 65 kB 00:00 (55/99): libgcj-4.4.7-23.el6.x86_64.rpm | 19 MB 00:00 (56/99): libgfortran-4.4.7-23.el6.x86_64.rpm | 268 kB 00:00 (57/99): libgomp-4.4.7-23.el6.x86_64.rpm | 135 kB 00:00 (58/99): libjpeg-turbo-1.2.1-3.el6_5.x86_64.rpm | 174 kB 00:00 (59/99): libpng-1.2.49-2.el6_7.x86_64.rpm | 182 kB 00:00 (60/99): libproxy-0.3.0-10.el6.x86_64.rpm | 39 kB 00:00 (61/99): libproxy-bin-0.3.0-10.el6.x86_64.rpm | 9.0 kB 00:00 (62/99): libproxy-python-0.3.0-10.el6.x86_64.rpm | 9.1 kB 00:00 (63/99): libstdc++-devel-4.4.7-23.el6.x86_64.rpm | 1.6 MB 00:00 (64/99): libthai-0.1.12-3.el6.x86_64.rpm | 183 kB 00:00 (65/99): libtiff-3.9.4-21.el6_8.x86_64.rpm | 346 kB 00:00 (66/99): libtool-2.2.6-15.5.el6.x86_64.rpm | 564 kB 00:00 (67/99): libxcb-1.12-4.el6.x86_64.rpm | 180 kB 00:00 (68/99): neon-0.29.3-3.el6_4.x86_64.rpm | 119 kB 00:00 (69/99): pakchois-0.4-3.2.el6.x86_64.rpm | 21 kB 00:00 (70/99): pango-1.28.1-11.el6.x86_64.rpm | 351 kB 00:00 (71/99): patch-2.6-8.el6_9.x86_64.rpm | 91 kB 00:00 (72/99): patchutils-0.3.1-3.1.el6.x86_64.rpm | 95 kB 00:00 (73/99): perl-Compress-Raw-Zlib-2.021-144.el6.x86_64.rpm | 70 kB 00:00 (74/99): perl-Compress-Zlib-2.021-144.el6.x86_64.rpm | 46 kB 00:00 (75/99): perl-Error-0.17015-4.el6.noarch.rpm | 29 kB 00:00 (76/99): perl-Git-1.7.1-9.el6_9.noarch.rpm | 29 kB 00:00 (77/99): perl-HTML-Parser-3.64-2.el6.x86_64.rpm | 109 kB 00:00 (78/99): perl-HTML-Tagset-3.20-4.el6.noarch.rpm | 17 kB 00:00 (79/99): perl-IO-Compress-Base-2.021-144.el6.x86_64.rpm | 70 kB 00:00 (80/99): perl-IO-Compress-Zlib-2.021-144.el6.x86_64.rpm | 136 kB 00:00 (81/99): perl-URI-1.40-2.el6.noarch.rpm | 117 kB 00:00 (82/99): perl-XML-Parser-2.36-7.el6.x86_64.rpm | 224 kB 00:00 (83/99): perl-libwww-perl-5.833-5.el6.noarch.rpm | 390 kB 00:00 (84/99): pixman-0.32.8-1.el6.x86_64.rpm | 243 kB 00:00 (85/99): ppl-0.10.2-11.el6.x86_64.rpm | 1.3 MB 00:00 (86/99): rcs-5.7-37.el6.x86_64.rpm | 173 kB 00:00 (87/99): redhat-rpm-config-9.0.3-51.el6.centos.noarch.rp | 60 kB 00:00 (88/99): rpm-build-4.8.0-59.el6.x86_64.rpm | 131 kB 00:00 (89/99): rsync-3.0.6-12.el6.x86_64.rpm | 335 kB 00:00 (90/99): subversion-1.6.11-15.el6_7.x86_64.rpm | 2.3 MB 00:00 (91/99): swig-1.3.40-6.el6.x86_64.rpm | 1.1 MB 00:00 (92/99): systemtap-2.9-9.el6.x86_64.rpm | 23 kB 00:00 (93/99): systemtap-client-2.9-9.el6.x86_64.rpm | 3.7 MB 00:00 (94/99): systemtap-devel-2.9-9.el6.x86_64.rpm | 1.7 MB 00:00 (95/99): systemtap-runtime-2.9-9.el6.x86_64.rpm | 206 kB 00:00 (96/99): unzip-6.0-5.el6.x86_64.rpm | 152 kB 00:00 (97/99): xz-4.999.9-0.5.beta.20091007git.el6.x86_64.rpm | 137 kB 00:00 (98/99): xz-lzma-compat-4.999.9-0.5.beta.20091007git.el6 | 16 kB 00:00 (99/99): zip-3.0-1.el6_7.1.x86_64.rpm | 259 kB 00:00

Total 19 MB/s | 93 MB 00:04 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : freetype-2.3.11-17.el6.x86_64 1/99 Installing : fontconfig-2.8.0-5.el6.x86_64 2/99 Installing : libjpeg-turbo-1.2.1-3.el6_5.x86_64 3/99 Installing : libproxy-bin-0.3.0-10.el6.x86_64 4/99 Installing : libproxy-python-0.3.0-10.el6.x86_64 5/99 Installing : libproxy-0.3.0-10.el6.x86_64 6/99 Installing : perl-URI-1.40-2.el6.noarch 7/99 Installing : avahi-libs-0.6.25-17.el6.x86_64 8/99 Installing : 2:libpng-1.2.49-2.el6_7.x86_64 9/99 Installing : elfutils-libs-0.164-2.el6.x86_64 10/99 Installing : libtiff-3.9.4-21.el6_8.x86_64 11/99 Installing : patch-2.6-8.el6_9.x86_64 12/99 Installing : libICE-1.0.6-1.el6.x86_64 13/99 Installing : perl-IO-Compress-Base-2.021-144.el6.x86_64 14/99 Installing : libgomp-4.4.7-23.el6.x86_64 15/99 Installing : atk-1.30.0-1.el6.x86_64 16/99 Installing : 1:perl-Compress-Raw-Zlib-2.021-144.el6.x86_64 17/99 Installing : unzip-6.0-5.el6.x86_64 18/99 Installing : xz-4.999.9-0.5.beta.20091007git.el6.x86_64 19/99 Installing : zip-3.0-1.el6_7.1.x86_64 20/99 Installing : gnutls-2.12.23-22.el6.x86_64 21/99 Installing : 1:perl-Error-0.17015-4.el6.noarch 22/99 Installing : 1:cups-libs-1.4.2-80.el6_10.x86_64 23/99 Installing : xz-lzma-compat-4.999.9-0.5.beta.20091007git.el6.x86_64 24/99 Installing : perl-IO-Compress-Zlib-2.021-144.el6.x86_64 25/99 Installing : perl-Compress-Zlib-2.021-144.el6.x86_64 26/99 Installing : libSM-1.2.1-2.el6.x86_64 27/99 Installing : elfutils-0.164-2.el6.x86_64 28/99 Installing : jasper-libs-1.900.1-22.el6.x86_64 29/99 Installing : kernel-devel-2.6.32-754.10.1.el6.x86_64 30/99 Installing : libgfortran-4.4.7-23.el6.x86_64 31/99 Installing : libstdc++-devel-4.4.7-23.el6.x86_64 32/99 Installing : libthai-0.1.12-3.el6.x86_64 33/99 Installing : gettext-libs-0.17-18.el6.x86_64 34/99 Installing : gdb-7.2-92.el6.x86_64 35/99 Installing : rsync-3.0.6-12.el6.x86_64 36/99 Installing : perl-Git-1.7.1-9.el6_9.noarch 37/99 Installing : git-1.7.1-9.el6_9.x86_64 38/99 Installing : cvs-1.11.23-16.el6.x86_64 39/99 Installing : gettext-0.17-18.el6.x86_64 40/99 Installing : ppl-0.10.2-11.el6.x86_64 41/99 Installing : cloog-ppl-0.15.7-1.2.el6.x86_64 42/99 Installing : libX11-common-1.6.4-3.el6.noarch 43/99 Installing : libXau-1.0.6-4.el6.x86_64 44/99 Installing : libxcb-1.12-4.el6.x86_64 45/99 Installing : libX11-1.6.4-3.el6.x86_64 46/99 Installing : libXrender-0.9.10-1.el6.x86_64 47/99 Installing : libXext-1.3.3-1.el6.x86_64 48/99 Installing : libXfixes-5.0.3-1.el6.x86_64 49/99 Installing : libXrandr-1.5.1-1.el6.x86_64 50/99 Installing : libXi-1.7.8-1.el6.x86_64 51/99 Installing : gdk-pixbuf2-2.24.1-6.el6_7.x86_64 52/99 Installing : libXtst-1.2.3-1.el6.x86_64 53/99 Installing : libXdamage-1.1.3-4.el6.x86_64 54/99 Installing : libXcursor-1.1.14-2.1.el6.x86_64 55/99 Installing : libXinerama-1.1.3-2.1.el6.x86_64 56/99 Installing : libXft-2.3.2-1.el6.x86_64 57/99 Installing : libXcomposite-0.4.3-4.el6.x86_64 58/99 Installing : perl-HTML-Tagset-3.20-4.el6.noarch 59/99 Installing : perl-HTML-Parser-3.64-2.el6.x86_64 60/99 Installing : perl-libwww-perl-5.833-5.el6.noarch 61/99 Installing : perl-XML-Parser-2.36-7.el6.x86_64 62/99 Installing : kernel-headers-2.6.32-754.10.1.el6.x86_64 63/99 Installing : glibc-headers-2.12-1.212.el6.x86_64 64/99 Installing : glibc-devel-2.12-1.212.el6.x86_64 65/99 Installing : gcc-4.4.7-23.el6.x86_64 66/99 Installing : systemtap-devel-2.9-9.el6.x86_64 67/99 Installing : pixman-0.32.8-1.el6.x86_64 68/99 Installing : cairo-1.8.8-6.el6_6.x86_64 69/99 Installing : pango-1.28.1-11.el6.x86_64 70/99 Installing : libart_lgpl-2.3.20-5.1.el6.x86_64 71/99 Installing : systemtap-runtime-2.9-9.el6.x86_64 72/99 Installing : systemtap-client-2.9-9.el6.x86_64 73/99 Installing : alsa-lib-1.1.0-4.el6.x86_64 74/99 Installing : redhat-rpm-config-9.0.3-51.el6.centos.noarch 75/99 Installing : hicolor-icon-theme-0.11-1.1.el6.noarch 76/99 Installing : gtk2-2.24.23-9.el6.x86_64 77/99 Installing : libgcj-4.4.7-23.el6.x86_64 78/99 Installing : gettext-devel-0.17-18.el6.x86_64 79/99 Installing : pakchois-0.4-3.2.el6.x86_64 80/99 Installing : neon-0.29.3-3.el6_4.x86_64 81/99 Installing : subversion-1.6.11-15.el6_7.x86_64 82/99 Installing : intltool-0.41.0-1.1.el6.noarch 83/99 Installing : rpm-build-4.8.0-59.el6.x86_64 84/99 Installing : systemtap-2.9-9.el6.x86_64 85/99 Installing : gcc-gfortran-4.4.7-23.el6.x86_64 86/99 Installing : gcc-c++-4.4.7-23.el6.x86_64 87/99 Installing : libtool-2.2.6-15.5.el6.x86_64 88/99 Installing : byacc-1.9.20070509-7.el6.x86_64 89/99 Installing : 1:doxygen-1.6.1-6.el6.x86_64 90/99 Installing : indent-2.2.10-7.el6.x86_64 91/99 Installing : bison-2.4.1-5.el6.x86_64 92/99 Installing : diffstat-1.51-2.el6.x86_64 93/99 Installing : swig-1.3.40-6.el6.x86_64 94/99 Installing : rcs-5.7-37.el6.x86_64 95/99 Installing : ctags-5.8-2.el6.x86_64 96/99 Installing : cscope-15.6-7.el6.x86_64 97/99 Installing : flex-2.5.35-9.el6.x86_64 98/99 Installing : patchutils-0.3.1-3.1.el6.x86_64 99/99 Verifying : perl-Compress-Zlib-2.021-144.el6.x86_64 1/99 Verifying : pakchois-0.4-3.2.el6.x86_64 2/99 Verifying : gcc-4.4.7-23.el6.x86_64 3/99 Verifying : libXdamage-1.1.3-4.el6.x86_64 4/99 Verifying : glibc-headers-2.12-1.212.el6.x86_64 5/99 Verifying : libSM-1.2.1-2.el6.x86_64 6/99 Verifying : libproxy-0.3.0-10.el6.x86_64 7/99 Verifying : 1:perl-Error-0.17015-4.el6.noarch 8/99 Verifying : gnutls-2.12.23-22.el6.x86_64 9/99 Verifying : hicolor-icon-theme-0.11-1.1.el6.noarch 10/99 Verifying : redhat-rpm-config-9.0.3-51.el6.centos.noarch 11/99 Verifying : libtiff-3.9.4-21.el6_8.x86_64 12/99 Verifying : patchutils-0.3.1-3.1.el6.x86_64 13/99 Verifying : libproxy-bin-0.3.0-10.el6.x86_64 14/99 Verifying : libXrandr-1.5.1-1.el6.x86_64 15/99 Verifying : alsa-lib-1.1.0-4.el6.x86_64 16/99 Verifying : flex-2.5.35-9.el6.x86_64 17/99 Verifying : libXrender-0.9.10-1.el6.x86_64 18/99 Verifying : cscope-15.6-7.el6.x86_64 19/99 Verifying : 1:cups-libs-1.4.2-80.el6_10.x86_64 20/99 Verifying : libXtst-1.2.3-1.el6.x86_64 21/99 Verifying : perl-IO-Compress-Zlib-2.021-144.el6.x86_64 22/99 Verifying : zip-3.0-1.el6_7.1.x86_64 23/99 Verifying : systemtap-runtime-2.9-9.el6.x86_64 24/99 Verifying : libart_lgpl-2.3.20-5.1.el6.x86_64 25/99 Verifying : freetype-2.3.11-17.el6.x86_64 26/99 Verifying : pixman-0.32.8-1.el6.x86_64 27/99 Verifying : xz-4.999.9-0.5.beta.20091007git.el6.x86_64 28/99 Verifying : intltool-0.41.0-1.1.el6.noarch 29/99 Verifying : ctags-5.8-2.el6.x86_64 30/99 Verifying : glibc-devel-2.12-1.212.el6.x86_64 31/99 Verifying : libXfixes-5.0.3-1.el6.x86_64 32/99 Verifying : kernel-headers-2.6.32-754.10.1.el6.x86_64 33/99 Verifying : cloog-ppl-0.15.7-1.2.el6.x86_64 34/99 Verifying : gtk2-2.24.23-9.el6.x86_64 35/99 Verifying : libproxy-python-0.3.0-10.el6.x86_64 36/99 Verifying : rpm-build-4.8.0-59.el6.x86_64 37/99 Verifying : perl-HTML-Tagset-3.20-4.el6.noarch 38/99 Verifying : rcs-5.7-37.el6.x86_64 39/99 Verifying : libXau-1.0.6-4.el6.x86_64 40/99 Verifying : systemtap-2.9-9.el6.x86_64 41/99 Verifying : neon-0.29.3-3.el6_4.x86_64 42/99 Verifying : swig-1.3.40-6.el6.x86_64 43/99 Verifying : pango-1.28.1-11.el6.x86_64 44/99 Verifying : diffstat-1.51-2.el6.x86_64 45/99 Verifying : gcc-gfortran-4.4.7-23.el6.x86_64 46/99 Verifying : subversion-1.6.11-15.el6_7.x86_64 47/99 Verifying : cairo-1.8.8-6.el6_6.x86_64 48/99 Verifying : perl-libwww-perl-5.833-5.el6.noarch 49/99 Verifying : libXcursor-1.1.14-2.1.el6.x86_64 50/99 Verifying : systemtap-devel-2.9-9.el6.x86_64 51/99 Verifying : unzip-6.0-5.el6.x86_64 52/99 Verifying : libX11-common-1.6.4-3.el6.noarch 53/99 Verifying : perl-HTML-Parser-3.64-2.el6.x86_64 54/99 Verifying : gcc-c++-4.4.7-23.el6.x86_64 55/99 Verifying : gdk-pixbuf2-2.24.1-6.el6_7.x86_64 56/99 Verifying : 1:perl-Compress-Raw-Zlib-2.021-144.el6.x86_64 57/99 Verifying : elfutils-libs-0.164-2.el6.x86_64 58/99 Verifying : libX11-1.6.4-3.el6.x86_64 59/99 Verifying : ppl-0.10.2-11.el6.x86_64 60/99 Verifying : gettext-0.17-18.el6.x86_64 61/99 Verifying : atk-1.30.0-1.el6.x86_64 62/99 Verifying : gettext-devel-0.17-18.el6.x86_64 63/99 Verifying : cvs-1.11.23-16.el6.x86_64 64/99 Verifying : libXcomposite-0.4.3-4.el6.x86_64 65/99 Verifying : rsync-3.0.6-12.el6.x86_64 66/99 Verifying : libtool-2.2.6-15.5.el6.x86_64 67/99 Verifying : gdb-7.2-92.el6.x86_64 68/99 Verifying : bison-2.4.1-5.el6.x86_64 69/99 Verifying : gettext-libs-0.17-18.el6.x86_64 70/99 Verifying : indent-2.2.10-7.el6.x86_64 71/99 Verifying : fontconfig-2.8.0-5.el6.x86_64 72/99 Verifying : libthai-0.1.12-3.el6.x86_64 73/99 Verifying : libstdc++-devel-4.4.7-23.el6.x86_64 74/99 Verifying : 2:libpng-1.2.49-2.el6_7.x86_64 75/99 Verifying : perl-Git-1.7.1-9.el6_9.noarch 76/99 Verifying : systemtap-client-2.9-9.el6.x86_64 77/99 Verifying : avahi-libs-0.6.25-17.el6.x86_64 78/99 Verifying : 1:doxygen-1.6.1-6.el6.x86_64 79/99 Verifying : libgomp-4.4.7-23.el6.x86_64 80/99 Verifying : libgfortran-4.4.7-23.el6.x86_64 81/99 Verifying : libXi-1.7.8-1.el6.x86_64 82/99 Verifying : xz-lzma-compat-4.999.9-0.5.beta.20091007git.el6.x86_64 83/99 Verifying : libXinerama-1.1.3-2.1.el6.x86_64 84/99 Verifying : perl-URI-1.40-2.el6.noarch 85/99 Verifying : libXext-1.3.3-1.el6.x86_64 86/99 Verifying : perl-IO-Compress-Base-2.021-144.el6.x86_64 87/99 Verifying : kernel-devel-2.6.32-754.10.1.el6.x86_64 88/99 Verifying : elfutils-0.164-2.el6.x86_64 89/99 Verifying : libjpeg-turbo-1.2.1-3.el6_5.x86_64 90/99 Verifying : jasper-libs-1.900.1-22.el6.x86_64 91/99 Verifying : byacc-1.9.20070509-7.el6.x86_64 92/99 Verifying : libXft-2.3.2-1.el6.x86_64 93/99 Verifying : libICE-1.0.6-1.el6.x86_64 94/99 Verifying : perl-XML-Parser-2.36-7.el6.x86_64 95/99 Verifying : libxcb-1.12-4.el6.x86_64 96/99 Verifying : patch-2.6-8.el6_9.x86_64 97/99 Verifying : git-1.7.1-9.el6_9.x86_64 98/99 Verifying : libgcj-4.4.7-23.el6.x86_64 99/99

Installed: bison.x86_64 0:2.4.1-5.el6 byacc.x86_64 0:1.9.20070509-7.el6 cscope.x86_64 0:15.6-7.el6 ctags.x86_64 0:5.8-2.el6 cvs.x86_64 0:1.11.23-16.el6 diffstat.x86_64 0:1.51-2.el6 doxygen.x86_64 1:1.6.1-6.el6 elfutils.x86_64 0:0.164-2.el6 flex.x86_64 0:2.5.35-9.el6 gcc.x86_64 0:4.4.7-23.el6 gcc-c++.x86_64 0:4.4.7-23.el6 gcc-gfortran.x86_64 0:4.4.7-23.el6 gettext.x86_64 0:0.17-18.el6 git.x86_64 0:1.7.1-9.el6_9 indent.x86_64 0:2.2.10-7.el6 intltool.noarch 0:0.41.0-1.1.el6 libtool.x86_64 0:2.2.6-15.5.el6 patch.x86_64 0:2.6-8.el6_9 patchutils.x86_64 0:0.3.1-3.1.el6 rcs.x86_64 0:5.7-37.el6 redhat-rpm-config.noarch 0:9.0.3-51.el6.centos rpm-build.x86_64 0:4.8.0-59.el6 subversion.x86_64 0:1.6.11-15.el6_7 swig.x86_64 0:1.3.40-6.el6 systemtap.x86_64 0:2.9-9.el6

Dependency Installed: alsa-lib.x86_64 0:1.1.0-4.el6 atk.x86_64 0:1.30.0-1.el6 avahi-libs.x86_64 0:0.6.25-17.el6 cairo.x86_64 0:1.8.8-6.el6_6 cloog-ppl.x86_64 0:0.15.7-1.2.el6 cups-libs.x86_64 1:1.4.2-80.el6_10 elfutils-libs.x86_64 0:0.164-2.el6 fontconfig.x86_64 0:2.8.0-5.el6 freetype.x86_64 0:2.3.11-17.el6 gdb.x86_64 0:7.2-92.el6 gdk-pixbuf2.x86_64 0:2.24.1-6.el6_7 gettext-devel.x86_64 0:0.17-18.el6 gettext-libs.x86_64 0:0.17-18.el6 glibc-devel.x86_64 0:2.12-1.212.el6 glibc-headers.x86_64 0:2.12-1.212.el6 gnutls.x86_64 0:2.12.23-22.el6 gtk2.x86_64 0:2.24.23-9.el6 hicolor-icon-theme.noarch 0:0.11-1.1.el6 jasper-libs.x86_64 0:1.900.1-22.el6 kernel-devel.x86_64 0:2.6.32-754.10.1.el6 kernel-headers.x86_64 0:2.6.32-754.10.1.el6 libICE.x86_64 0:1.0.6-1.el6 libSM.x86_64 0:1.2.1-2.el6 libX11.x86_64 0:1.6.4-3.el6 libX11-common.noarch 0:1.6.4-3.el6 libXau.x86_64 0:1.0.6-4.el6 libXcomposite.x86_64 0:0.4.3-4.el6 libXcursor.x86_64 0:1.1.14-2.1.el6 libXdamage.x86_64 0:1.1.3-4.el6 libXext.x86_64 0:1.3.3-1.el6 libXfixes.x86_64 0:5.0.3-1.el6 libXft.x86_64 0:2.3.2-1.el6 libXi.x86_64 0:1.7.8-1.el6 libXinerama.x86_64 0:1.1.3-2.1.el6 libXrandr.x86_64 0:1.5.1-1.el6 libXrender.x86_64 0:0.9.10-1.el6 libXtst.x86_64 0:1.2.3-1.el6 libart_lgpl.x86_64 0:2.3.20-5.1.el6 libgcj.x86_64 0:4.4.7-23.el6 libgfortran.x86_64 0:4.4.7-23.el6 libgomp.x86_64 0:4.4.7-23.el6 libjpeg-turbo.x86_64 0:1.2.1-3.el6_5 libpng.x86_64 2:1.2.49-2.el6_7 libproxy.x86_64 0:0.3.0-10.el6 libproxy-bin.x86_64 0:0.3.0-10.el6 libproxy-python.x86_64 0:0.3.0-10.el6 libstdc++-devel.x86_64 0:4.4.7-23.el6 libthai.x86_64 0:0.1.12-3.el6 libtiff.x86_64 0:3.9.4-21.el6_8 libxcb.x86_64 0:1.12-4.el6 neon.x86_64 0:0.29.3-3.el6_4 pakchois.x86_64 0:0.4-3.2.el6 pango.x86_64 0:1.28.1-11.el6 perl-Compress-Raw-Zlib.x86_64 1:2.021-144.el6 perl-Compress-Zlib.x86_64 0:2.021-144.el6 perl-Error.noarch 1:0.17015-4.el6 perl-Git.noarch 0:1.7.1-9.el6_9 perl-HTML-Parser.x86_64 0:3.64-2.el6 perl-HTML-Tagset.noarch 0:3.20-4.el6 perl-IO-Compress-Base.x86_64 0:2.021-144.el6 perl-IO-Compress-Zlib.x86_64 0:2.021-144.el6 perl-URI.noarch 0:1.40-2.el6 perl-XML-Parser.x86_64 0:2.36-7.el6 perl-libwww-perl.noarch 0:5.833-5.el6 pixman.x86_64 0:0.32.8-1.el6 ppl.x86_64 0:0.10.2-11.el6 rsync.x86_64 0:3.0.6-12.el6 systemtap-client.x86_64 0:2.9-9.el6 systemtap-devel.x86_64 0:2.9-9.el6 systemtap-runtime.x86_64 0:2.9-9.el6 unzip.x86_64 0:6.0-5.el6 xz.x86_64 0:4.999.9-0.5.beta.20091007git.el6 xz-lzma-compat.x86_64 0:4.999.9-0.5.beta.20091007git.el6 zip.x86_64 0:3.0-1.el6_7.1

Complete! [root@localhost ~]# sudo pecl install v8js-0.1.3 WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-upd ate pecl.php.net" to update downloading v8js-0.1.3.tgz ... Starting to download v8js-0.1.3.tgz (17,968 bytes) ......done: 17,968 bytes 8 source files, building running: phpize Configuring for: PHP Api Version: 20121113 Zend Module Api No: 20121212 Zend Extension Api No: 220121212 Please provide the installation prefix of libv8 [autodetect] : building in /var/tmp/pear-build-rootLkKcv3/v8js-0.1.3 running: /var/tmp/v8js/configure --with-php-config=/usr/bin/php-config --with-v8 js 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 for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 -I/usr/include/php/main -I/usr/i nclude/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/ph p/ext/date/lib checking for PHP extension directory... /usr/lib64/php/modules checking for PHP installed headers prefix... /usr/include/php 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 V8 files in default path... not found configure: error: Please reinstall the v8 distribution ERROR: `/var/tmp/v8js/configure --with-php-config=/usr/bin/php-config --with-v8j s' failed [root@localhost ~]# ^C [root@localhost ~]# sudo apt-get install libv8-dev libv8-dbg g++ cpp sudo: apt-get: command not found [root@localhost ~]# yum install libv8-dev libv8-dbg g++ cpp Loaded plugins: fastestmirror Setting up Install Process Loading mirror speeds from cached hostfile

Dependencies Resolved

================================================================================ Package Arch Version Repository Size

Installing: v8-devel x86_64 1:3.14.5.10-25.el6 epel 61 k Installing for dependencies: libicu x86_64 4.2.1-14.el6 base 4.9 M v8 x86_64 1:3.14.5.10-25.el6 epel 3.0 M

Transaction Summary

Install 3 Package(s)

Total download size: 8.0 M Installed size: 29 M Is this ok [y/N]: y Downloading Packages: (1/3): libicu-4.2.1-14.el6.x86_64.rpm | 4.9 MB 00:00 (2/3): v8-3.14.5.10-25.el6.x86_64.rpm | 3.0 MB 00:00 (3/3): v8-devel-3.14.5.10-25.el6.x86_64.rpm | 61 kB 00:00

Total 6.6 MB/s | 8.0 MB 00:01 warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOK EY Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 Importing GPG key 0x0608B895: Userid : EPEL (6) epel@fedoraproject.org Package: epel-release-6-8.noarch (installed) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 Is this ok [y/N]: y Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : libicu-4.2.1-14.el6.x86_64 1/3 Installing : 1:v8-3.14.5.10-25.el6.x86_64 2/3 Installing : 1:v8-devel-3.14.5.10-25.el6.x86_64 3/3 Verifying : 1:v8-devel-3.14.5.10-25.el6.x86_64 1/3 Verifying : libicu-4.2.1-14.el6.x86_64 2/3 Verifying : 1:v8-3.14.5.10-25.el6.x86_64 3/3

Installed: v8-devel.x86_64 1:3.14.5.10-25.el6

Dependency Installed: libicu.x86_64 0:4.2.1-14.el6 v8.x86_64 1:3.14.5.10-25.el6

Complete! [root@localhost ~]# sudo pecl install v8js-0.1.3 WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-upd ate pecl.php.net" to update downloading v8js-0.1.3.tgz ... Starting to download v8js-0.1.3.tgz (17,968 bytes) ......done: 17,968 bytes 8 source files, building running: phpize Configuring for: PHP Api Version: 20121113 Zend Module Api No: 20121212 Zend Extension Api No: 220121212 Please provide the installation prefix of libv8 [autodetect] : building in /var/tmp/pear-build-rootg0MMAv/v8js-0.1.3 running: /var/tmp/v8js/configure --with-php-config=/usr/bin/php-config --with-v8 js 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 for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 -I/usr/include/php/main -I/usr/i nclude/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/ph p/ext/date/lib checking for PHP extension directory... /usr/lib64/php/modules checking for PHP installed headers prefix... /usr/include/php 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 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 V8 version... NONE checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1966080 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from cc object... ok checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking how to run the C++ preprocessor... g++ -E checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libra ries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libr aries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libr aries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands running: make /bin/sh /var/tmp/pear-build-rootg0MMAv/v8js-0.1.3/libtool --mode=compile g++ -I . -I/var/tmp/v8js -DPHP_ATOM_INC -I/var/tmp/pear-build-rootg0MMAv/v8js-0.1.3/inc lude -I/var/tmp/pear-build-rootg0MMAv/v8js-0.1.3/main -I/var/tmp/v8js -I/usr/inc lude/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 -DHAVE_CONFIG_H -g -O2 -c /var/tmp/v8js/v8js.cc -o v8js.lo libtool: compile: g++ -I. -I/var/tmp/v8js -DPHP_ATOM_INC -I/var/tmp/pear-build- rootg0MMAv/v8js-0.1.3/include -I/var/tmp/pear-build-rootg0MMAv/v8js-0.1.3/main - I/var/tmp/v8js -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSR M -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/v8js/v8js.cc -fPIC -DPIC -o .libs/v8js.o /var/tmp/v8js/v8js.cc:100: warning: deprecated conversion from string constant t o ‘char’ /var/tmp/v8js/v8js.cc:100: warning: deprecated conversion from string constant t o ‘char’ /var/tmp/v8js/v8js.cc:100: warning: deprecated conversion from string constant t o ‘char*’ /var/tmp/v8js/v8js.cc: In function ‘void php_v8js_persistent_zval_ctor(zval)’: /var/tmp/v8js/v8js.cc:778: warning: deprecated conversion from string constant t o ‘char*’ /var/tmp/v8js/v8js.cc: In function ‘void php_v8js_persistent_zval_dtor(zval*)’: /var/tmp/v8js/v8js.cc:791: warning: deprecated conversion from string constant t o ‘char’ /var/tmp/v8js/v8js.cc: In function ‘int zm_startup_v8js(int, int)’: /var/tmp/v8js/v8js.cc:1143: error: ‘PHP_V8_VERSION’ was not declared in this sco pe /var/tmp/v8js/v8js.cc: In function ‘void zm_info_v8js(zend_module_entry)’: /var/tmp/v8js/v8js.cc:1239: error: ‘PHP_V8_VERSION’ was not declared in this sco pe make: [v8js.lo] Error 1 ERROR: make' failed [root@localhost ~]# ^C [root@localhost ~]# sudo pecl install v8js-1.3.6 WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update pecl/v8js requires PHP (version >= 7.0), installed version is 5.5.38 No valid packages found install failed [root@localhost ~]# sudo pecl install v8js-0.1.2 WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update downloading v8js-0.1.2.tgz ... Starting to download v8js-0.1.2.tgz (17,745 bytes) ......done: 17,745 bytes 8 source files, building running: phpize Configuring for: PHP Api Version: 20121113 Zend Module Api No: 20121212 Zend Extension Api No: 220121212 Please provide the installation prefix of libv8 [autodetect] : building in /var/tmp/pear-build-roote4KVBN/v8js-0.1.2 running: /var/tmp/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 for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 -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 checking for PHP extension directory... /usr/lib64/php/modules checking for PHP installed headers prefix... /usr/include/php 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 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 V8 version... NONE checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1966080 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from cc object... ok checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking how to run the C++ preprocessor... g++ -E checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands running: make /bin/sh /var/tmp/pear-build-roote4KVBN/v8js-0.1.2/libtool --mode=compile g++ -I. -I/var/tmp/v8js -DPHP_ATOM_INC -I/var/tmp/pear-build-roote4KVBN/v8js-0.1.2/include -I/var/tmp/pear-build-roote4KVBN/v8js-0.1.2/main -I/var/tmp/v8js -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 -DHAVE_CONFIG_H -g -O2 -c /var/tmp/v8js/v8js.cc -o v8js.lo libtool: compile: g++ -I. -I/var/tmp/v8js -DPHP_ATOM_INC -I/var/tmp/pear-build-roote4KVBN/v8js-0.1.2/include -I/var/tmp/pear-build-roote4KVBN/v8js-0.1.2/main -I/var/tmp/v8js -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 -DHAVE_CONFIG_H -g -O2 -c /var/tmp/v8js/v8js.cc -fPIC -DPIC -o .libs/v8js.o /var/tmp/v8js/v8js.cc:100: warning: deprecated conversion from string constant to ‘char*’ /var/tmp/v8js/v8js.cc:100: warning: deprecated conversion from string constant to ‘char*’ /var/tmp/v8js/v8js.cc:100: warning: deprecated conversion from string constant to ‘char*’ /var/tmp/v8js/v8js.cc: In function ‘void zim_V8Js___construct(int, zval*, zval**, zval*, int)’: /var/tmp/v8js/v8js.cc:628: error: invalid conversion from ‘char**’ to ‘const char**’ /var/tmp/v8js/v8js.cc:628: error: initializing argument 2 of ‘int zend_get_object_classname(const zval*, const char**, zend_uint*)’ /var/tmp/v8js/v8js.cc: In function ‘void php_v8js_persistent_zval_ctor(zval**)’: /var/tmp/v8js/v8js.cc:770: warning: deprecated conversion from string constant to ‘char*’ /var/tmp/v8js/v8js.cc: In function ‘void php_v8js_persistent_zval_dtor(zval**)’: /var/tmp/v8js/v8js.cc:783: warning: deprecated conversion from string constant to ‘char*’ /var/tmp/v8js/v8js.cc: In function ‘void php_v8js_write_property(zval*, zval*, zval*)’: /var/tmp/v8js/v8js.cc:958: error: too few arguments to function /var/tmp/v8js/v8js.cc: In function ‘void php_v8js_unset_property(zval*, zval*)’: /var/tmp/v8js/v8js.cc:975: error: too few arguments to function /var/tmp/v8js/v8js.cc: In function ‘int zm_startup_v8js(int, int)’: /var/tmp/v8js/v8js.cc:1114: error: invalid conversion from ‘zval* (*)(zval*, zval*, int)’ to ‘zval* (*)(zval*, zval*, int, const _zend_literal*)’ /var/tmp/v8js/v8js.cc:1115: error: invalid conversion from ‘void (*)(zval*, zval*, zval*)’ to ‘void (*)(zval*, zval*, zval*, const _zend_literal*)’ /var/tmp/v8js/v8js.cc:1116: error: invalid conversion from ‘void (*)(zval*, zval*)’ to ‘void (*)(zval*, zval*, const _zend_literal*)’ /var/tmp/v8js/v8js.cc:1118: error: invalid conversion from ‘zend_function* (*)(zval**, char*, int)’ to ‘_zend_function* (*)(zval**, char*, int, const _zend_literal*)’ /var/tmp/v8js/v8js.cc:1119: error: invalid conversion from ‘int (*)(char*, int, zval*, zval**, zval*, int)’ to ‘int (*)(const char*, int, zval*, zval**, zval*, int)’ /var/tmp/v8js/v8js.cc:1131: error: invalid conversion from ‘void (*)(zval*, zval*, zval*)’ to ‘void (*)(zval*, zval*, zval*, const _zend_literal*)’ /var/tmp/v8js/v8js.cc:1132: error: invalid conversion from ‘void (*)(zval*, zval*)’ to ‘void (*)(zval*, zval*, const _zend_literal*)’ /var/tmp/v8js/v8js.cc:1135: error: ‘PHP_V8_VERSION’ was not declared in this scope /var/tmp/v8js/v8js.cc: In function ‘void zm_info_v8js(zend_module_entry*)’: /var/tmp/v8js/v8js.cc:1231: error: ‘PHP_V8_VERSION’ was not declared in this scope make: *** [v8js.lo] Error 1 ERROR:make' failed [root@localhost ~]# sudo pecl install v8js-0.1.4 WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update downloading v8js-0.1.4.tgz ... Starting to download v8js-0.1.4.tgz (22,421 bytes) ........done: 22,421 bytes 8 source files, building running: phpize Configuring for: PHP Api Version: 20121113 Zend Module Api No: 20121212 Zend Extension Api No: 220121212 Please provide the installation prefix of libv8 [autodetect] : building in /var/tmp/pear-build-rootQz9vhx/v8js-0.1.4 running: /var/tmp/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 for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 -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 checking for PHP extension directory... /usr/lib64/php/modules checking for PHP installed headers prefix... /usr/include/php 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 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 V8 version... NONE checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1966080 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from cc object... ok checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking how to run the C++ preprocessor... g++ -E checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands running: make /bin/sh /var/tmp/pear-build-rootQz9vhx/v8js-0.1.4/libtool --mode=compile g++ -std=c++11 -I. -I/var/tmp/v8js -DPHP_ATOM_INC -I/var/tmp/pear-build-rootQz9vhx/v8js-0.1.4/include -I/var/tmp/pear-build-rootQz9vhx/v8js-0.1.4/main -I/var/tmp/v8js -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 -DHAVE_CONFIG_H -g -O2 -c /var/tmp/v8js/v8js.cc -o v8js.lo libtool: compile: g++ -std=c++11 -I. -I/var/tmp/v8js -DPHP_ATOM_INC -I/var/tmp/pear-build-rootQz9vhx/v8js-0.1.4/include -I/var/tmp/pear-build-rootQz9vhx/v8js-0.1.4/main -I/var/tmp/v8js -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 -DHAVE_CONFIG_H -g -O2 -c /var/tmp/v8js/v8js.cc -fPIC -DPIC -o .libs/v8js.o cc1plus: error: unrecognized command line option "-std=c++11" make: [v8js.lo] Error 1 ERROR: `make' failed [root@localhost ~]# sudo pecl install v8js-0.1.5 WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update downloading v8js-0.1.5.tgz ... Starting to download v8js-0.1.5.tgz (37,829 bytes) ..........done: 37,829 bytes 13 source files, building running: phpize Configuring for: PHP Api Version: 20121113 Zend Module Api No: 20121212 Zend Extension Api No: 220121212 Please provide the installation prefix of libv8 [autodetect] : building in /var/tmp/pear-build-rootL6sBDj/v8js-0.1.5 running: /var/tmp/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 for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 -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 checking for PHP extension directory... /usr/lib64/php/modules checking for PHP installed headers prefix... /usr/include/php 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 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 V8 version... NONE checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1966080 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from cc object... ok checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking how to run the C++ preprocessor... g++ -E checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands running: make /bin/sh /var/tmp/pear-build-rootL6sBDj/v8js-0.1.5/libtool --mode=compile g++ -std=c++11 -I. -I/var/tmp/v8js -DPHP_ATOM_INC -I/var/tmp/pear-build-rootL6sBDj/v8js-0.1.5/include -I/var/tmp/pear-build-rootL6sBDj/v8js-0.1.5/main -I/var/tmp/v8js -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 -DHAVE_CONFIG_H -g -O2 -c /var/tmp/v8js/v8js.cc -o v8js.lo libtool: compile: g++ -std=c++11 -I. -I/var/tmp/v8js -DPHP_ATOM_INC -I/var/tmp/pear-build-rootL6sBDj/v8js-0.1.5/include -I/var/tmp/pear-build-rootL6sBDj/v8js-0.1.5/main -I/var/tmp/v8js -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 -DHAVE_CONFIG_H -g -O2 -c /var/tmp/v8js/v8js.cc -fPIC -DPIC -o .libs/v8js.o cc1plus: error: unrecognized command line option "-std=c++11" make: [v8js.lo] Error 1 ERROR: make' failed [root@localhost ~]# sudo pecl install v8js-0.1.6 Failed to download pecl/v8js, version "0.1.6", latest release is version 2.1.0, stability "stable", use "channel://pecl.php.net/v8js-2.1.0" to install install failed [root@localhost ~]# sudo pecl install v8js-0.1.7 Failed to download pecl/v8js, version "0.1.7", latest release is version 2.1.0, stability "stable", use "channel://pecl.php.net/v8js-2.1.0" to install install failed [root@localhost ~]# sudo pecl install v8js-1.1.0 WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update pecl/v8js requires PHP (version >= 7.0), installed version is 5.5.38 No valid packages found install failed [root@localhost ~]# sudo pecl install v8js-1.0.3 Failed to download pecl/v8js, version "1.0.3", latest release is version 2.1.0, stability "stable", use "channel://pecl.php.net/v8js-2.1.0" to install install failed [root@localhost ~]# sudo pecl install v8js-1.0.1 Failed to download pecl/v8js, version "1.0.1", latest release is version 2.1.0, stability "stable", use "channel://pecl.php.net/v8js-2.1.0" to install install failed [root@localhost ~]# sudo pecl install v8js-1.0.0 WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update pecl/v8js requires PHP (version >= 7.0), installed version is 5.5.38 No valid packages found install failed [root@localhost ~]# sudo pecl install v8js-0.1.3 WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update downloading v8js-0.1.3.tgz ... Starting to download v8js-0.1.3.tgz (17,968 bytes) ......done: 17,968 bytes 8 source files, building running: phpize Configuring for: PHP Api Version: 20121113 Zend Module Api No: 20121212 Zend Extension Api No: 220121212 Please provide the installation prefix of libv8 [autodetect] : building in /var/tmp/pear-build-rootnQnnPL/v8js-0.1.3 running: /var/tmp/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 for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 -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 checking for PHP extension directory... /usr/lib64/php/modules checking for PHP installed headers prefix... /usr/include/php 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 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 V8 version... NONE checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1966080 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from cc object... ok checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking how to run the C++ preprocessor... g++ -E checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands running: make /bin/sh /var/tmp/pear-build-rootnQnnPL/v8js-0.1.3/libtool --mode=compile g++ -I. -I/var/tmp/v8js -DPHP_ATOM_INC -I/var/tmp/pear-build-rootnQnnPL/v8js-0.1.3/include -I/var/tmp/pear-build-rootnQnnPL/v8js-0.1.3/main -I/var/tmp/v8js -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 -DHAVE_CONFIG_H -g -O2 -c /var/tmp/v8js/v8js.cc -o v8js.lo libtool: compile: g++ -I. -I/var/tmp/v8js -DPHP_ATOM_INC -I/var/tmp/pear-build-rootnQnnPL/v8js-0.1.3/include -I/var/tmp/pear-build-rootnQnnPL/v8js-0.1.3/main -I/var/tmp/v8js -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 -DHAVE_CONFIG_H -g -O2 -c /var/tmp/v8js/v8js.cc -fPIC -DPIC -o .libs/v8js.o /var/tmp/v8js/v8js.cc:100: warning: deprecated conversion from string constant to ‘char*’ /var/tmp/v8js/v8js.cc:100: warning: deprecated conversion from string constant to ‘char*’ /var/tmp/v8js/v8js.cc:100: warning: deprecated conversion from string constant to ‘char*’ /var/tmp/v8js/v8js.cc: In function ‘void php_v8js_persistent_zval_ctor(zval**)’: /var/tmp/v8js/v8js.cc:778: warning: deprecated conversion from string constant to ‘char*’ /var/tmp/v8js/v8js.cc: In function ‘void php_v8js_persistent_zval_dtor(zval**)’: /var/tmp/v8js/v8js.cc:791: warning: deprecated conversion from string constant to ‘char*’ /var/tmp/v8js/v8js.cc: In function ‘int zm_startup_v8js(int, int)’: /var/tmp/v8js/v8js.cc:1143: error: ‘PHP_V8_VERSION’ was not declared in this scope /var/tmp/v8js/v8js.cc: In function ‘void zm_info_v8js(zend_module_entry*)’: /var/tmp/v8js/v8js.cc:1239: error: ‘PHP_V8_VERSION’ was not declared in this scope make: *** [v8js.lo] Error 1 ERROR:make' failed [root@localhost ~]# clear [root@localhost ~]# sudo pecl install v8js-0.1.3 WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update downloading v8js-0.1.3.tgz ... Starting to download v8js-0.1.3.tgz (17,968 bytes) ......done: 17,968 bytes 8 source files, building running: phpize Configuring for: PHP Api Version: 20121113 Zend Module Api No: 20121212 Zend Extension Api No: 220121212 Please provide the installation prefix of libv8 [autodetect] : building in /var/tmp/pear-build-rootuDnZgJ/v8js-0.1.3 running: /var/tmp/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 for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 -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 checking for PHP extension directory... /usr/lib64/php/modules checking for PHP installed headers prefix... /usr/include/php 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 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 V8 version... NONE checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1966080 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from cc object... ok checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking how to run the C++ preprocessor... g++ -E checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands running: make /bin/sh /var/tmp/pear-build-rootuDnZgJ/v8js-0.1.3/libtool --mode=compile g++ -I. -I/var/tmp/v8js -DPHP_ATOM_INC -I/var/tmp/pear-build-rootuDnZgJ/v8js-0.1.3/include -I/var/tmp/pear-build-rootuDnZgJ/v8js-0.1.3/main -I/var/tmp/v8js -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 -DHAVE_CONFIG_H -g -O2 -c /var/tmp/v8js/v8js.cc -o v8js.lo libtool: compile: g++ -I. -I/var/tmp/v8js -DPHP_ATOM_INC -I/var/tmp/pear-build-rootuDnZgJ/v8js-0.1.3/include -I/var/tmp/pear-build-rootuDnZgJ/v8js-0.1.3/main -I/var/tmp/v8js -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 -DHAVE_CONFIG_H -g -O2 -c /var/tmp/v8js/v8js.cc -fPIC -DPIC -o .libs/v8js.o /var/tmp/v8js/v8js.cc:100: warning: deprecated conversion from string constant to ‘char’ /var/tmp/v8js/v8js.cc:100: warning: deprecated conversion from string constant to ‘char’ /var/tmp/v8js/v8js.cc:100: warning: deprecated conversion from string constant to ‘char*’ /var/tmp/v8js/v8js.cc: In function ‘void php_v8js_persistent_zval_ctor(zval)’: /var/tmp/v8js/v8js.cc:778: warning: deprecated conversion from string constant to ‘char*’ /var/tmp/v8js/v8js.cc: In function ‘void php_v8js_persistent_zval_dtor(zval*)’: /var/tmp/v8js/v8js.cc:791: warning: deprecated conversion from string constant to ‘char’ /var/tmp/v8js/v8js.cc: In function ‘int zm_startup_v8js(int, int)’: /var/tmp/v8js/v8js.cc:1143: error: ‘PHP_V8_VERSION’ was not declared in this scope /var/tmp/v8js/v8js.cc: In function ‘void zm_info_v8js(zend_module_entry)’: /var/tmp/v8js/v8js.cc:1239: error: ‘PHP_V8_VERSION’ was not declared in this scope make: [v8js.lo] Error 1 ERROR: `make' failed [root@localhost ~]#

CentOS 6.10

php -v

PHP 5.5.38 (cli) (built: Jan 11 2019 14:40:23) Copyright (c) 1997-2015 The PHP Group Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies