Sphinx Search を構成しようとすると、次のようになります。これは、多くの人が以前に見たことがあると思います....
(Linux VPS で Cent OS を使用。Sphinx tarball がダウンロードされ、展開されています。)
ERROR: cannot find MySQL include files.
Check that you do have MySQL include files installed.
The package name is typically 'mysql-devel'.
If include files are installed on your system, but you are still getting
this message, you should do one of the following:
1) either specify includes location explicitly, using --with-mysql-includes;
2) or specify MySQL installation root location explicitly, using --with-mysql;
3) or make sure that the path to 'mysql_config' program is listed in
your PATH environment variable.
To disable MySQL support, use --without-mysql option.
それで、私は# which mysql-includes
それを見つけるために走りました、そしてこれが私が得たものです...
/usr/bin/which: no mysql-devel in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
それはエイリアンの言語かもしれませんが、今は行き詰まっています。セットアップされて使用されている DB があるため、MySQL がサーバーにインストールされていることを知っています。誰かがこのハードルを越えて私を助けることができますか?
また、次のような使い方の良い例は何--with-mysql-includes
ですか?