Re: error when I install mysql-odbc
Lawrenty Novitsky <[email protected]> Tue, 23 Aug 2011 15:51:06 +0300
| Newsgroups | gmane.comp.db.mysql.odbc |
|---|---|
| Organization | Oracle Corporation |
| Message-ID | <[email protected]> |
Hi, To build against libmysql from 5.5 server distribution you need to get latest source. you need bzr for that "bzr co --lightweight lp:myodbc ./name_of_local_folder" or you need to install 5.1 server, too. regards, lawrin On 23.08.2011 12:58, louis wrote: > dear: > > I encountered an error when I installed "mysql-connector-odbc-5.1.8". I don't know what is wrong. > > cpu: x86_64 > mysql-5.5.15: Installed > unixODBC-2.3.0: Installed > > shell>./configure --prefix=/usr/local --with-unixODBC==/usr/local --with-mysql-path=/usr/local/mysql > > Success!! > > shell>make > > Making all in util > make[1]: Entering directory `/root/install/new/mysql-connector-odbc-5.1.8/util' > /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../driver -I.. -I/usr/include -O3 -DDBUG_OFF -I/usr/local/mysql/include -g -g -O2 -MT stringutil.lo -MD -MP -MF .deps/stringutil.Tpo -c -o stringutil.lo stringutil.c > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../driver -I.. -I/usr/include -O3 -DDBUG_OFF -I/usr/local/mysql/include -g -g -O2 -MT stringutil.lo -MD -MP -MF .deps/stringutil.Tpo -c stringutil.c -fPIC -DPIC -o .libs/stringutil.o > stringutil.c: In function ¡®sqlchar_as_sqlwchar¡¯: > stringutil.c:127: error: too many arguments to function ¡®my_free¡¯ > stringutil.c:663:2: warning: no newline at end of file > make[1]: *** [stringutil.lo] Error 1 > make[1]: Leaving directory `/root/install/new/mysql-connector-odbc-5.1.8/util' > make: *** [all-recursive] Error 1 > > > Expect a reply.Thank you very much!! -- MySQL ODBC Mailing List For list archives: http://lists.mysql.com/myodbc To unsubscribe: http://lists.mysql.com/[email protected]