必须先安装scws主体啊,在安装phpext/之前。 cd scws-1.1.2/ ; ./configure --prefix=/usr/local/scws ; make ; make install 然后再做你的上述步骤!
...th-scws=/usr/local/scws --with-php-config=/usr/local/php/bin/php-config 4. make && make install 然后重启PHP的进程(FASTCGI?)
对只要编译一下 scws 扩展就可以了。在 xunsearch-full-xxx 下面有 scws-1.1.8/phpext 在此目录下 phpize ./configure make && make install 即可,以上步骤根据不同用户权限略有不同。
...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安...
... 第二参数省略则直接输出到标准输出。 2. 词典生成:make_xdb_file.php 同样是在命令行模式下运行(需要安装 mbstring 扩展) 默认是处理 gbk 编码的文本,如果你的文本是 utf8,则需要修改该程序的第一行,把 define('IS_UTF8_TX...
...ore_globals_id done 这个错误时为什么[hr] [root@zjx phpext]# make /bin/sh /root/scws-1.1.1/phpext/libtool --mode=install cp ./scws.la /root/scws-1.1.1/phpext/modules cp ./.libs/scws.so /root/scws-1.1.1/phpext/modules/scws.so cp ./.libs/scws.lai /root/scws-1.1.1/phpext/modules/scws.la l...
...flock... yes configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating libscws/Makefile config.status: WARNING: 'libscws/Makefile.in' seems to ignore the --datarootdir setting c...
...件是用txt生成sqlite词库的程序,用命令行方式运行! php make_sqlite.php dict.sqlite dict.txt 参数第一个 dict.sqlite是词库的名称 参数第二个 dict.txt是输入词库的文本文件(本网站[url=http://www.hightman.cn/bbs/showthread.php?tid=636]本网站的PHP的X...
... /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 for egrep... /usr/bin/grep -E checking for special C compiler op...