[Libreoffice-qa] Errors building MySQL-Connector
Dan Lewis
elderdanlewis at gmail.com
Sun Feb 24 14:31:08 PST 2013
What I have been able to do using a command line:
1. cd ~/Downloads/LO-Build/
2. git clone git://gerrit.libreoffice.org/core libo
I can download the master build into this folder:
~/Downloads/LO-Build/ with no problems.
The rest is starting over, the things I have tried, and the errors
messages I have received.
1) cd libo
2) /./autogen.sh //--with-ext-mysql-connector --with-system-mysql/
*Error*: /running ./configure with '--with-ext-mysql-connector'
'--with-system-mysql' '--srcdir=/home/dan/Downloads/LO-Build/libo'//
//configure: WARNING: unrecognized options: --with-ext-mysql-connector/
3) /./autogen.sh //--enable-ext-mysql-connector --with-system-mysql/
*Error*: /checking whether to build the MySQL Connector extension... yes
checking for MySQL prerequisites... external MySQL//
//checking for mysql_config... no//
//checking MySQL version... ./configure: line 21476: --version: command
not found//
//./configure: line 21477: --version: command not found//
//./configure: line 21478: test: : integer expression expected//
//configure: error: too old, use 5.0.x or 5.1.x//
//Error running configure at ./autogen.sh line 201./
*Comment*:
/running ./configure with '--enable-ext-mysql-connector'
'--with-system-mysql' '--srcdir=/home/dan/Downloads/LO-Build/libo'/ (So
autogen.sh recognizes both options.)
MySQL version is 5.5.29. I do not know whether that has anything
to do with the error.
4) /./autogen.sh //--enable-ext-mysql-connector
--with-libmyaql-path=//opt/openoffice.org/basis3.4/program/libmysql.so
*Error:* checking for MySQL prerequisites... configure: error: not
given. Please specify either --with-system-mysql or --with-libmysql-path
*Comment:*
How do I find the libmysql absolute path on my computer? Using
--with-system-mysql as an option does not work.
--Dan
PS: I have been able to build an alpha version of LO using git, autogen,
make dev-install. It does have a MySQL Connector/C that works, but the
log files indicate that this is only a copy of the one I use in AOO 3.4.1.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice-qa/attachments/20130224/d8b08c91/attachment.html>
More information about the Libreoffice-qa
mailing list