Hello Rasmus,

Wednesday, July 30, 2008, 4:12:35 PM, you wrote:

> Could someone please fix this:

> Generating phar.php
> Generating phar.phar
> Pear package PHP_Archive found: API Version: 1.0.0 (stable).
> Pear package PHP_Archive or Archive.php class file not found.
> clicommand.inc
> directorygraphiterator.inc
> directorytreeiterator.inc
> invertedregexiterator.inc
> pharcommand.inc
> phar.inc

> Build complete.
> Don't forget to run 'make test'.

> The problem is that in phar.php it does a

>    pear list-files PHP_Archive

> This outputs a bunch of filenames ending with:

> test /usr/local/lib/php/test/PHP_Archive/tests/test_require.php
> test /usr/local/lib/php/test/PHP_Archive/tests/test_tar.tar
> test /usr/local/lib/php/test/PHP_Archive/tests/twophars.phpt
> php  /usr/local/lib/php/PHP/Archive.php

> in phar.php the regex to check if Archive.php exists looks like this:

> if (preg_match(",^php[ \t]+([^ 
> \t].*pear[\\\\/]PHP[\\\\/]Archive.php)$,", $ent, $matches)) {

> which is obviously not going to match that last Archive.php line.  So, 
> two fixes here.  First, fix the error message to more accurately 
> describe what is going on.  And second, assuming 
> /usr/local/lib/php/PHP/Archive.php is the right file here, fix the regex.

  thanks! & fixed.

marcus





Best regards,
 Marcus


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to