Providing a mysql connector extension on Linux that works independently of system mysql library versions - a pipe dream ?

Alex Thurgood alex.thurgood at gmail.com
Thu Mar 29 07:23:29 PDT 2012


Le 29/03/2012 15:11, Stephan Bergmann a écrit :

Hi Stephan,

> On 03/29/2012 02:42 PM, Alexander Thurgood wrote:
>> Perhaps there is some switch I can use that will force the mysql client
>> libraries to be packaged inside the extension, like the AOOo one did ?
>
> Not sure which extension it is exactly you are talking about and how you
> build it, but -- at least in theory -- configure --without-system-mysql
> --without-system-mysql-cppconn should result in module mysqlc building a
> mysql-connector-ooo.oxt that bundles instances of the mysqlclient and
> mysqlcppconn libraries.
>

Unfortunately, not :

alex at acer-xubuntu:~/LODEV/core$ ./autogen.sh
--without-junit
--enable-ext-mysql-connector
--with-epm
--enable-ext-barcode
--enable-ext-google-docs
--enable-ext-nlpsolver
--enable-ext-numbertext
--enable-ext-oooblogger
--enable-ext-scripting-beanshell
--enable-ext-scripting-javascript
--enable-ext-typo
--enable-ext-validator
--enable-ext-watch-window
--enable-ext-wiki-publisher
--enable-evolution2
--enable-crashdump
--enable-extra-gallery
--enable-extra-template
--enable-extra-sample
--with-openldap
--enable-extra-font
--enable-python=auto
--enable-binfilter
--disable-mozilla
--without-system-mysql
--without-system-mysql-cppconn

checking whether to build the MySQL Connector extension... yes
checking for MySQL prerequisites... configure: error: not given. Please 
specify either --with-system-mysql or --with-libmysql-path
Error running configure at ./autogen.sh line 179.

Alex



More information about the LibreOffice mailing list