juhyunkwon / php-handlersocket

Automatically exported from code.google.com/p/php-handlersocket
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Does not compile in Centos 6.3 64bits php 5.3.21 #30

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.phpize
2.configure
3.make

Installed Centos 6.3 x86_64 with last updates,
php 5.3.21,
hsclient-devel-1.0.6-8.fc14.x86_64,
hsclient-1.0.6-8.fc14.x86_64,
php-handlersocket-0.3.1.tar.gz

[kulbatsky@fabr-repo handlersocket]$ uname -a
Linux fabr-repo.fabrikant.local 2.6.32-042stab062.2 #1 SMP Wed Oct 10 18:28:35 
MSK 2012 x86_64 x86_64 x86_64 GNU/Linux
[kulbatsky@fabr-repo handlersocket]$ 2.6.32-042stab062.2 #1 SMP Wed Oct 10 
18:28:35 MSK 2012 x86_64 x86_64 x86_64 GNU/Linux^C
[kulbatsky@fabr-repo handlersocket]$ php -v
PHP 5.3.18 (cli) (built: Oct 19 2012 11:08:33)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies

After i try 'make', and get follow errors:
Please help.

/bin/sh /home/kulbatsky/rpmbuild/SPECS/handlersocket/libtool --mode=compile g++ 
 -I. -I/home/kulbatsky/rpmbuild/SPECS/handlersocket -DPHP_ATOM_INC 
-I/home/kulbatsky/rpmbuild/SPECS/handlersocket/include 
-I/home/kulbatsky/rpmbuild/SPECS/handlersocket/main 
-I/home/kulbatsky/rpmbuild/SPECS/handlersocket -I/usr/local/include/php 
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM 
-I/usr/local/include/php/Zend -I/usr/local/include/php/ext 
-I/usr/local/include/php/ext/date/lib -I/usr/include/handlersocket  
-DHAVE_CONFIG_H  -g -O2   -c 
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc -o 
handlersocket.lo
 g++ -I. -I/home/kulbatsky/rpmbuild/SPECS/handlersocket -DPHP_ATOM_INC -I/home/kulbatsky/rpmbuild/SPECS/handlersocket/include -I/home/kulbatsky/rpmbuild/SPECS/handlersocket/main -I/home/kulbatsky/rpmbuild/SPECS/handlersocket -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/handlersocket -DHAVE_CONFIG_H -g -O2 -c /home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc  -fPIC -DPIC -o .libs/handlersocket.o
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc: In function 
‘int zm_startup_handlersocket(int, int)’:
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:390: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:393: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:396: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:399: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc: At global scope:
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:452: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc: In function 
‘void hs_array_to_in_filter(HashTable*, zval*, zval**, long int*, zval**)’:
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:914: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:920: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc: In function 
‘int hs_request_find_execute(php_hs_t*, long int, zval*, zval*, zval*, zval*, 
long int, long int, long int, zval*, long int, zval*)’:
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:1077: error: no 
matching function for call to 
‘dena::hstcpcli_i::request_buf_exec_generic(long int&, dena::string_ref&, 
dena::string_ref*, size_t, long int&, long int&, dena::string_ref&, 
dena::string_ref*, size_t, dena::hstcpcli_filter*, size_t, long int&, 
dena::string_ref*, size_t)’
/usr/include/handlersocket/hstcpcli.hpp:43: note: candidates are: virtual void 
dena::hstcpcli_i::request_buf_exec_generic(size_t, const dena::string_ref&, 
const dena::string_ref*, size_t, uint32_t, uint32_t, const dena::string_ref&, 
const dena::string_ref*, size_t, const dena::hstcpcli_filter*, size_t)
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc: In function 
‘void zim_HandlerSocket___construct(int, zval*, zval**, zval*, int)’:
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:1221: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:1225: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:1234: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:1267: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc: In function 
‘void zim_HandlerSocket_auth(int, zval*, zval**, zval*, int)’:
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:1281: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:1286: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:1301: error: 
‘struct dena::hstcpcli_i’ has no member named ‘request_buf_auth’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc: In function 
‘void zim_HandlerSocket_openIndex(int, zval*, zval**, zval*, int)’:
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:1352: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:1358: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc: In function 
‘void zim_HandlerSocket_executeSingle(int, zval*, zval**, zval*, int)’:
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:1461: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:1468: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc: In function 
‘void zim_HandlerSocket_executeMulti(int, zval*, zval**, zval*, int)’:
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:1552: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:1555: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc: In function 
‘void zim_HandlerSocket_executeUpdate(int, zval*, zval**, zval*, int)’:
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:1753: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:1759: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc: In function 
‘void zim_HandlerSocket_executeDelete(int, zval*, zval**, zval*, int)’:
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:1828: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:1834: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc: In function 
‘void zim_HandlerSocket_executeInsert(int, zval*, zval**, zval*, int)’:
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:1904: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:1908: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc: In function 
‘void zim_HandlerSocket_getError(int, zval*, zval**, zval*, int)’:
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:1970: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc: In function 
‘void zim_HandlerSocket_createIndex(int, zval*, zval**, zval*, int)’:
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:1994: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2000: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2004: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc: In function 
‘void zim_HandlerSocketIndex___construct(int, zval*, zval**, zval*, int)’:
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2145: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2151: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2155: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2160: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2166: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2249: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2261: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2270: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2273: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2276: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2278: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc: In function 
‘void zim_HandlerSocketIndex_getDatabase(int, zval*, zval**, zval*, int)’:
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2294: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc: In function 
‘void zim_HandlerSocketIndex_getTable(int, zval*, zval**, zval*, int)’:
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2301: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc: In function 
‘void zim_HandlerSocketIndex_getName(int, zval*, zval**, zval*, int)’:
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2308: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc: In function 
‘void zim_HandlerSocketIndex_getField(int, zval*, zval**, zval*, int)’:
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2316: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc: In function 
‘void zim_HandlerSocketIndex_getFilter(int, zval*, zval**, zval*, int)’:
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2338: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc: In function 
‘void zim_HandlerSocketIndex_getError(int, zval*, zval**, zval*, int)’:
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2396: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc: In function 
‘void zim_HandlerSocketIndex_find(int, zval*, zval**, zval*, int)’:
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2423: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2428: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2434: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2440: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2447: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2513: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc: In function 
‘void zim_HandlerSocketIndex_insert(int, zval*, zval**, zval*, int)’:
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2527: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2545: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2552: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc: In function 
‘void zim_HandlerSocketIndex_update(int, zval*, zval**, zval*, int)’:
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2647: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2652: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2658: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2664: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2671: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2681: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2750: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc: In function 
‘void zim_HandlerSocketIndex_remove(int, zval*, zval**, zval*, int)’:
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2768: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2773: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2779: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2785: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2792: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2863: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc: In function 
‘void zim_HandlerSocketIndex_multi(int, zval*, zval**, zval*, int)’:
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2881: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2884: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2890: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2896: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:2951: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:3127: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:3220: warning: 
deprecated conversion from string constant to ‘char*’
/home/kulbatsky/rpmbuild/SPECS/handlersocket/handlersocket.cc:3231: warning: 
deprecated conversion from string constant to ‘char*’
make: *** [handlersocket.lo] Error 1

Original issue reported on code.google.com by vlado...@gmail.com on 2 Feb 2013 at 10:11

GoogleCodeExporter commented 9 years ago
1. try again to install hsclient-1.1.0-0.el6.kjdev.x86_64, 
hsclient-devel-1.1.0-0.el6.kjdev.x86_64

2. try again ./configure --disable-handlersocket-hsclient

3. https://github.com/kjdev/php-ext-handlersocketi

Original comment by avue...@gmail.com on 4 Feb 2013 at 12:12

GoogleCodeExporter commented 9 years ago
with --disable-handlersocket-hsclient php-handlersocket is compiled.

Original comment by vlado...@gmail.com on 4 Feb 2013 at 8:14