 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
mrh666
Joined: 15 Jul 2008 Posts: 2
|
Posted: Tue Jul 15, 2008 5:36 pm Post subject: Pear installation is broken, PEAR is dead |
|
|
Hi there,
I've got a problem with PHP/Pear installation.
I have Slackware 11 with Apache 1.3.41 and PHP 4.4.8.
During some system restore process some files were corrupted and I decide reinstall Apache/PHP. During installation of PHP (make install) I've got an error:
| Code: |
Installing PEAR environment: /usr/local/lib/php/
Notice: unserialize(): Error at offset 0 of 8612 bytes in /usr/src/php-4.4.8/pear/PEAR/Registry.php on line 1012
Notice: unserialize(): Error at offset 0 of 8612 bytes in /usr/src/php-4.4.8/pear/PEAR/Registry.php on line 1012
Notice: unserialize(): Error at offset 0 of 8612 bytes in /usr/src/php-4.4.8/pear/PEAR/Registry.php on line 1012
[PEAR] Archive_Tar: pear.php.net/Archive_Tar not installed
Notice: unserialize(): Error at offset 0 of 6052 bytes in /usr/src/php-4.4.8/pear/PEAR/Registry.php on line 1012
Notice: unserialize(): Error at offset 0 of 65468 bytes in /usr/src/php-4.4.8/pear/PEAR/Registry.php on line 1012
pear/pear dependency package "pear/Console_Getopt" downloaded version 1.2.1 is not the recommended version 1.2.3, but may be compatible, use --force to install
pear/Console_Getopt cannot be installed, conflicts with installed packages
Notice: Only variables should be assigned by reference in /usr/src/php-4.4.8/pear/PEAR/Installer.php on line 990
[PEAR] Console_Getopt: Installation failed: invalid package file
[PEAR] HTML_Template_IT- already installed: 1.2.1
Notice: unserialize(): Error at offset 0 of 8855 bytes in /usr/src/php-4.4.8/pear/PEAR/Registry.php on line 1012
Notice: unserialize(): Error at offset 0 of 8855 bytes in /usr/src/php-4.4.8/pear/PEAR/Registry.php on line 1012
Notice: unserialize(): Error at offset 0 of 8855 bytes in /usr/src/php-4.4.8/pear/PEAR/Registry.php on line 1012
[PEAR] Net_UserAgent_Detect: pear.php.net/Net_UserAgent_Detect not installed
Notice: unserialize(): Error at offset 0 of 65468 bytes in /usr/src/php-4.4.8/pear/PEAR/Registry.php on line 1012
Notice: unserialize(): Error at offset 0 of 8612 bytes in /usr/src/php-4.4.8/pear/PEAR/Registry.php on line 1012
pear/PEAR requires package "pear/Archive_Tar" (recommended version 1.3.2), installed version is
Notice: unserialize(): Error at offset 0 of 20056 bytes in /usr/src/php-4.4.8/pear/PEAR/Registry.php on line 1012
pear/PEAR requires package "pear/Structures_Graph" (recommended version 1.0.2), installed version is
Notice: unserialize(): Error at offset 0 of 6052 bytes in /usr/src/php-4.4.8/pear/PEAR/Registry.php on line 1012
pear/PEAR requires package "pear/Console_Getopt" (recommended version 1.2.1), installed version is
Notice: Only variables should be assigned by reference in /usr/src/php-4.4.8/pear/PEAR/Installer.php on line 990
[PEAR] PEAR: Installation failed: invalid package file
Notice: unserialize(): Error at offset 0 of 20056 bytes in /usr/src/php-4.4.8/pear/PEAR/Registry.php on line 1012
Notice: unserialize(): Error at offset 0 of 20056 bytes in /usr/src/php-4.4.8/pear/PEAR/Registry.php on line 1012
Notice: unserialize(): Error at offset 0 of 20056 bytes in /usr/src/php-4.4.8/pear/PEAR/Registry.php on line 1012
[PEAR] Structures_Graph: pear.php.net/Structures_Graph not installed
|
The pear binary itself seems to be installed, but any parameters to pear command or pear command without any parameters doesn't work at all. I just type pear <Enter> and nothing happen then, usual bash invitation coming back. Any kind of "pear install something" or "pear list" just ignored.
I tried to get installation directly and I've got another error:
| Code: |
[18:29:44] root@somecomp (/usr/src/php-4.4.8) > lynx -source http://pear.php.net/go-pear | 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 following optional PEAR
packages: PEAR_Frontend_Web-beta, PEAR_Frontend_Gtk2, MDB2.
If you wish to abort, press Control-C now, or press Enter to continue: <Enter>
HTTP proxy (http://user:password@proxy.myhost.com:port), or Enter for none:: <Enter>
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 ($prefix) : .
2. Temporary files directory : $prefix/temp
3. Binaries directory : $prefix/bin
4. PHP code directory ($php_dir) : $prefix/PEAR
5. Documentation base directory : $php_dir/docs
6. Data base directory : $php_dir/data
7. Tests base directory : $php_dir/tests
1-7, 'all' or Enter to continue: <Enter>
The following PEAR packages are bundled with PHP: PEAR_Frontend_Web-beta,
PEAR_Frontend_Gtk2, MDB2.
Would you like to install these as well? [Y/n] : Y <Enter>
Loading zlib: ok
Bootstrapping Installer...................
Bootstrapping PEAR.php............(remote)
Warning: main(PEAR.php): failed to open stream: No such file or directory in - on line 682
Warning: main(): Failed opening 'PEAR.php' for inclusion (include_path='./temp') in - on line 682
ok
Bootstrapping Archive/Tar.php............(remote)
Warning: main(Archive/Tar.php): failed to open stream: No such file or directory in - on line 682
Warning: main(): Failed opening 'Archive/Tar.php' for inclusion (include_path='./temp') in - on line 682
ok
Bootstrapping Console/Getopt.php............(remote)
Warning: main(Console/Getopt.php): failed to open stream: No such file or directory in - on line 682
Warning: main(): Failed opening 'Console/Getopt.php' for inclusion (include_path='./temp') in - on line 682
ok
Fatal error: Undefined class name 'pear' in - on line 688
|
Do you guys have any idea how to fix the PEAR package or reinstall it besides of from PHP package? |
|
| Back to top |
|
 |
mrh666
Joined: 15 Jul 2008 Posts: 2
|
Posted: Wed Jul 16, 2008 4:41 am Post subject: |
|
|
| Anyone, please any ideas?! |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|