[MacPorts] #35291: phpunit doesn't work with php 5.4.5

MacPorts noreply at macports.org
Mon Jul 23 12:13:40 PDT 2012


#35291: phpunit doesn't work with php 5.4.5
----------------------------------------+-----------------------------------
 Reporter:  bertrand.zuchuat@…          |       Owner:  macports-tickets@…                   
     Type:  defect                      |      Status:  new                                  
 Priority:  Normal                      |   Milestone:                                       
Component:  ports                       |     Version:  2.1.1                                
 Keywords:                              |        Port:  phpunit                              
----------------------------------------+-----------------------------------
Changes (by ryandesign@…):

  * keywords:  phpunit =>
  * port:  => phpunit


Old description:

> Hi,
>
> I have this error after upgrade 5.4.4 to 5.4.5:
> Warning: require_once(File/Iterator/Autoload.php): failed to open stream:
> No such file or directory in
> /opt/local/lib/php54/pear/share/pear/PHPUnit/Autoload.php on line 45
>
> Fatal error: require_once(): Failed opening required
> 'File/Iterator/Autoload.php' (include_path='.:') in
> /opt/local/lib/php54/pear/share/pear/PHPUnit/Autoload.php on line 45
>
> before upgrade, my phpunit work.
>
> My pear install is on: /opt/local/lib/php54/pear/
>
> My php.ini config:
> include_path =
> ".:/opt/local/lib/php54/pear/:/opt/local/lib/php54/pear/share/pear/"
>
> Please help me.
>
> Thanks

New description:

 Hi,

 I have this error after upgrade 5.4.4 to 5.4.5:
 {{{
 Warning: require_once(File/Iterator/Autoload.php): failed to open stream:
 No such file or directory in
 /opt/local/lib/php54/pear/share/pear/PHPUnit/Autoload.php on line 45

 Fatal error: require_once(): Failed opening required
 'File/Iterator/Autoload.php' (include_path='.:') in
 /opt/local/lib/php54/pear/share/pear/PHPUnit/Autoload.php on line 45
 }}}

 before upgrade, my phpunit work.

 My pear install is on: /opt/local/lib/php54/pear/

 My php.ini config:
 {{{
 include_path =
 ".:/opt/local/lib/php54/pear/:/opt/local/lib/php54/pear/share/pear/"
 }}}

 Please help me.

 Thanks

--

Comment:

 Remember to use WikiFormatting when writing in Trac.

 Which port have you used to install phpunit: "pear-PHPUnit" or one of the
 older ports whose names begin with "php5-unit"?

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


More information about the macports-tickets mailing list