The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Compile with pear failed.

Discussion in 'General Discussion' started by Eremiya, Nov 8, 2007.

  1. Eremiya

    Eremiya Member

    Joined:
    Feb 10, 2007
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Build complete.
    Don't forget to run 'make test'.
    -- End step 'make for system PHP' --
    -- Begin step 'make install for system PHP' --
    Installing PHP SAPI module: cgi
    Installing PHP CGI binary: /usr/bin/
    Installing build environment: /usr/lib/php/build/
    Installing header files: /usr/include/php/
    Installing helper programs: /usr/bin/
    program: phpize
    program: php-config
    Installing man pages: /usr/man/man1/
    page: phpize.1
    page: php-config.1
    Installing PEAR environment: /usr/lib/php/
    Notice: unserialize(): Error at offset 538 of 950 bytes in phar://install-pear-nozlib.phar/PEAR/Config.php on line 1007
    Fatal error: Call to undefined method PEAR_Error::getLayers() in phar://install-pear-nozlib.phar/index.php on line 66
    make[1]: *** [install-pear-installer] Segmentation fault (core dumped)
    make: *** [install-pear] Error 2
    !! 'make install' failed with exit code '512' !!
    !! Restoring original working apache !!

    Without pear - all is ok. How repair it?
     
  2. Eremiya

    Eremiya Member

    Joined:
    Feb 10, 2007
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    [root@srv ~]# pear

    Warning: require_once(PEAR/Config.php): failed to open stream: No such file or directory in pearcmd.php on line 54

    Warning: require_once(PEAR/Config.php): failed to open stream: No such file or directory in /usr/local/lib/php/pearcmd.php on line 54

    Fatal error: require_once(): Failed opening required 'PEAR/Config.php' (include_path='/usr/local/lib/php') in /usr/local/lib/php/pearcmd.php on line 54
     
Loading...

Share This Page