前几天在一台32位的linux上成功安装了scws 1.1.1版本,今天看到发布了1.1.2的版本,就在一台64位的机器上准备安装。依然遵循1.1.1版本的安装步骤,却发现出错了: 看代码: [code] [root@localhost phpext]# ./configure --with-scws=/usr/local/scws...
... [root@64646155 phpext]# make && make install /bin/sh /niran/fenci/scws/phpext/libtool --mode=compile cc -I. -I/niran/fenci/scws/phpext -DPHP_ATOM_INC -I/niran/fenci/scws/phpext/include -I/niran/fenci/scws/phpext/main -I/niran/fenci/scws/phpext -I/usr/local/php/include/php -I/usr/local/php/in...
...3 Zend Extension Api No: 220060519 [root@zjx phpext]# ./configure --with-scws=/usr/local/scws/ --with-php-config=/usr/local/php/bin/php-config checking for egrep... grep -E checking for a sed that does not truncate output... /bin/sed checking for cc... cc checking for C compiler default output fil...
这样设置后 ./configure --with-scws=/usr/local/scws --with-php-config=/usr/local/php/bin/php-config 然后还是出错 不加--with-php-config=/usr/local/php/bin/php-config不会出错,但是PHP无法加载 # make /bin/sh /niran/fenci/scws-1.1.2/phpext/libtool --mode=compile gcc -I...
写了一行脚本,将代码转为 UTF-8 编码的源文件: #!/bin/bash for i in `find ./ -type f |grep -v 'batch' ` ; do iconv $i -f gbk -t utf8 -o ${i}.tmp && mv ${i}.tmp $i ; done
[code]loading@opensuse:~/Downloads/scws/scws-1.2.1/phpext> ./configure --with-scws=/usr/local/scws --with-php-config=/usr/bin/php-config configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... ...
[quote='hightman' pid='3417' dateline='1259892522'] 从结果看应该是 scws_set_dict(s, "/usr/local/etc/dict_chs_gbk.xdb", SCWS_XDICT_MEM); 这句话出了问题, 也就是可能词典不正确. 但这个词典目前测试在64位系统下也是可以正常工作的, 检查一下词典的字...
...native-ttf --with-openssl --with-mhash --enable-pcntl --enable-sockets[hr] scws php扩展编译是这样的 [root@zjx phpext]# ./configure --with-scws=/usr/local/scws/ --with-php-config=/u sr/local/php51/bin/php-config checking for egrep... grep -E checking for a sed that does not truncate output....
...含安装所需求的全部组件的完整安装包(含 xapian/libevent/scws),您只要下载并安装此完整安装包即可。为什么还会以上错误?怎么解决呢?
...d dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20090626/scws.so' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20090626/scws.so: undefined symbol: core_globals_id in Unknown on line 0[/code] 还是这个问题!无法解决! libscws已经安装成功! 安装php扩展:...