David Chkhartishvili wrote:

Hi List,

I'm compiling kannel cvs on solaris 10, with mysql support (4.1.10a, 64bit).
Here are system parameters:

OS: Solaris 10 (GA, 3/05)
gcc:  using preinstalled version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
mysql: ver 4.1.10a, 64bit binary
kannel: cvs

My configure string is:

./configure --prefix=/usr/local/kannel --disable-ssl --disable-docs --disable-assertions --with-mysql

I'm getting following error:


Configuring DB support ...
checking whether to compile with MySQL support... searching
checking for mysql_config... /usr/local/mysql/bin/mysql_config
checking mysql version... 4.1.10a
checking mysql reentrant libs... $(/usr/local/mysql/bin/mysql_config --libs_r)
checking for mysql_init in -lmysqlclient_r... no
checking mysql libs... $(/usr/local/mysql/bin/mysql_config --libs)
checking for mysql_init in -lmysqlclient... no
configure: error: Unable to find MySQL client libraries
-L/usr/local/mysql/lib -lmysqlclient_r -lz -lpthread -lthread -lposix4 -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread



Any ideas?



yep, something goes "wrong" while passing the 'mysql_config --libs' call to a variable inside configure.in.

I guess your standard shell is not bash on solaris 10, right?

While picking my eyes info configure.in I see this line in the mysql section:

AC_PATH_PROG(MYSQL_CONFIG, mysql_config, no, [$PATH:$mysqlloc/bin:$mysqlloc])

which seems to me at least "strange", in terms of how the PATH is set, or is this really autconf/m4 internally?

Stipe




Reply via email to