[MacPorts] #31961: php5-pear: build/libexec/php/bin/pear: No such file or directory

MacPorts noreply at macports.org
Mon Nov 21 13:02:44 PST 2011


#31961: php5-pear: build/libexec/php/bin/pear: No such file or directory
------------------------------------+---------------------------------------
 Reporter:  polkehn@…               |       Owner:  pixilla@…           
     Type:  defect                  |      Status:  new                 
 Priority:  Normal                  |   Milestone:                      
Component:  ports                   |     Version:  2.0.3               
 Keywords:                          |        Port:  php5-pear           
------------------------------------+---------------------------------------

Comment(by pixilla@…):

 Replying to [comment:11 polkehn@…]:
 > 1. Installation went smoothly this time without any errors[[BR]]
 Great. Thanks for reporting.[[BR]]
 > 2. Where can I find the binary? The "pear" command on the shell does not
 work. Where is it located, so I can add it to the PATH variable?[[BR]]
 You will use the MacPorts port command to install pear packages. There is
 a MacPorts port every pear package available at pear.php.net.
 {{{
 $ port echo name:^pear-
 }}}
 The php5-pear ports primary purpose is to add the pear lib path to php's
 include_path:
 {{{
 $ port contents php5-pear
 Port php5-pear contains:
   /opt/local/lib/php/pear/install-pear-nozlib.phar
   /opt/local/lib/php/pear/pear-ini.php
   /opt/local/var/db/php5/pear.ini
 }}}
 {{{
 $ cat /opt/local/var/db/php5/pear.ini
 ; Do not edit this file; it is automatically generated by MacPorts.
 ; Any changes you make will be lost if you upgrade or uninstall php5-pear.
 ; To configure PHP, edit /opt/local/etc/php5/php.ini.
 auto_prepend_file = '/opt/local/lib/php/pear/pear-ini.php'
 }}}
 {{{
 $ cat /opt/local/lib/php/pear/pear-ini.php
 <?php
 # Automatically add the PEAR repository path to PHP's include_path.
 set_include_path ( get_include_path (  ) . PATH_SEPARATOR .
 '/opt/local/lib/php/pear' ) ;
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/31961#comment:12>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list