pear package manager and pear install problems
| From: | Tom Mulder | Date: | Fri, 04 Jul 2003 13:43:12 +0000 |
| Subject: | pear package manager and pear install problems | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-6474@lists.php.net to get a copy of this message | ||
Hi ,
I got problems with pear package manager, beneath is the dialog with my
computer.
I got also problems with pear install, see second dialog.
Can you give me some clues to fix the problems.
Greetings Tom Mulder
============== dialog 1 ==========================================
root@IRIS # lynx -source http://go-pear.org | php
X-Powered-By: PHP/4.2.3
Content-type: text/html
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/freeware
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: failed
Downloading uncompressed packages
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
<br />
<b>Warning</b>: OpenDir: No such file or directory (errno 2) in
<b>/tmp/gope024732/PEAR/Registry.php</b> on line <b>103</b><br />
'xml' PHP extension is not installed
^^^^^^^^^^^^^^^^ dialog 1 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
===============dialog 2 =========================================
root@IRIS # pear install Mail_Mime
downloading http://pear.php.net/get/Mail_Mime?uncompress=yes
...
...done: 77,312 bytes
The extension 'zlib' couldn't be loaded. Probably you don't have support
in your PHP to this extension<br />
<b>Warning</b>: rmdir() failed (Invalid argument) in
<b>/usr/freeware/share/php/System.php</b> on line <b>187</b><br />