/ / Homebrew - Sphinxをインストールできない - mysql、ruby-on-rails、sphinx、thinking-sphinx

Homebrew - Sphinxをインストールできない - mysql、ruby-on-rails、sphinx、thinking-sphinx

私はSphinxを手に入れようとしています(そしてSphinxが働いていると思っています)。以前はうまくいっていましたが、今夜は同僚がNode、phpなどをインストールした。

最初にロックされたpidファイルについて苦情を言いました:

FATAL: failed to lock pid file

この後、私は再インストールしようとしました Sphinx

brew uninstall sphinx

そして:

brew install sphinx.

私は既に持っています mysql 私はスキップしました --mysql。これにより、次の結果が得られます。

This is not sphinx - the Python Documentation Generator.
To install sphinx-python: use pip or easy_install,

Sphinx has been compiled with libstemmer support.

Sphinx depends on either MySQL or PostreSQL as a datasource.

You can install these with Homebrew with:
brew install mysql
For MySQL server.

brew install mysql-connector-c
For MySQL client libraries only.

brew install postgresql
For PostgreSQL server.

We don"t install these for you when you install this formula, as
we don"t know which datasource you intend to use.

実行中 searchd 私はこれを得る:

FATAL: no readable config file (looked in   /usr/local/Cellar/sphinx/2.2.6/etc/sphinx.conf, ./sphinx.conf).

そして、開始しようとするとき thinking-sphinx 私のレールアプリのために私は得る:

Failed to start searchd. Check the log files for more information.

そして、ログファイルには次のように表示されます:

FATAL: failed to lock pid file

私はこれを引き起こしているか、それをどうやって修正できるかはわかりません。 Sphinx 十分であろう - しかし、私は正方形に立ち往生している。

どのように私はそれを再び働かせることができるかについての任意のアイデア?

回答:

回答№1は1

スフィンクスをアンインストールして、これを実行する方法は?

brew install sphinx --pgsql --mysql