Re: Go-pear

From: Date: Wed, 16 Apr 2003 08:08:37 +0000
Subject: Re: Go-pear
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-15199@lists.php.net to get a copy of this message
LIMBOURG Arnaud wrote:
Just installed using the go-pear script under a linux distro (debian) and get the following error after installation, when trying to run the pear command bash: bin/pear: /bin/shd: bad interpreter: No such file or directory The first line of the pear command is quite weird. #!/bin/shd include_path=/path/to/install I had the same problem, also on debian linux, here what I did to get it to work:
Maybe not the best solution, but it worked. --- pear.orig Tue Apr 8 07:28:30 2003
+++ pear        Tue Apr  8 07:47:27 2003
@@ -1,13 +1,13 @@ -#!/bin/shd include_path=/usr/local/share/pear +#!/bin/sh # first find which PHP binary to use if test "x$PHP_PEAR_PHP_BIN" != "x"; then PHP="$PHP_PEAR_PHP_BIN" else - if test "/usr/bin/php" = '@'php_bin'@'; then
-    PHP=php
+ if test "/usr/bin/php4" = '@'php_bin'@'; then
+    PHP=php4
else
-    PHP="/usr/bin/php"
+    PHP="/usr/bin/php4"
fi fi -- Darryl Ross Principal Consultant, Dazco Technology ABN: 58 829 870 455 +61 3 9734 2466 http://www.dazco.com.au

« previous php.pear.dev (#15199) next »