chandrasis / php-handlersocket

Automatically exported from code.google.com/p/php-handlersocket
0 stars 0 forks source link

Why present the error message: "error: Please reinstall the hsclient distribution" when configuring the project? #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,
   i has installed handler socket plugin for mysql, and it do work well,
the installtion dir is /usr/local/handlersocket-plugin . but i got some error : 
"error: Please reinstall the hsclient distribution" , and i modified the 
configure shell( change "SEARCH_PATH="/usr/local /usr"  to 
"SEARCH_PATH="/usr/local /usr /usr/local/handlersocket-plugin").

but i still got another error message: "configure: error: wrong hsclient lib 
version or lib not found"

Please, help!

Original issue reported on code.google.com by Chenggua...@gmail.com on 24 Nov 2010 at 8:40

GoogleCodeExporter commented 8 years ago
Is the libhsclient headers installed ?
SERCH_PATH is the path to the installed header.
If unsure please find hstcpcli.hpp.

Original comment by avue...@gmail.com on 24 Nov 2010 at 1:59

GoogleCodeExporter commented 8 years ago
yes, i has installed handler socket client successfully,and it works very well.
also the file hstcpcli.hpp has  been finded in dir 
/usr/local/handlersocket-plugin/include/handlersocket.

and in dir /usr/local/handlersocket-plugin/lib   has the static lib and dynamic 
lib named libhsclient.a libhsclient.la and libhsclient.so  libhsclient.so.0 ;

but, why the "error: Please reinstall the hsclient distribution" ?
my handlersocket version is 1.0.6.4 . 

Original comment by Chenggua...@gmail.com on 25 Nov 2010 at 5:46

GoogleCodeExporter commented 8 years ago
modify config.m4 line81, and add prefix to path of hstcpcli.hpp.

like below:

#include "/usr/local/HandelrSoket-Plugin/include/handlersocket/hstcpcli.hpp"

then exucte:

phpize
……

Original comment by bupt....@gmail.com on 20 Dec 2010 at 12:36

GoogleCodeExporter commented 8 years ago
modify config.m4

added configure option.
[ --with-handlersocket-includedir=DIR ]

ex:
 (/usr/local/HandelrSoket-Plugin/include/handlersocket/hstcpcli.hpp)
 configure --with-handlersocket-includedir=/usr/local/HandelrSoket-Plugin/include/handlersocket

Original comment by avue...@gmail.com on 24 Dec 2010 at 4:46