[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 :
Compiling:
mysqlcppconn/unxmacxi.pro/misc/build/mysql-connector-c++-1.1.0/driver/nativeapi/mysql_client_api.cpp
/Users/Shared/LO/master/mysqlcppconn/unxmacxi.pro/misc/build/mysql-connector-c++-1.1.0/driver/nativeapi/libmysql_dynamic_proxy.cpp:
In member function 'virtual long unsigned int
sql::mysql::NativeAPI::LibmysqlDynamicProxy::real_escape_string(MYSQL*,
char*, const char*, long unsigned int)':
/Users/Shared/LO/master/mysqlcppconn/unxmacxi.pro/misc/build/mysql-connector-c++-1.1.0/driver/nativeapi/libmysql_dynamic_proxy.cpp:432:
error: 'ptr2mysql_realescapestring' was not declared in this scope
/Users/Shared/LO/master/mysqlcppconn/unxmacxi.pro/misc/build/mysql-connector-c++-1.1.0/driver/nativeapi/libmysql_dynamic_proxy.cpp:432:
error: expected `;' before 'ptr2_realescapestring'
/Users/Shared/LO/master/mysqlcppconn/unxmacxi.pro/misc/build/mysql-connector-c++-1.1.0/driver/nativeapi/libmysql_dynamic_proxy.cpp:434:
error: 'ptr2_realescapestring' was not declared in this scope
dmake: Error code 1, while making
'../../../../../../unxmacxi.pro/slo/mysql_client_api.obj'
dmake: Error code 255, while making
'./unxmacxi.pro/misc/build/so_built_so_mysqlcppconn'
My autogen switch for building the connector on Mac is :
--enable-ext-mysql-connector
--with-libmysql-path="/Users/Shared/LO/mysql-connector-c-6.0.2-osx10.5-x86-32bit"
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 ?
Alex
More information about the LibreOffice
mailing list