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

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)
主站蜘蛛池模板: 西盟| 昌黎县| 宁津县| 白城市| 虞城县| 舒兰市| 积石山| 云和县| 巴塘县| 武城县| 昌宁县| 元氏县| 安化县| 双流县| 加查县| 林口县| 资溪县| 沙坪坝区| 伊通| 衡水市| 封开县| 衡山县| 博白县| 资阳市| 晴隆县| 凤山市| 太白县| 古浪县| 绩溪县| 阳城县| 邮箱| 阿巴嘎旗| 微博| 沙洋县| 高安市| 同江市| 江北区| 安丘市| 台东县| 宝丰县| 苏尼特右旗|