...undefined reference to `_WinMain@16' collect2: ld returned 1 exit status make[2]: *** [libscws.la] Error 1 make[2]: Leaving directory `/home/sundaming/scws-1.1.6/libscws' make[1]: *** [all-recursive] Error 1 gcc -Wl,--base-file,.libs/cygscws-1.dll-base -Wl,-e,__cygwin_dll_entry@12 -o .libs/cy...
必须先安装scws主体啊,在安装phpext/之前。 cd scws-1.1.2/ ; ./configure --prefix=/usr/local/scws ; make ; make install 然后再做你的上述步骤!
我测试过make_xdb_file.php,明显是有错误码的,提示93行处的TF、IDF、Attr不存在,这明显示是:“[b]对分词再分词[/b]”带来的结果,在65行处看到only support GBK dictionary 到80行,这是不参对utf-8字符处理的,不能对中文(中英混合)字...
...kdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for gawk... (cached) mawk checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables...
...ld environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... configure: error: in `/opt/xunsearch/scws-1.1.8': configure: error: C compiler cannot create executables See `config.l...
...afe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: in `/root/xunsearch-full-1.4.8/scws-1.2.3-dev': configure: error: no acceptable C compiler found in $PATH ...
...1.7.tar.bz2 cd scws-1.1.7 ./configure --prefix=/usr/local/scws-1.1.7 make make install ls -al /usr/local/scws-1.1.7/lib/libscws.la /usr/local/scws-1.1.7/bin/scws -h #两外我将字典文件放入了 /usr/local/scws-1.1.7/etc 下面 /opt/php-5.2.17/bin/phpize #说明:我的php安...
...th-scws=/usr/local/scws --with-php-config=/usr/local/php/bin/php-config 4. make && make install 然后重启PHP的进程(FASTCGI?)
解决了,我把插件里带的libtool(2.2.26),地换成系统中的1.5.22版的libtool就可以make可,不过暂时还不知道会不会有其他问题。
...两个都没问题, 在安装myft这个插件式,configure没问题,make出现了一个错误,如下提示 ibtool: Version mismatch error. This is libtool 2.2.6, but the libtool: definition of this LT_INIT comes from an older release. libtool: You should recreate aclocal.m4 with macros...