строчка вызова следующая: ./configure --prefix=/opt/jabber --with-mysql=/opt/mysql --with-mysql-includes=/opt/mysql/include/mysql --with-mysql-libs=/opt/mysql/lib/mysql --with-openssl=/usr/local/ssl --with-openssl-includes=/usr/local/ssl/include/openssl --with-openssl-libs=/usr/local/ssl/lib
а вот результат:
checking for OpenSSL in /usr/local/ssl... yes checking which storage drivers to build... mysql checking which authreg modules to build... mysql checking for MySQL in /opt/mysql... no configure: error: Could not find MySQL
теперь вот что говорит configure.log
configure:24169: /bin/sh ./libtool --mode=link gcc -o conftest -g -O2 -I/usr/local/ssl/inсludе -DWANT_STORAGE_MYSQL -DWANT_AUTHREG_MYSQL -I/opt/mysql/inсludе -L/usr/local/ssl/lib -R/usr/local/ssl/lib -lssl -lcrypto conftest.c -lresolv -L/opt/mysql/lib -R/opt/mysql/lib -lmysqlclient >&5 gcc -o conftest -g -O2 -I/usr/local/ssl/inсludе -DWANT_STORAGE_MYSQL -DWANT_AUTHREG_MYSQL -I/opt/mysql/inсludе conftest.c -L/usr/local/ssl/lib -lssl -lcrypto -lresolv -L/opt/mysql/lib -lmysqlclient -Wl,--rpath -Wl,/usr/local/ssl/lib -Wl,--rpath -Wl,/opt/mysql/lib conftest.c:40:19: mysql.h: No such file or directory
но файл mysql.h есть мускул 4.0.16 работает 100%