Re: Re : Building with mysql support

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization tolj.org system architecture
Message-ID <[email protected]>
> This is the excerpt from the configure.log concerning the above error,
> as you asked:
> 
> configure:11546: found /home/mario/Test/mysql-5.1.32/bin/mysql_config
> configure:11559: result: /home/mario/Test/mysql-5.1.32/bin/mysql_config
> configure:11636: checking mysql version
> configure:11639: result: 5.1.32
> configure:11644: checking mysql reentrant libs
> configure:11646: result: -rdynamic
> -L/home/mario/Test/mysql-5.1.32/lib/mysql -lmysqlclient_r -lz -lpthread
> -lcrypt -lnsl -lm -lpthread
> configure:11648: checking for mysql_init in -lmysqlclient_r
> configure:11683: gcc -std=gnu99 -o conftest -g -O2 -D_XOPEN_SOURCE=600
> -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2
> -I/usr/include/openssl  -rdynamic conftest.c -lmysqlclient_r  -rdynamic
> -L/home/mario/Test/mysql-5.1.32/lib/mysql -lmysqlclient_r -lz -lpthread
> -lcrypt -lnsl -lm -lpthread  -lssl -lrt -lresolv -lnsl -lm  -lpthread
> -lxml2 -L/usr/lib64 -lcrypto -lssl >&5
> configure:11690: $? = 0
> configure:11711: result: yes
> configure:11800: checking mysql includes
> configure:11808: result: -I/home/mario/Test/mysql-5.1.32/include/mysql
> configure:11828: checking mysql/mysql.h usability
> configure:11845: gcc -std=gnu99 -c -g -O2 -D_XOPEN_SOURCE=600
> -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2
> -I/usr/include/openssl -I/home/mario/Test/mysql-5.1.32/include/mysql
> conftest.c >&5
> conftest.c:112:25: error: mysql/mysql.h: No such file or directory

ok, so obviously we have the following path as include base:

  /home/mario/Test/mysql-5.1.32/include/mysql

but there is no file:

/home/mario/Test/mysql-5.1.32/include/mysql/mysq/mysql.h

right?

I would suggest to re-build that mysql with --prefix=/opt/mysql-5.1.32 configure
switch, to ensure it's really all underneath in a clean installation layout.

Stipe

-- 
-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture      Kannel Software Foundation (KSF)
http://www.tolj.org/              http://www.kannel.org/

mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.