Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:18701 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45179 invoked by uid 1010); 7 Sep 2005 21:37:16 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 45164 invoked from network); 7 Sep 2005 21:37:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Sep 2005 21:37:16 -0000 X-Host-Fingerprint: 69.64.38.41 bluga.net Linux 2.5 (sometimes 2.4) (4) Received: from ([69.64.38.41:37229] helo=bluga.net) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 41/E1-23233-C8D5F134 for ; Wed, 07 Sep 2005 17:37:16 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by bluga.net (Postfix) with ESMTP id D89EF21CA90; Wed, 7 Sep 2005 16:37:33 -0500 (CDT) Received: from bluga.net ([127.0.0.1]) by localhost (bluga.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00673-03; Wed, 7 Sep 2005 16:37:33 -0500 (CDT) Received: from [129.93.125.71] (pcp063014pcs.unl.edu [129.93.125.71]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by bluga.net (Postfix) with ESMTP id 9674621CA7E; Wed, 7 Sep 2005 16:37:33 -0500 (CDT) Message-ID: <431F5D80.7070603@php.net> Date: Wed, 07 Sep 2005 16:37:04 -0500 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: destiney@gmail.com CC: php-dev References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new using ClamAV at bluga.net Subject: Re: install-pear.phar errors From: cellog@php.net (Greg Beaver) Greg Donald wrote: > Sorry for the previous misfire. > > > I built and installed the latest PHP 5.1 CVS source, then at the end it says: > > > +----------------------------------------------------------------------+ > | The installation process is incomplete. The following resources were | > | not installed: | > | | > | PEAR: PHP Extension and Application Repository | > | | > | To install these components, | > | download http://pear.php.net/install-pear.phar to php-src/pear/ | > | become the superuser and execute: | > | | > | # make install-su | > +----------------------------------------------------------------------+ > make: *** [install-pear] Error 5 > > > So I did: > > cd pear/ > wget http://pear.php.net/install-pear.phar > chmod 755 install-pear.phar > cd .. > make install-su > > > Then I get errors: > > > # make install-su > Installing PEAR environment: /usr/local/lib/php/ > /bin/sh: /home/destiney/php-src-5.1/pear/install-pear.phar: cannot > execute binary file > +----------------------------------------------------------------------+ > | The installation process is incomplete. The following resources were | > | not installed: | > | | > | PEAR: PHP Extension and Application Repository | > | | > | To install these components, | > | download http://pear.php.net/install-pear.phar to php-src/pear/ | > | become the superuser and execute: | > | | > | # make install-su | > +----------------------------------------------------------------------+ > make: *** [install-pear] Error 5 > > > Any ideas? install-pear.phar is not an executable, it should be run by PHP. These lines are from Makefile.frag - can anyone see anything obviously wrong with it? install-pear-installer: $(top_builddir)/sapi/cli/php @$(top_builddir)/sapi/cli/php $(PEAR_INSTALL_FLAGS) $(srcdir)/install-pear.phar -d "$(peardir)" -b "$(bindir)" $(top_builddir)/sapi/cli/php should be the php binary, no? Greg