[bug-notifications] [php5 0002927]: \'pear\' installation missing required files
Mantis Bug Tracker
noreply at opencsw.org
Fri Mar 13 06:41:01 CET 2009
The following issue has been RESOLVED.
======================================================================
http://www.opencsw.org/mantis/view.php?id=2927
======================================================================
Reported By: achace
Assigned To: mwatters
======================================================================
Project: php5
Issue ID: 2927
Category: packaging
Reproducibility: always
Severity: major
Priority: normal
Status: resolved
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2008-07-10 13:02 CEST
Last Modified: 2009-03-13 06:41 CET
======================================================================
Summary: \'pear\' installation missing required files
Description:
When trying to install any packages with \"pear\", I receive
errors like this:
Warning: PEAR_Config::require_once(PEAR/REST/13.php): failed to open
stream: No such file or directory in PEAR/Config.php on line 2042
PHP Warning: PEAR_Config::require_once(PEAR/REST/13.php): failed to open
stream: No such file or directory in /opt/csw/php5/lib/php/PEAR/Config.php
on line 2042
PHP Fatal error: PEAR_Config::require_once(): Failed opening required
\'PEAR/REST/13.php\' (include_path=\'/opt/csw/php5/lib/php\') in
/opt/csw/php5/lib/php/PEAR/Config.php on line 2042
The file \"/opt/csw/php5/lib/php/PEAR/REST/13.php\" does not
exist. This is a fresh installation of PHP5, and I have tried removing the
package (and directory) and reinstalling it.
======================================================================
----------------------------------------------------------------------
(0005464) caio (reporter) - 2008-12-15 12:21
http://www.opencsw.org/mantis/view.php?id=2927#c5464
----------------------------------------------------------------------
I have the same issue when trying to install PEAR DB and XML_RPC library of
pear:
# pear install DB
Warning: PEAR_Config::require_once(PEAR/REST/13.php): failed to open
stream: No such file or directory in PEAR/Config.php on line 2042 PHP
Warning: PEAR_Config::require_once(PEAR/REST/13.php): failed to open
stream: No such file or directory in /opt/csw/php5/lib/php/PEAR/Config.php
on line 2042 PHP Fatal error: PEAR_Config::require_once(): Failed opening
required 'PEAR/REST/13.php' (include_path='/opt/csw/php5/lib/php') in
/opt/csw/php5/lib/php/PEAR/Config.php on line 2042
I have installed php5 from opencsw repository (with pkg-get).
# pkginfo -l CSWphp5
PKGINST: CSWphp5
NAME: php5 - PHP Hypertext Processor 5
CATEGORY: application
ARCH: i386
VERSION: 5.2.4,REV=2007.10.29
BASEDIR: /
VENDOR: http://www.php.net/downloads.php packaged for CSW by Cory Omand
PSTAMP: com... at thor-20071029120615
INSTDATE: dic 09 2008 16:10
HOTLINE: http://www.opencsw.org/bugtrack/
EMAIL: com... at opencsw.org
STATUS: instalado completamente
FILES: 157 nombres de ruta instalados
9 nombres de ruta compartidos
41 directorios
6 ejecutables
27966 bloques utilizados (aproximadamente)
# pear -V
PEAR Version: 1.6.1
PHP Version: 5.2.4
Zend Engine Version: 2.2.0
----------------------------------------------------------------------
(0005465) caio (reporter) - 2008-12-16 12:02
http://www.opencsw.org/mantis/view.php?id=2927#c5465
----------------------------------------------------------------------
Workaround:
Download and add manually file "13.php" to PEAR/REST directory.
Then I have the issue http://www.opencsw.org/mantis/view.php?id=2907 (missing
Structures/Graph), so do the same:
Download and add manually Strcutres/Graph dir on /opt/csw/php5/lib/php
To let pear installation in a clearer state do:
pear install Structures_Graph
And finish with:
pear upgrade PEAR
Result: Structures_Graph installed by pear, and 13.php file installed when
we upgrade pear.
----------------------------------------------------------------------
(0005641) mwatters (manager) - 2009-03-13 06:41
http://www.opencsw.org/mantis/view.php?id=2927#c5641
----------------------------------------------------------------------
Resolved as of Revision: 5.2.6,REV=2009.03.08
Issue History
Date Modified Username Field Change
======================================================================
2008-12-15 12:21 caio Note Added: 0005464
2008-12-16 12:02 caio Note Added: 0005465
2009-03-13 06:41 mwatters Note Added: 0005641
2009-03-13 06:41 mwatters Status new => resolved
2009-03-13 06:41 mwatters Resolution open => fixed
2009-03-13 06:41 mwatters Assigned To => mwatters
======================================================================
More information about the bug-notifications
mailing list