Re: Re: PEAR won't install - Linux
| From: | Moebius | Date: | Wed, 26 Nov 2003 02:13:51 +0000 |
| Subject: | Re: Re: PEAR won't install - Linux | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-9147@lists.php.net to get a copy of this message | ||
PHP Version returns:
PHP 4.3.3 (cli) (built: Aug 27 2003 02:17:38)
Copyright (c) 1997-2003 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend
Technologies
And here is the PEAR install script (I tried to
execute pear immediately following just for the sake
of hope):
lynx -source http://go-pear.net | php
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,
phpUnit.
If you wish to abort, press Control-C now, or press
Enter to continue:
HTTP proxy
(http://user:password@proxy.myhost.com: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 ($php_dir) : $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, phpUnit.
Would you like to install these as well? [Y/n] : Y
Loading zlib: ok
Downloading package: PEAR.............ok
Downloading package: Archive_Tar......ok
Downloading package: Console_Getopt....ok
Downloading package: XML_RPC..........ok
Bootstrapping: PEAR...................(remote) ok
Bootstrapping: Archive_Tar............(remote) ok
Bootstrapping: Console_Getopt.........(remote) ok
Downloading package: DB...............ok
Downloading package: Net_Socket.......ok
Downloading package: Net_SMTP.........ok
Downloading package: Mail.............ok
Downloading package: XML_Parser.......ok
Downloading package: phpUnit..........ok
Extracting installer..................ok
'xml' PHP extension is not installed
[root@localhost moebius]# pear
bash: pear: command not found
--- Greg Beaver <greg@chiaraquartet.net> wrote:
> Moebius,
>
> Sorry to hear about your difficulties - Could you
> post a transcript of
> one of the unsuccessful attempts, and in addition
> the output of
>
> $ php -v
>
> Thanks,
> Greg
>
> Moebius wrote:
>
> > Hopefully this is the correct way to submit a
> question
> > to this mailing list.
> >
> > I'm trying to install PEAR on Mandrake 9.2. The
> > distribution installs with PHP 4.4 (I believe)
> which
> > should have it included, but there is no hint of
> PEAR
> > anywhere on the system.
> >
> > I'm trying to run the go-pear.net script both by
> > saving it as a PHP file and executing, or using
> Lynx.
> > In both cases, the script runs, prompts for the
> > directories, then downloads and appears to install
> the
> > default packages. All items show as [OK] as the
> > script executes.
> >
> > However, after completion, none of the PEAR files,
> or
> > the binary install manager are on the system.
> >
> > At this point, I'm in the dark as to where to
> look.
> > The script is being run as root, and I even opened
> > permissions to everyone on the directories in
> question
> > just to be sure, but to no avail.
> >
> > Any ideas?
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Free Pop-Up Blocker - Get it now
> > http://companion.yahoo.com/
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/