J'ai installé MySQL avec apt-get
installation sphynx sur ubuntu
Ubuntu sépare les fichiers mysql aux endroits suivants:
/usr/bin/mysql
/var/lib/mysql
/var/log/mysql
/etc/mysql/my.cnf
Suivant les instructions du document de sphynx:
$ ./configure
--prefix
, qui spécifie où installer Sphinx; tel que --prefix=/usr/local/sphinx
(tous les exemples utilisent ce préfixe)
--with-mysql
, qui spécifie où rechercher les fichiers d'inclusion et de bibliothèque MySQL, si l'auto-détection échoue;
je reçois l'erreur suivante:
checking whether to compile with MySQL support... yes
configure: error: invalid MySQL root directory '/usr/bin'; neither bin/mysql_config, nor include/ and lib/ were found there
Où dois-je dire à chercher MySQL?
$ ./configure --with-mysql=WHICH PLACE?
merci beaucoup – koogua