Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.18

Bug #7272 Fatal error when running pear install
Submitted: 2006-03-31 15:16 UTC
From: bnatal at tsp dot sheridan dot com Assigned:
Status: Bogus Package: PEAR
PHP Version: 4.4.2 OS: Solaris 9
Roadmaps: (Not assigned)    
Subscription  


 [2006-03-31 15:16 UTC] bnatal at tsp dot sheridan dot com (Ben)
Description: ------------ I've compiled PHP 4.4.2 --with-pear everything compiled fine. However, when I try to use the pear command such as (pear install <package name>) I get the below error message. Any idea how to best resolve this issue? Warning: main(Console/Getopt.php): failed to open stream: No such file or directory in System.php on line 27 Fatal error: main(): Failed opening required 'Console/Getopt.php' (include_path='/usr/local/apache2/php/lib/php') in /usr/local/apache2/php/lib/php/System.php on line 27

Comments

 [2006-04-01 15:00 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2006-06-05 15:11 UTC] garykom at mailinator dot com (gary Komm)
I've the same problem: (I get the same error Msg when trying to start the pear commandlinetool) system: suse 10.1 Linux 2.6.16.13-4-smp #1 SMP Wed May 3 04:53:23 UTC 2006 x86_64 x86_64 x86_64 GNU/Linux compiled 4.4.2 from source with: './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-mysql' '--with-zlib-dir=/usr/lib64' '--with-pgsql-dir=/usr/lib64' '--with-gd' '--with-jpeg-dir=/usr/lib64' '--with-png-dir=/usr/lib64' make clean make make install > php_make_install_2_stdout.txt some files seem to be corrupt... # grep -i pear /root/php_make_install_2_stdout.txt Installing PEAR environment: /usr/local/lib/php/ [PEAR] Archive_Tar: bad md5sum for file /usr/local/lib/php/Archive/Tar.php [PEAR] Console_Getopt: bad md5sum for file /usr/local/lib/php/Console/Getopt.php [PEAR] HTML_Template_IT: bad md5sum for file /usr/local/lib/php/HTML/Template/IT.php [PEAR] Net_UserAgent_Detect- already installed: 2.0.1 [PEAR] PEAR - already installed: 1.4.6 Wrote PEAR system config file at: /usr/local/etc/pear.conf hope this helps
 [2006-06-05 15:16 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2006-06-05 20:56 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2006-06-07 02:16 UTC] garykom at mailinator dot com (gary Komm)
thanks for the detailed answer! got it working this way: ./configure --without-pear ... make make install and then a manual pear install to /usr/local/lib/php (just had to help the installer with some dirs..) works fine.
 [2006-06-07 07:59 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!