Search code examples
bashsphinxconfiguremacos-mojave

macOS "./configure: No such file or directory" problem


When I try to install Sphinx with this guide

./configure --with-pgsql --with-mysql #from guide
make #from guide
sudo make install #from guide

./configure

 -bash: ./configure: No such file or directory

$ autoreconf --install

autoreconf: 'configure.ac' or 'configure.in' is required

Solution

  • Not excellent solution (because without mysql), but working (as all in programming world).

    1) brew remove mysql

    2) brew install [email protected] (I don't know why, but it is working only with this version)

    3) download sphinxsearch.com/files/sphinx-2.2.11-release.tar.gz and extract and cd to it

    4) ./configure --with-pgsql --without-mysql and make and sudo make install

    It is working for me, because I need postgresql first of all