既然这样你编译的scws应当是要给自己安装的 /usr/local/php 使用的对吧?如果你编译的结果是给另一个版本的php用,则应当用/usr/bin/php-config 及 phpize 确认一下扩展编译步骤(在 scws-1.1.5/phpext/ 目录下运行以下): /usr/local/php/bin/phpi...
...php-config路径去安装. 看你发的URL PHP应该是被安装在 /usr/local/php 下,那么你编译 scws 应该按以下步骤: 1. /usr/local/php/bin/phpize --clean 2. /usr/local/bin/bin/phpize 3 ./configure --with-scws=/usr/local/scws --with-php-config=/usr/local/php/bin/php-config 4. mak...
开始重建索引 ... [XSException] ../local/xunsearch/sdk/php/lib/XS.php(1898): DB has been rebuilding(S#407) #0 ../local/xunsearch/sdk/php/lib/XS.php(1122): XSServer->execCommand(Array, 257) #1 Indexer.php(163): XSIndex->beginRebuild() #2 {main}
...et_blocking(): supplied argument is not a valid stream resource(2) #0 /usr/local/xunsearch/sdk/php/lib/XS.php(2210): xs_error_handler(2, 'stream_set_bloc...', '/usr/local/xuns...', 2210, Array) #1 /usr/local/xunsearch/sdk/php/lib/XS.php(2030): XSServer->connect(NULL, true) #2 /usr/local/xunsearch/sd...
我在rc.local中加入了xunsearch自启动的命令: /usr/local/xunsearch/bin/xs-indexd -l /usr/local/xunsearch/tmp/indexd.log -b 192.168.5.180:8383 -k start /usr/local/xunsearch/bin/xs-searchd -l /usr/local/xunsearch/tmp/searchd.log -b 192.168.5.180:8384 -k start 昨天关机,今天早上...
gcc -o test -I/usr/local/scws/include/scws -L /usr/local/scws/lib test.c -lscws -Wl,--rpath -Wl, /usr/local/scws/lib /usr/bin/ld: cannot find /usr/local/scws/lib: File format not recognized collect2: ld returned 1 exit status Hightman 能否解决下?
...or sun_len in sys/un.h... no checking for event.h of libevent... yes: /usr/local/xunsearch checking for correct libevent version... ok checking for event_init in -levent... yes checking for scws.h of scws... yes: /usr/local/xunsearch checking for scws_new in -lscws... yes checking for xapian.h of xa...
是不是你之前重建 没有完成就又重建了?建议用 bin/xs-ctl.sh restart 然后再调用 Indexer.php --clean 清除吧
...哥指点 我的php编译大致是这样的 ./configure --prefix=/usr/local/php51 --with-config-file-path=/usr/local/php51/etc --with-mysql=/usr/local/mysql51 --with-mysqli=/usr/local/mysql51/bin/mysql_config --with-iconv-dir=/usr/local --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zl...
...件呢? require的话会提示报错 我是安装在默认目录 /usr/local/xunsearch的 但是我使用 require '/usr/local/sdk/php/lib/XS.php'; 会提示require() [function.require]: Failed opening required '/usr/local/sdk/php/lib/XS.php' 小白一个求指点一二 [/quote] 应该是...