coreseek安装实录
1. 系统环境 操作系统版本: ubuntu 11.0.4 要安装的coreseek版本: 3.1 2. 安装实录 #下载所需文件并解压wget http://www.coreseek.cn/uploads/csft/3.1/Source/csft-3.1.tar.gzwget http://www.coreseek.cn/uploads/csft/3.1/Source/mmseg-3.1.tar.gztar -
1. 系统环境
操作系统版本: ubuntu 11.0.4
要安装的coreseek版本: 3.1
2. 安装实录
#下载所需文件并解压 wget http://www.coreseek.cn/uploads/csft/3.1/Source/csft-3.1.tar.gz wget http://www.coreseek.cn/uploads/csft/3.1/Source/mmseg-3.1.tar.gz tar -zxvf mmseg-3.1.tar.gz tar -zxvf csft-3.1.tar.gz #先安装mmseg cd mmseg-3.1/ ./configure -prefix=/usr/local/mmseg make && make install cd ../ #安装coreseek tar -zxvf csft-3.1.tar.gz cd csft-3.1 ./configure -prefix=/usr/local/coreseek -with-mmseg-includes=/usr/local/mmseg/include/mmseg -with-mmseg-libs=/usr/local/mmseg/lib -without-iconv make && make install
3. 安装过程中遇到的问题
错误一:
/usr/local/sphinx/src/sphinx.cpp:15557: undefined reference to `libiconv_open'
libsphinx.a(sphinx.o)(.text+0x53a01): /home/setup/csft-3.1/src/sphinx.cpp:15575: undefined
reference to `libiconv'
libsphinx.a(sphinx.o)(.text+0x53a28): /home/setup/csft-3.1/src/sphinx.cpp:15581: undefined
reference to `libiconv_close'
collect2: ld returned 1 exit status
make[2]: * [indexer] Error 1
make[2]: Leaving directory ` /home/setup/csft-3.1/src '
make[1]: * [all] Error 2
make[1]: Leaving directory ` /home/setup/csft-3.1/src '
make: * [all-recursive] Error 1
解决办法:
修改configure 文件把 #define USE_LIBICONV 0 最后的数值由1改为0
重新编译。
错误二.
libsphinx.a(sphinx.o): In function `ISphTokenizer::Create(CSphTokenizerSettings const&,
/home/setup/csft-3.1/src/sphinx.cpp:3383: undefined reference to `sphCreateGBKChineseTok
/home/setup/csft-3.1/src/sphinx.cpp:3383: undefined reference to `sphCreateGBKChineseTok
collect2: ld return 1
make[2]: *** [indexer] Error 1
make[2]:Leaving directory `/home/setup/csft-3.1/src'
make[1]: *** [all] Error 2
make[1]:Leaving directory `/home/setup/csft-3.1/src'
make: *** [all-recursive] Error 1
解决办法:
打开 ./src/sphinx.cpp 将以下这几句注释掉, 重新编译安装
case TOKENIZER_ZHCN_GBK:
pTokenizer = sphCreateGBKChineseTokenizer
(tSettings.m_sDictPath.cstr(), tSettings.m_nBest); break;
声明: 本文采用 CC BY-NC-SA 3.0 协议进行授权
转载请注明来源:小景的博客
本文链接地址:http://www.phpv5.com/blog/coreseek-install

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Detailed explanation and installation guide for PiNetwork nodes This article will introduce the PiNetwork ecosystem in detail - Pi nodes, a key role in the PiNetwork ecosystem, and provide complete steps for installation and configuration. After the launch of the PiNetwork blockchain test network, Pi nodes have become an important part of many pioneers actively participating in the testing, preparing for the upcoming main network release. If you don’t know PiNetwork yet, please refer to what is Picoin? What is the price for listing? Pi usage, mining and security analysis. What is PiNetwork? The PiNetwork project started in 2019 and owns its exclusive cryptocurrency Pi Coin. The project aims to create a one that everyone can participate

The article introduces that virtual currency is a digital or virtual currency form that relies on cryptography and trades through peer-to-peer networks, and lists common currencies such as Bitcoin. It is usually available on cryptocurrency exchanges such as Coinbase, and all the advantages and disadvantages of each transaction. It emphasizes that the purchase of virtual currency is high, the price fluctuates greatly, and is prone to fraud and hacking. It reminds you to conduct sufficient research before investing and only invest in funds that can bear losses. The information is for reference only and is not investment advice.

This article introduces free digital asset quotation software apps and websites that can provide investors with key information such as real-time prices, price charts, transaction volume, fluctuations, market depth and news information to help investors make informed decisions. Compared with paid software, free software has the advantages of no cost, rich features, and easy operation. The article also guides users how to choose the right market software, and reminds users to pay attention to data sources, information accuracy and avoid excessive dependence, which ultimately helps investors better grasp the trends of the digital asset market. Want to know how to use free market software efficiently? Read the full text quickly!

The official download steps of the Sesame Open Exchange app cover the Android and iOS system download process, as well as common problems solutions, helping you download safely and quickly and enable convenient transactions of cryptocurrencies.

Euyi Exchange, the world's leading digital asset trading platform, has now launched its official mobile app. The Ouyi Exchange application provides users with safe and convenient crypto asset trading services, supporting the transaction and storage of a variety of mainstream currencies. In addition, the application also provides real-time price trend charts, in-depth charts and professional analysis tools to meet the needs of different traders. Whether you are a novice or a senior trader, the Ouyi Exchange app is an ideal platform that allows you to manage your crypto assets easily and securely.

Gate.io Apple mobile phone download guide: 1. Visit the official Gate.io website; 2. Click "Use Apps"; 3. Select "App"; 4. Download the App Store; 5. Install and allow permissions; 6. Register or log in; 7. Complete KYC verification; 8. Deposit; 9. Transaction of cryptocurrency; 10. Withdrawal.

Need to download the Gate.io app to start your cryptocurrency journey? This guide details the latest version download steps for iOS, Android, and Windows devices. Simply visit the official website, find the download link and select the appropriate option based on your device. For iOS, it will go directly to the App Store, while Android and Windows users will download the APK or installer for manual installation. Once installed, you can launch the app and set up your account to step into the world of cryptocurrency.

Choosing the right Bitcoin market viewing software is crucial, it can help investors grasp market conditions in real time and make smarter investment decisions. This article will guide you how to make a choice, covering personal needs assessment (trading frequency, analysis depth, information needs and budget), software type selection (exchange interface, professional software, market website/APP), core functional considerations (data reliability, chart tools, custom settings, community communication and platform compatibility), and direction recommendations (maturity financial platform, cryptocurrency aggregation platform, community recommendation software). Finally, it is recommended that you try a few more software and compare it to choose the tool that best suits your needs. Please remember that software is only an auxiliary tool, and you must be cautious when investing at your own risk.
