[Libreoffice] Build failure in mysqlcppconn on Mac OSX when trying to build mysql connector

Alexander Thurgood alex.thurgood at gmail.com
Fri Nov 25 06:06:05 PST 2011

Hi all,

I get this error message and build failure in mysqlcppconn when trying
to build the mysql connector on Mac OSX. This used to work for me until
recently, so the change must be fairly recent.

I did a git pull && ./g pull then make clean, even tried rebuilding
directly in the module after sourcing and rm -f'ing, but no change.

The error message is :

In member function 'virtual long unsigned int
char*, const char*, long unsigned int)':
error: 'ptr2mysql_realescapestring' was not declared in this scope
error: expected `;' before 'ptr2_realescapestring'
error: 'ptr2_realescapestring' was not declared in this scope
dmake:  Error code 1, while making
dmake:  Error code 255, while making

My autogen switch for building the connector on Mac is :


It appears that this commit might be to blame :
commit 770cb8ae4d0472d8eb9b32046f5820181fb1de93Author: Lionel Elie
Mamane <lionel at mamane.lu>Date:   Sun Nov 13 10:31:22 2011 +0100
    Update mysqlcppcon to version 1.1.0

Help ?


More information about the LibreOffice mailing list