...g for gawk... gawk checking for scws support... yes, shared checking for scws_new in -lscws... yes checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr...
...出现 checking for scws.h... yes, found in /usr/local/scws checking for scws_new in -lscws... no configure: error: Incorrect scws library 有没有遇到过这种情况,, cd phpext/ phpize ./configure --with-scws=/usr/local/scws ..... configure: error: Incorrect scws library 遇...
...g for gawk... gawk checking for scws support... yes, shared checking for scws_new in -lscws... yes checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /us...
...ocal/bin/php-config checking for scws support... yes, shared checking for scws_new in -lscws... no configure: error: wrong scws lib version or lib not found 我的PHP为5.2.14,通过FreeBSD ports安装版本,,望解决。
... { scws_t s; scws_res_t res, cur; char *text = "上海市"; if (!(s = scws_new())) { printf("error, can't init the scws_t!\n"); exit(-1); } scws_set_charset(s, "utf-8"); scws_set_dict(s, "/usr/local/etc/dict.utf8.xdb", SCWS_XDICT_XDB); scws_set_rule(s, "/usr/local/etc/rules.utf8.ini"); ...