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

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)
主站蜘蛛池模板: 冷水江市| 家居| 左权县| 勃利县| 庐江县| 陆丰市| 清新县| 基隆市| 绥化市| 红安县| 铜鼓县| 镇康县| 三河市| 思茅市| 陇川县| 木兰县| 竹北市| 濮阳县| 福清市| 屏南县| 威信县| 湖北省| 农安县| 黑水县| 杭锦后旗| 迁西县| 安徽省| 平定县| 连江县| 蓬安县| 惠水县| 耒阳市| 海宁市| 四会市| 鞍山市| 旺苍县| 喀喇| 绥中县| 武宣县| 天祝| 黄山市|