Bug #77527 [Opn]: Solr Extension build fail in last commit 9c0e23
| From: | tuanbk08vn at gmail dot com | Date: | Mon, 28 Jan 2019 03:20:42 +0000 |
| Subject: | Bug #77527 [Opn]: Solr Extension build fail in last commit 9c0e23 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-219234@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=77527&edit=1
ID: 77527
User updated by: tuanbk08vn at gmail dot com
Reported by: tuanbk08vn at gmail dot com
Summary: Solr Extension build fail in last commit 9c0e23
Status: Open
Type: Bug
Package: Compile Failure
Operating System: CentOs6
PHP Version: 7.2.14
Block user comment: N
Private report: N
New Comment:
For CentOS 6, the latest available version of curl is 7.19.0
'CURLOPT_ACCEPT_ENCODING' was called CURLOPT_ENCODING before curl 7.21.6
(Ref: https://curl.haxx.se/libcurl/c/CURLOPT_ACCEPT_ENCODING.html)
Previous Comments:
------------------------------------------------------------------------
[2019-01-27 08:54:36] tuanbk08vn at gmail dot com
Description:
------------
Solr Extension build fail in last commit 9c0e23
-The list of modules that PHP compiled with:
+ Curl 7.19.0
+ LibXml2 2.7.6
Test script:
---------------
/usr/bin/phpize
./configure
make
https://github.com/php/pecl-search_engine-solr
(commit 9c0e234)
Expected result:
----------------
Build complete
Actual result:
--------------
/mnt/php-7.2.14/ext/solr/src/php7/solr_functions_client.c: In function
âsolr_set_initial_curl_handle_optionsâ:
/mnt/php-7.2.14/ext/solr/src/php7/solr_functions_client.c:88: error:
âCURLOPT_ACCEPT_ENCODINGâ undeclared (first use in this function)
/mnt/php-7.2.14/ext/solr/src/php7/solr_functions_client.c:88: error: (Each undeclared identifier is
reported only once
/mnt/php-7.2.14/ext/solr/src/php7/solr_functions_client.c:88: error: for each function it appears
in.)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=77527&edit=1