|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2014-07-15 12:22 UTC] pajoye@php.net
Description: ------------ Using: ./configure --with-http --without-http-shared-deps make ends with: In file included from /home/pierre/repo/pecl_http/php_http.c:13:0: /home/pierre/repo/pecl_http/php_http_api.h:26:33: fatal error: ext/raphf/php_raphf.h: No such file or directory Also it would be nice to use the 2nd argument for PHP_ARG_WITH like here: PHP_ARG_WITH([http], [whether to enable extended HTTP support], [ --with-http Enable extended HTTP support]) PHP_ARG_WITH([http-zlib-dir], [HTTP: where to find zib], [ --with-http-zlib-dir[=DIR]], $PHP_HTTP, $PHP_HTTP) PHP_ARG_WITH([http-libcurl-dir], [HTTP: where to find libcurl], [ --with-http-libcurl-dir[=DIR], $PHP_HTTP, $PHP_HTTP) PHP_ARG_WITH([http-libevent-dir], [HTTP: wherre to find libevent], [ --with-http-libevent-dir[=DIR], $PHP_HTTP_LIBCURL_DIR, "") That would also simplifies pickle implentation :) Patchesraphf_and_propro_devel_m4 (last revision 2014-07-17 06:40 UTC by pajoye@php.net)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 14 08:00:01 2025 UTC |
So now I'm trying to use pecl_http with PHP 5.6 - I'm still getting this same compile problem with 2.2.0rc1 (on a brand-new, freshly installed server), but I'm also finding it won't compile 1.7.6 either because of this: /bin/bash /tmp/pear/temp/pear-build-rootHn859V/pecl_http-1.7.6/libtool --mode=compile cc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootHn859V/pecl_http-1.7.6/include -I/tmp/pear/temp/pear-build-rootHn859V/pecl_http-1.7.6/main -I/tmp/pear/temp/pecl_http -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/include/php5/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_api.c -o http_api.lo libtool: compile: cc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootHn859V/pecl_http-1.7.6/include -I/tmp/pear/temp/pear-build-rootHn859V/pecl_http-1.7.6/main -I/tmp/pear/temp/pecl_http -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/include/php5/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_api.c -fPIC -DPIC -o .libs/http_api.o /tmp/pear/temp/pecl_http/http_api.c: In function '_http_get_request_body_ex': /tmp/pear/temp/pecl_http/http_api.c:352:22: error: 'sapi_request_info' has no member named 'raw_post_data' if (SG(request_info).raw_post_data) { ^ /tmp/pear/temp/pecl_http/http_api.c:353:29: error: 'sapi_request_info' has no member named 'raw_post_data_length' *length = SG(request_info).raw_post_data_length; ^ /tmp/pear/temp/pecl_http/http_api.c:354:27: error: 'sapi_request_info' has no member named 'raw_post_data' *body = SG(request_info).raw_post_data; ^ /tmp/pear/temp/pecl_http/http_api.c:385:19: error: 'sapi_request_info' has no member named 'raw_post_data' SG(request_info).raw_post_data = *body; ^ /tmp/pear/temp/pecl_http/http_api.c:386:19: error: 'sapi_request_info' has no member named 'raw_post_data_length' SG(request_info).raw_post_data_length = *length; ^ /tmp/pear/temp/pecl_http/http_api.c: In function '_http_get_request_body_stream': /tmp/pear/temp/pecl_http/http_api.c:403:22: error: 'sapi_request_info' has no member named 'raw_post_data' if (SG(request_info).raw_post_data) { ^ make: *** [http_api.lo] Error 1 ERROR: `make' failed A quick search finds several other reports of this problem, but no solutions. So now I'm unable to compile any version of pecl_http. Any chance you could fix either or both of these?