[OpenSIPS-Devel] [ opensips-Bugs-3421765 ] 1.7 fails to compile against mysql 5.5 libs

SourceForge.net noreply at sourceforge.net
Tue Oct 18 13:40:15 CEST 2011


Bugs item #3421765, was opened at 2011-10-11 16:02
Message generated for change (Settings changed) made by vladut-paiu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3421765&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.7.x
>Status: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Vladut-Stefan Paiu (vladut-paiu)
Summary: 1.7 fails to compile against mysql 5.5 libs

Initial Comment:
We are using mysql 5.5 client libs and the db_mysql module fails to compile.

The error given is this:

make[1]: Entering directory `/usr/local/src/opensips_1_7/modules/db_mysql'
Compiling dbase.c
dbase.c:37:25: error: mysql/mysql.h: No such file or directory
dbase.c:38:26: error: mysql/errmsg.h: No such file or directory
dbase.c:39:32: error: mysql/mysqld_error.h: No such file or directory
dbase.c:40:33: error: mysql/mysql_version.h: No such file or directory
In file included from dbase.c:46:
val.h:44: error: expected declaration specifiers or ‘...’ before ‘MYSQL_BIND’

opensips v 1.7 svn revision 8471

distro: Debian Squeeze

pkg version:

dpkg -s libmysqlclient-dev
Package: libmysqlclient-dev
Status: install ok installed
Priority: extra
Section: libdevel
Installed-Size: 15388
Maintainer: Percona Server Development Team <mysql-dev at percona.com>
Architecture: amd64
Source: percona-server-5.5
Version: 5.5.15-rel21.0-160.lenny
Replaces: libmysqlclient10-dev, libmysqlclient12-dev, libmysqlclient14-dev, libmysqlclient15-dev, libmysqlclient16-dev, libpercona-xtradb-client-dev
Depends: libmysqlclient18 (= 5.5.15-rel21.0-160.lenny), zlib1g-dev
Conflicts: libmysqlclient10-dev, libmysqlclient12-dev, libmysqlclient14-dev, libmysqlclient15-dev, libmysqlclient16-dev
Description: Percona Server database development files
 Percona Server is a fast, stable and true multi-user, multi-threaded SQL
 database server. SQL (Structured Query Language) is the most popular
 database query language in the world. The main goals of Percona Server are
 speed, robustness and ease of use.
 .
 This package includes development libraries and header files.
Homepage: http://www.percona.com/software/percona-server/

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3421765&group_id=232389



More information about the Devel mailing list