官术网_书友最值得收藏!

Installation

Enough talking, let's get on to some real action. The first step is to install Sphinx itself.

System requirements

Sphinx was developed and tested mostly on UNIX based systems. All modern UNIX based operating systems with an ANSI compliant compiler should be able to compile and run Sphinx without any issues. However, Sphinx has also been found running on the following operating systems without any issues.

  • Linux (Kernel 2.4.x and 2.6.x of various distributions)
  • Microsoft Windows 2000 and XP
  • FreeBSD 4.x, 5.x, 6.x
  • NetBSD 1.6, 3.0
  • Solaris 9, 11
  • Mac OS X

Note: The Windows version of Sphinx is not meant to be used on production servers. It should only be used for testing and debugging. This is the primary reason that all examples given in this book will be for Linux-based systems.

Sphinx on a Unix-based system

If you intend to install Sphinx on a UNIX based system, then you need to check the following:

  • C++ compiler (GNU GCC works fine)
  • A make program (GNU make works fine)
  • The XML libraries libexpat1 (name may be different on non Ubuntu distro) and libexpat1-dev (If you intend to use the xmlpipe2 data source)
主站蜘蛛池模板: 哈尔滨市| 南充市| 远安县| 江山市| 綦江县| 桃园县| 太原市| 海林市| 河池市| 台东县| 德令哈市| 玉山县| 浦北县| 乳山市| 奉化市| 响水县| 汾西县| 阜宁县| 镇宁| 牟定县| 延津县| 余姚市| 榆树市| 洛南县| 红河县| 长春市| 岳西县| 类乌齐县| 桂阳县| 中超| 波密县| 盘山县| 隆昌县| 顺义区| 瑞安市| 城口县| 巧家县| 沿河| 永新县| 日土县| 荃湾区|