Re: Fwd: [PHP-DEV] PEAR Build fix
| From: | Helgi Þormar Þorbjörnsson | Date: | Wed, 30 Jul 2008 17:55:45 +0000 |
| Subject: | Re: Fwd: [PHP-DEV] PEAR Build fix | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-50497@lists.php.net to get a copy of this message | ||
Phar stuff is Greg, Marcus or Steph most of the time, I'd advice you
to contact them.
- Helgi
On Wed, Jul 30, 2008 at 5:41 PM, Lukas Kahwe Smith <mls@pooteeweet.org> wrote:
> FYI .. if someone has some brain cycles to get this fixed ..
>
> Begin forwarded message:
>
>> From: Rasmus Lerdorf <rasmus@lerdorf.com>
>> Date: 30. Juli 2008 16:12:35 GMT+02:00
>> To: PHP Developers Mailing List <internals@lists.php.net>
>> Subject: [PHP-DEV] PEAR Build fix
>>
>> 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.
>>
>> -Rasmus
>>
>> --
>> PHP Internals - PHP Runtime Development Mailing List
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>
> Lukas Kahwe Smith
> mls@pooteeweet.org
>
>
>
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>