[MacPorts] #35291: pear-PHPUnit doesn't work with php 5.4.5
MacPorts
noreply at macports.org
Thu Dec 19 10:08:20 PST 2013
#35291: pear-PHPUnit doesn't work with php 5.4.5
---------------------------------+-----------------------
Reporter: bertrand.zuchuat@… | Owner: pixilla@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.1.1
Resolution: wontfix | Keywords:
Port: pear-PHPUnit |
---------------------------------+-----------------------
Changes (by pixilla@…):
* status: new => closed
* resolution: => wontfix
Comment:
Phpunit's shebang is causing this error:
{{{
$ head -n1 /opt/local/lib/php/pear/bin/phpunit
#!/usr/bin/php
$ /opt/local/lib/php/pear/bin/phpunit --version
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='.:') in
/opt/local/lib/php/pear/PHPUnit/Autoload.php on line 45
}}}
Call phpunit with your desired php interpreter:
{{{
$ /opt/local/bin/php54 /opt/local/lib/php/pear/bin/phpunit --version
PHPUnit 3.6.11 by Sebastian Bergmann.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/35291#comment:30>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list