|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-08-01 08:20 UTC] mike@php.net
-Assigned To:
+Assigned To: mike
[2014-08-01 09:10 UTC] mike@php.net
-Status: Assigned
+Status: Closed
[2014-08-01 09:10 UTC] mike@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 06:00:01 2025 UTC |
Description: ------------ pecl_http doesn't compile with libevent2; looks like a syntax error in a header: #define PHP_HTTP_EVENT_VERSION ""2.0.21-stable"" As you can see, the quotes are doubled. Test script: --------------- sudo pecl install pecl_http Actual result: -------------- In file included from /tmp/pear/temp/pecl_http/php_http_api.h:17:0, from /tmp/pear/temp/pecl_http/php_http.c:13: /tmp/pear/temp/pecl_http/php_http.c: In function 'zm_info_http': ./config.h:93:34: error: too many decimal points in number #define PHP_HTTP_EVENT_VERSION ""2.0.21-stable"" ^ /tmp/pear/temp/pecl_http/php_http.c:242:4: note: in expansion of macro 'PHP_HTTP_EVENT_VERSION' PHP_HTTP_EVENT_VERSION, ^ ./config.h:93:34: error: expected ')' before numeric constant #define PHP_HTTP_EVENT_VERSION ""2.0.21-stable"" ^ /tmp/pear/temp/pecl_http/php_http.c:242:4: note: in expansion of macro 'PHP_HTTP_EVENT_VERSION' PHP_HTTP_EVENT_VERSION, ^ make: *** [php_http.lo] Error 1 ERROR: `make' failed