Re: svn: /php/php-src/ branches/PHP_5_4/sapi/cli/config.m4 branches/PHP_5_4/sapi/cli/config.w32 branches/PHP_5_4/sapi/cli/php_cli.c
branches/PHP_5_4/sapi/cli/php_cli_server.c branches/PHP_5_4/sapi/cli/php_cli_server.h branches/PHP_5_4/sapi/
| From: | Alexey Shein | Date: | Wed, 22 Jun 2011 06:01:11 +0000 |
| Subject: | Re: svn: /php/php-src/ branches/PHP_5_4/sapi/cli/config.m4 branches/PHP_5_4/sapi/cli/config.w32 branches/PHP_5_4/sapi/cli/php_cli.c branches/PHP_5_4/sapi/cli/php_cli_server.c branches/PHP_5_4/sapi/cli/php_cli_server.h branches/PHP_5_4/sapi/ |
||
| References: | 1 2 3 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-65308@lists.php.net to get a copy of this message | ||
Anybody? It seems Pierre fixed only windows build, at least, mine is
still broken:
sapi/cli/php_cli.o: In function `main':
/home/conf/php-src/trunk/sapi/cli/php_cli.c:1301: undefined reference
to `cli_server_sapi_module'
/home/conf/php-src/trunk/sapi/cli/php_cli.c:1361: undefined reference
to `do_cli_server'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
2011/6/21 Pierre Joye <pierre.php@gmail.com>:
> The build is still broken. Can you fix it please?
>
> On Tue, Jun 21, 2011 at 11:12 AM, Moriyoshi Koizumi <mozo@mozo.jp> wrote:
>> Thanks!
>>
>> On 2011/06/21, at 8:36, Felipe Pena wrote:
>>
>>> Fixed.
>>>
>>> 2011/6/20 Johannes Schlüter <johannes@schlueters.de>
>>>
>>>> Hi,
>>>>
>>>> On Mon, 2011-06-20 at 20:27 +0000, Moriyoshi Koizumi wrote:
>>>>> moriyoshi Mon, 20 Jun 2011
>>>>> 20:27:39 +0000
>>>>>
>>>>> Revision:
>>>>> http://svn.php.net/viewvc?view=revision&revision=312344
>>>>>
>>>>> Log:
>>>>> - Add built-in web server to CLI SAPI. See the RFC for detail.
>>>>
>>>> This broke the -d option. Causing this error on make:
>>>>
>>>> | Generating phar.phar
>>>> | PEAR package PHP_Archive not installed: generated phar will require
>>>> | PHP's phar extension be enabled.
>>>> | Creating phar files is disabled by ini setting 'phar.readonly'.
>>>> | make: *** [ext/phar/phar.phar] Error 1
>>>>
>>>> which can be reduced to this simple test case:
>>>>
>>>> $ sapi/cli/php -n -d phar.readonly=0 -r 'echo
>>>> ini_get("phar.readonly");'
>>>> 1
>>>>
>>>> I see that php_cli.c now handles parsing -d options before calling
>>>> sapi_startup() whic seems to cause this.
>>>>
>>>>
>>>> johannes
>>>>
>>>>
>>>>
>>>> --
>>>> PHP CVS Mailing List (http://www.php.net/)
>>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> Felipe Pena
>>
>>
>> --
>> PHP CVS Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
>
>
> --
> Pierre
>
> @pierrejoye | http://blog.thepimp.net |
> http://www.libgd.org
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Regards,
Shein Alexey