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@mamane.lu>Date: Sun Nov 13 10:31:22 2011 +0100
Update mysqlcppcon to version 1.1.0
Help ?
Alex
Context
- [Libreoffice] Build failure in mysqlcppconn on Mac OSX when trying to build mysql connector · Alexander Thurgood
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.