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?
Thanks,
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
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 5So I did:
cd pear/
wget http://pear.php.net/install-pear.phar
chmod 755 install-pear.phar
cd ..
make install-suThen 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 5Any 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