coreseek安装记

Code   ViewCopyPrint
  1.         先从http://www.coreseek.cn/news/7/99/    上下载到LibMMSeg的安装包,如下:   
  2.   自己看软件列表,把一些需要安装的软件安装上,比如我就忘记安装automake了。。
  3. cd /usr/local/src/   
  4. wget http://www.coreseek.cn/uploads/csft/3.2/coreseek-3.2.13.tar.gz -c   
  5.        然后解压缩:   
  6.   
  7. tar -zxv -f coreseek-3.2.13.tar.gz   
  8.        进入到mmseg所在文件夹,然后编译:   
  9.   
  10. cd coreseek-3.2.13/mmseg-3.2.13/   
  11. ./configure --prefix=/usr/local/mmseg   
  12.        编译过程中报了一个config.status: error: cannot find input file: src/Makefile.in这个的错误,然后运行下列指令再次编译就能通过了:   
  13.   
  14. aclocal   
  15. libtoolize --force   
  16. automake --add-missing   
  17. autoconf   
  18. autoheader   
  19. make clean   
  20.        然后再进行编译和安装:   
  21.   
  22. ./configure --prefix=/usr/local/mmseg   
  23. make && make install   
  24.        把mmseg的命令加到环境变量中,然后运行mmseg,就能输入安装成功的信息了:   
  25.   
  26. ln -s /usr/local/mmseg/bin/mmseg /bin/mmseg   
  27. mmseg   
  28.   
  29. Coreseek COS(tm) MM Segment 1.0   
  30. Copyright By Coreseek.com All Right Reserved.   
  31. Usage: mmseg <option> <file>  
  32. -u <unidict>           Unigram Dictionary   
  33. -r           Combine with -u, used a plain text build Unigram Dictionary, default Off   
  34. -b <Synonyms>           Synonyms Dictionary   
  35. -t <thesaurus>          Thesaurus Dictionary   
  36. -h            print this help and exit  

posted on 2013-02-06 14:01  cnjack  阅读(158)  评论(0编辑  收藏  举报

导航