Re: Pear install script runs, but does not install pear.
| From: | Tomas V.V.Cox | Date: | Wed, 07 Aug 2002 14:23:52 +0000 |
| Subject: | Re: Pear install script runs, but does not install pear. | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-2068@lists.php.net to get a copy of this message | ||
Jeffery Cann wrote:
>
> Hi,
>
> I'm running php 4.1.2 on Mandrake 8.2. I am trying to install the pear
> package manager. After I run the go-pear script using lynx, nothing is
> installed!
>
> Output from one attempt is shown below. BTW - I have tried answering either
> 'Y' or 'N' to installation of the bundled pear packages and the same result
> occurs.
>
> I appreciate any suggestions.
> Jeff
>
> --------------------- output ---------------------------
>
> # lynx -source http://pear.php.net/go-pear | php -q
> Welcome to go-pear!
>
> Go-pear will install the 'pear' command and all the files needed by
> it. This command is your tool for PEAR installation and maintenance.
>
> Go-pear also lets you download and install the PEAR packages bundled
> with PHP: DB, Net_Socket, Net_SMTP, Mail, XML_Parser.
>
> If you wish to abort, press Control-C now, or press Enter to continue:
>
> HTTP proxy (host:port), or Enter for none:
>
> Below is a suggested file layout for your new PEAR installation. To
> change individual locations, type the number in front of the
> directory. Type 'all' to change all of them or simply press Enter to
> accept these locations.
>
> 1. Installation prefix : /usr
> 2. Binaries directory : $prefix/bin
> 3. PHP code directory : $prefix/share/pear
> 4. Documentation base directory : $php_dir/docs
> 5. Data base directory : $php_dir/data
> 6. Tests base directory : $php_dir/tests
>
> 1-6, 'all' or Enter to continue:
>
> The following PEAR packages are bundled with PHP: DB, Net_Socket, Net_SMTP,
> Mail, XML_Parser.
> Would you like to install these as well? [Y/n] : n
>
> Downloading package: PEAR.............ok
> Downloading package: Archive_Tar......ok
> Downloading package: Console_Getopt...ok
> Downloading package: XML_RPC..........ok
> Bootstrapping: PEAR...................ok
> Bootstrapping: Archive_Tar............ok
> Bootstrapping: Console_Getopt.........ok
> Extracting installer..................ok
>
> 'xml' PHP extension is not installed
>
Read the error message above.
Tomas V.V.Cox