Re: PEAR-1.0b1 - installer fails to update script "pear"
| From: | Stig S. Bakken | Date: | Sun, 13 Oct 2002 09:35:21 +0000 |
| Subject: | Re: PEAR-1.0b1 - installer fails to update script "pear" | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-10030@lists.php.net to get a copy of this message | ||
Hi,
You can fix this with "go-pear":
lynx -source http://go-pear.org | php -q
I'll make 1.0b2 install all files with temporary names first, and rename
only when the install is ok, to prevent partially installed packages.
- Stig
On Sun, 2002-10-13 at 11:08, Emre Bastuz wrote:
> Hi,
>
> I´ve tried to update my PEAR installation that comes with PHP 4.2.3.
>
> The script /usr/local/bin/pear did download the tgz and updated a couple
> of things - it did not update the installer script "pear" itself though.
>
> The 'old' script relied on a function getoptions() which is not available
> in the new PEAR version so I have basically made it impossible to use
> the installer for any further upgrades/installations by upgrading.
>
> I am running a FreeBSD 4.6-STABLE system. Apache and PHP were installed from
> the ports collection.
>
> During the PEAR upgrade I noticed that the install path to the new installation
> script outputted as '/usr/local/bin///pear' (or similar). I believe there
> is something wrong with the path detection.
>
> I was able to fix this problem by taking 'pear.in' out of the 1.0b1 tgz
> file, replacing the wildcards '@something@' by values making sense and
> moving this to '/usr/local/bin/pear'.
>
> I don´t know what goes wrong during installation but this caused me some
> headache.
>
> Any fix in sight?
>
> Emre
>
> --
> Emre Bastuz
> info@emre.de http://www.emre.de
> UIN: 561260 PGP Key ID: 0xAFAC77FD
>
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
Stig Sæther Bakken, Fast Search & Transfer ASA, Trondheim, Norway
http://pear.php.net/wishlist.php/ssb