...后一行加入了: [scws] extension = scws.so extension_dir=/usr/local/php5/lib/php/extensions/no-debug-non-zts-20090626 scws.default.charset = gbk scws.default.fpath = /usr/local/scws/etc 重启apache后,输入php -m 出现如下错误,按照文档说明,应该输入php -m后...
...示? Confirm the installation directory 请确认安装目录:/usr/local/xunsearch [Y/n]y Checking scws ... 1.1.8 Checking scws dict ... ok Checking libuuid ... yes: /usr Checking xapian-core-scws ... no Installing xapian-core-scws (1.2.7) ... Extracting xapian-core-scws package ... ...
...able-maintainer-zts 参数也不行 php 5.2.13 [root@zjx phpext]# /usr/local/php/bin/phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 [root@zjx phpext]# ./configure --with-scws=/usr/local/scws/ --with-php-config=/usr/...
...db.lo' failed make[2]: *** [xdb.lo] Error 1 make[2]: 离开目录“/usr/local/scws-1.2.1/libscws” Makefile:262: recipe for target `all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: 离开目录“/usr/local/scws-1.2.1” Makefile:192: recipe for target `all' failed make: ...
...题依旧。 我说了安装了scws主程序了啊,安装位置在/usr/local/scws libscws.so文件也存在 但是php扩展编译的时候貌似不认,报出上述错误 这是我安装后的目录,你看看: [XXX@XXX ~]$ ls /usr/local/scws/lib/ libscws.la libscws.so libscws.so...
...sr/lib/php/scws.so" scws.default.charset = gbk scws.default.fpath = /usr/local/scws/etc/ 我的scws.so文件确实存在于/usr/lib/php/目录下的,但没有在/usr/local/scws/etc/目录下,我试过复制一个过来也不行。 实际上我用phpinfo() 在页面上可以看到scws已...
...ws/docs.php 这个上面的步骤一步一步装的 安装提示 [root@localhost phpext]# make install Installing shared extensions: /usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/ 这个应该说明scws安装成功了 并在在/usr/local/php/lib/php/extensions/no-debug-non-z...
...root/xunsearch-full-1.4.8/xunsearch-1.4.8 执行 ./configure --prefix=/usr/local/xunsearch --with-scws=/usr/local/xunsearch --with-libevent=/usr/local/xunsearch --with-xapian=/usr/local/xunsearch 仍然产生这个错误 ls -al /usr/local/xunsearch/include/scws -rw-r--r-- 1 root wheel 306 2 2...
... [/quote] 我也出现了和你类似的错误, gcc -o scws -I/usr/local/scws/include/scws -L/usr/local/scws/lib -lscws -Wl,--rpath -Wl,/usr/local/scws/lib /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' co...
...3417' dateline='1259892522'] 从结果看应该是 scws_set_dict(s, "/usr/local/etc/dict_chs_gbk.xdb", SCWS_XDICT_MEM); 这句话出了问题, 也就是可能词典不正确. 但这个词典目前测试在64位系统下也是可以正常工作的, 检查一下词典的字节数是不是没有下...