Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86560 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39031 invoked from network); 10 Jun 2015 15:18:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jun 2015 15:18:28 -0000 Authentication-Results: pb1.pair.com smtp.mail=patrick.allaert@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=patrickallaert@php.net; sender-id=unknown Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.170 as permitted sender) X-PHP-List-Original-Sender: patrick.allaert@gmail.com X-Host-Fingerprint: 209.85.212.170 mail-wi0-f170.google.com Received: from [209.85.212.170] ([209.85.212.170:33422] helo=mail-wi0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B9/94-15306-34558755 for ; Wed, 10 Jun 2015 11:18:27 -0400 Received: by wiwd19 with SMTP id d19so51926442wiw.0 for ; Wed, 10 Jun 2015 08:18:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=S0vI9+NYZ6ylXEJJnQFAxp5HriukQDNZojIaRFNoKzo=; b=JB37g9t/aKWx/DEUVrnR490eyK2n8hTXY7/KO5COL2lO1t1u5Ut0OU6PORo93VMp8R pf0WYdjHDOSSgucCYi8LPOe3y1hZQxMgt03oMs7p5FPfO3d+LvR8/Uyv+IQ7tkJZybPB WsCIkfVYJLyhjqUc5z0Rq8LgRwjqGxx8weuEJ91as9eXewoKcn13nVsswGiBXw2aCN0x dTk3n4zDf5ukshtJiw5iUXS2m5xLIyH0JbIhxh85uHMBwVGXJcsKkPfdp/ZWpBFo3Z/I u7odn+HIxNliNnK1MeGLpRLOmCK2w/uNUidKVq91lJ0Qlz2tA1qUMNwr/xRTBXUmh1rx xTdw== X-Received: by 10.194.5.74 with SMTP id q10mr7106371wjq.27.1433949504298; Wed, 10 Jun 2015 08:18:24 -0700 (PDT) MIME-Version: 1.0 References: <1433948677.370134.291945833.575BFF0A@webmail.messagingengine.com> In-Reply-To: Date: Wed, 10 Jun 2015 15:18:13 +0000 Message-ID: To: robert.devanna@nospammail.net, internals@lists.php.net Content-Type: multipart/alternative; boundary=047d7b45070ed464d805182b6289 Subject: Re: [PHP-DEV] php 7/git buid on linux/64: fatal error @ 'Installing PEAR environment'; From: patrickallaert@php.net (Patrick ALLAERT) --047d7b45070ed464d805182b6289 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Le mer. 10 juin 2015 =C3=A0 17:15, Patrick ALLAERT = a =C3=A9crit : > Le mer. 10 juin 2015 =C3=A0 17:05, a =C3= =A9crit : > >> hi >> >> I'm building PHP7 on linux/64 >> >> git checkout PHP-7.0.0 >> cd PHP-7.0.0 >> git log | head >> commit dbf30365aa15b9044d75b8f77db570bf8fdf2726 >> Merge: 9cb8cb4 5ff259e >> Author: Ferenc Kovacs >> Date: Wed Jun 10 10:49:51 2015 +0200 >> >> Merge remote-tracking branch 'origin/master' into >> PHP-7.0.0 >> >> * origin/master: >> add missing NEWS entries >> add missing NEWS entries >> >> ./configure --enable-shared=3Dyes --enable-static=3Dno --enable-= cli >> --enable-phar=3Dshared --with-pear ... >> make >> ... >> Generating phar.php >> Generating phar.phar >> PEAR package PHP_Archive not installed: generated phar >> will require PHP's phar extension be enabled. >> clicommand.inc >> pharcommand.inc >> invertedregexiterator.inc >> directorygraphiterator.inc >> directorytreeiterator.inc >> phar.inc >> >> Build complete. >> Don't forget to run 'make test'. >> >> make install >> Installing shared extensions: /work/php7ext/ >> Installing PHP CLI binary: /work/php7/bin/ >> Installing PHP CLI man page: >> /work/php7/share/man/man1/ >> Installing PHP FPM binary: /work/php7/sbin/ >> Installing PHP FPM config: /work/php7/etc/ >> Installing PHP FPM man page: >> /work/php7/share/man/man8/ >> Installing PHP FPM status page: >> /work/php7/share/php/fpm/ >> Installing build environment: /work/php7/lib64/build= / >> Installing header files: /work/php7/include/php= / >> Installing helper programs: /work/php7/bin/ >> program: phpize >> program: php-config >> Installing man pages: >> /work/php7/share/man/man1/ >> page: phpize.1 >> page: php-config.1 >> Installing PEAR environment: /work/php7/share/pear/ >> >> Warning: main(phar://install-pear-nozlib.phar/index.php)= : >> failed to open stream: "PHP_Archive::stream_open" call failed in >> /work/src/php7-src/pear/install-pear-nozlib.phar on line 1236 >> >> Warning: Uncaught EngineException: Call to undefined >> function ereg_replace() in >> /work/src/php7-src/pear/install-pear-nozlib.phar:566 >> Stack trace: >> #0 /work/src/php7-src/pear/install-pear-nozlib.phar(729)= : >> PHP_Archive::processFile('phar://install-...') >> #1 /work/src/php7-src/pear/install-pear-nozlib.phar(790)= : >> PHP_Archive->initializeStream('phar://install-...') >> #2 /work/src/php7-src/pear/install-pear-nozlib.phar(777)= : >> PHP_Archive->_streamOpen('phar://install-...') >> #3 >> /work/src/php7-src/pear/install-pear-nozlib.phar(1236): >> PHP_Archive->stream_open('phar://install-...', 'rb', 129, NULL) >> #4 >> /work/src/php7-src/pear/install-pear-nozlib.phar(1236): require_once() >> #5 {main} >> thrown in >> /work/src/php7-src/pear/install-pear-nozlib.phar on line 566 >> Makefile:482: recipe for target 'install-pear-installer' >> failed >> make[1]: *** [install-pear-installer] Error 255 >> Makefile:485: recipe for target 'install-pear' failed >> make: *** [install-pear] Error 2 >> >> known issue or workaround? >> >> bob >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php > > > Bob, > > ereg_*() functions are deprecated since a long time and has been removed > in PHP 7. > > See https://wiki.php.net/rfc/remove_deprecated_functionality_in_php7 > > Patrick > Haven't realized that was during "make install". I guess that many PEAR packages are not maintained and haven't moved away from ereg yet. Try without "--pear" in ./configure. Patrick --047d7b45070ed464d805182b6289--