mmbb:/usr/src/scws-0.0.1-pre/src# valgrind --tool=memcheck --leak-check=yes ./scwsc -r ../etc/rules.ini -d ../etc/dict.xdb -i "有用过NTFS的朋友抱怨" ==30624== Memcheck, a memory error detector. ==30624== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al. ==30624== Using LibVE...
...平台啊,大概不兼容 LOCK_EX 的定义位置。请手动修改 libscws/xdb.c diff --git a/libscws/xdb.c b/libscws/xdb.c index ce6737e..71273bd 100644 --- a/libscws/xdb.c +++ b/libscws/xdb.c @@ -25,6 +25,10 @@ #include #include +#ifdef HAVE_FLOCK +# include +#endif + #ifdef HAVE_MMA...
...entos5.6+Nginx0.8.54+mysql 5.1.54+php5.2.17 按照 http://www.ftphp.com/scws/docs.php#instscws 安装 参照 http://blog.csdn.net/ustcwudi/article/details/6349088 修改代码的。 并且php -m 与phpinfo()都能看到scws模块。 在论坛上也找到与我一样的错误。 http://www.hig...
...s php5.3.3/apache/2.2.17 all x64bit, now, all my service is ok but the php_scws.dll, run php got error: ------------------------------------------ PHP Warning: PHP Startup: Unable to load dynamic library 'D:\home\php\ext\php_s cws.dll' - %1 is not a valid Win32 application. in Unknown on line...
...on... ok checking for event_base_new in -levent_core... yes checking for scws.h of scws... yes: /usr/local/xunsearch checking for scws_new in -lscws... no configure: error: scws_new() NOT found in libscws, please check it first. freebsd 10 xunsearch 1.4.8 有libscws.a 和 libuuid.a 但...
... dateline='1312462730'] 错误信息如下 gcc -Wl,--base-file,.libs/cygscws-1.dll-base -Wl,-e,__cygwin_dll_entry@12 -o .libs/cygscws-1.dll charset.lo crc32.lo pool.lo scws.lo xdict.lo darray.lo rule.lo lock.lo xdb.lo xtree.lo /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../libcygwin.a(libcmain.o):(...
...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 ... Configuring xapian-core-scws ... ...
...了论坛的一些资料,重新进行配置如下$cws->set_dict(ini_get('scws.default.fpath') . '/a.txt' , SCWS_XDICT_TXT);(注:a.txt)为文本字典,运行无报错,但是无法正确匹配(如:我的a字典就2个词,好纠结啊,纠结死啦,但是当我输入时还是分词...
XS Object ( [_index:private] => [_search:private] => [_scws:private] => [_scheme:private] => XSFieldScheme Object ( [_fields:private] => Array ( [newsid] => XSFieldMeta Object ( [name] => newsid [cutlen] => 0 [weight] => 1 [type] => 10 [vno] => 0 [tokenizer:private] => full [flag:private] => 1 )...
...rror 1 make[2]: Leaving directory `/root/xunsearch-full-1.4.1/xapian-core-scws-1.2.13' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/root/xunsearch-full-1.4.1/xapian-core-scws-1.2.13' make: *** [install] Error 2 -----