Re: configure error on Solaris 10
David Chkhartishvili <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | MagtiCom Ltd. |
| Message-ID | <[email protected]> |
I'm using bash for root shell. On Wednesday 23 March 2005 14:35, Stipe Tolj wrote: > 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