ln -s /usr/local/scws/lib/libscws.so.2.0 /usr/local/scws/lib/libscws.so 编译很顺利,就遇到这一个问题:D
错误信息 checking for a sed that does not truncate output... /usr/local/bin/sed checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking how to run the C preprocessor... cc -E checking for grep that handles long lines and -e... /usr/bin/grep checking ...
... [/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...
[php] [root@localhost bin]# ./php /usr/local/lamp/xunsearch/sdk/php/util/Quest.php demo 很有 在 3 条数据中,大约有 0 条包含 很有 ,第 0-0 条,用时:0.0022 秒。 [root@localhost bin]# 有意思 -bash: 有意思: command not found [root@localhost bin]# ./php /usr/local/l...
...8' dateline='1291049346'] 词库没有正确加载,你检查一下 /usr/local/scws/etc/ 下的 .xdb 的文件属性,默认.tar.bz2 解开有可能是600,建议 chmod a+r /usr/local/scws/etc/* [/quote] 非常感谢,被这个问题折磨了1天,原来是权限问题
...径,这样很像在电脑上安装软件。我安装的路径是 " /usr/local/xunsearch",同时我把文件夹里面的data软连接在"/mnt/xunsearch/x/data",这样便于管理,打开"/usr/local/xunsearch/data"其实就是打开"/mnt/xunsearch/x/data",文件会存放在"/mnt/xunsearch/x/data"...
...径,这样很像在电脑上安装软件。我安装的路径是 " /usr/local/xunsearch",同时我把文件夹里面的data软连接在"/mnt/xunsearch/x/data",这样便于管理,打开"/usr/local/xunsearch/data"其实就是打开"/mnt/xunsearch/x/data",文件会存放在"/mnt/xunsearch/x/data"...
...0755 但是连接出现 Fatal error: Uncaught [XSException] ../../../usr/local/hush/sdk/php/lib/XS.php(2177): Permission denied(C#13) thrown in /usr/local/hush/sdk/php/lib/XS.php on line 2177 chown -R www:www后则正常连接了
...d8.2里安装php的扩展出现 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: Incorr...
...scws 的相關訊息, 產生的 scws.so 檔案大小如下 # ls -l /usr/local/php5/lib/php/extensions/no-debug-non-zts-20090626 -rwxr-xr-x 1 root root 235919 7月 11 07:07 memcache.so -rwxr-xr-x 1 root root 72844 7月 16 14:26 scws.so -rwxr-xr-x 1 root root 117220 7月 15 00:13 sphinx.so ...