这样设置后 ./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...
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 能否解决下?
...。但是此时出现了indexer无法正常启动的情况 执行命令 /usr/local/xunsearch/bin/xs-ctl.sh -b local restart 提示: WARNING: no server[xs-indexd] is running (BIND:127.0.0.1:8383) INFO: re-starting server[xs-indexd] ... (BIND:127.0.0.1:8383) INFO: stopping server[xs-searchd] (...
...程出错,下面是setup.log checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for ...
.configure --prefix=/usr/local/scws 运行 之后,前面看起来都很正常,最后部分出问题了 ----------------------------- checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sa...
...提示? 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 ....
[root@li382-193 ~]# /usr/local/xunsearch/bin/xs-ctl.sh fastrestart INFO: stopping server[xs-indexd] (BIND:127.0.0.1:8383) .... [OK] INFO: re-starting server[xs-indexd] ... (BIND:127.0.0.1:8383) INFO: stopping server[xs-searchd] (BIND:127.0.0.1:8384) ................................. [FAILED] [ro...
...] [b]执行:[/b] [code][root@localhost phpext]# ./configure --with-scws=/usr/local/scws --with-php-config=/opt/lampp/bin/php-config checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed ch...
...id='3417' dateline='1259892522'] 从结果看应该是 scws_set_dict(s, "/usr/local/etc/dict_chs_gbk.xdb", SCWS_XDICT_MEM); 这句话出了问题, 也就是可能词典不正确. 但这个词典目前测试在64位系统下也是可以正常工作的, 检查一下词典的字节数是不是没有...
...以加载不成功。 只要重新编译一下php,用 --with-apxs2=/usr/local/apache2/bin/apxs 指定一下apache,就可以加载手动安装的这个php了,这样就可以正常加载scws了。 如果遇到跟我一样的问题:Unable to load dynamic library,最好用安装的php下...