OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002927 [php5] packaging major always 2008-07-10 13:02 2009-03-26 19:33
Reporter achace View Status public  
Assigned To mwatters
Priority normal Resolution fixed  
Status closed  
Summary 0002927: \'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.
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0005464)
caio (reporter)
2008-12-15 12:21

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...@thor-20071029120615
  INSTDATE: dic 09 2008 16:10
   HOTLINE: http://www.opencsw.org/bugtrack/ [^]
     EMAIL: com...@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

Workaround:

Download and add manually file "13.php" to PEAR/REST directory.

Then I have the issue 0002907 (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 (reporter)
2009-03-13 06:41

Resolved as of Revision: 5.2.6,REV=2009.03.08
(0005748)
mwatters (reporter)
2009-03-26 19:33

Resolved in Revision: 5.2.6,REV=2009.03.08
no new feedback, closing


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker