[MacPorts] #35291: pear-PHPUnit doesn't work with php 5.4.5
MacPorts
noreply at macports.org
Wed May 29 13:01:49 PDT 2013
#35291: pear-PHPUnit doesn't work with php 5.4.5
---------------------------------+-----------------------
Reporter: bertrand.zuchuat@… | Owner: pixilla@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.1
Resolution: | Keywords:
Port: pear-PHPUnit |
---------------------------------+-----------------------
Comment (by macjoost@…):
Hi,
Simple test-file that fails for php 5.4, both using mod_php and mod_fcgid,
as requested in #comment:25
{{{
<?php
include 'PHPUnit' . DIRECTORY_SEPARATOR . 'Autoload.php';
}}}
The error is:
{{{
Warning: require_once(File/Iterator/Autoload.php): failed to open stream:
No such file or directory in /opt/local/lib/php/pear/PHPUnit/Autoload.php
on line 45
Fatal error: require_once(): Failed opening required
'File/Iterator/Autoload.php' (include_path='.::/opt/local/lib/php/pear')
in /opt/local/lib/php/pear/PHPUnit/Autoload.php on line 45
}}}
I installed PHPUnit using {{{port install pear-PHPUnit}}}
Later I just installed all pear packages: {{{port install pear-*}}}
I still get the error. On the filesystem I can confirm that in the
MacPorts pear directory ( /opt/local/lib/php/pear/ ) there is no
File/Iterator directory.
--
Ticket URL: <https://trac.macports.org/ticket/35291#comment:27>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list