Can't Make myodbc on Mactel
--Apple-Mail-1-90827756
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
delsp=yes;
format=flowed
There is no intel based Mac version of myodbc ,So I try to build it
myself.
I download file mysql-connector-odbc-3.51.12.tar.gz and untar it to
an dir,
I execute
./configure --prefix=/usr/local
--with-iODBC=/usr
--with-mysql-path=/usr/local/mysql
--disable-shared
--enable-gui=no
--host=i686-apple-darwin8.8.1
it success ,but when i execute make it gave me an error
In file included from MYODBCUtilAllocDataSource.c:21:
MYODBCUtil.h:43:22: error: odbcinst.h: No such file or directory
make[1]: *** [MYODBCUtilAllocDataSource.lo] Error 1
make: *** [all-recursive] Error 1
Please help me,many many thanks!
BTW. forgive me for my poor English,I live in China :-)
--Apple-Mail-1-90827756--
Re: Can't Make myodbc on Mactel
Maybe you can try to install unixODBC. Mysql ODBC works well with unixODBC.
Gu Lei
Ying Ming 写道:
> There is no intel based Mac version of myodbc ,So I try to build it
> myself.
>
> I download file mysql-connector-odbc-3.51.12.tar.gz and untar it to
> an dir,
> I execute
>
> ./configure --prefix=/usr/local
> --with-iODBC=/usr
> --with-mysql-path=/usr/local/mysql
> --disable-shared
> --enable-gui=no
> --host=i686-apple-darwin8.8.1
>
> it success ,but when i execute make it gave me an error
>
> In file included from MYODBCUtilAllocDataSource.c:21:
> MYODBCUtil.h:43:22: error: odbcinst.h: No such file or directory
> make[1]: *** [MYODBCUtilAllocDataSource.lo] Error 1
> make: *** [all-recursive] Error 1
>
> Please help me,many many thanks!
>
> BTW. forgive me for my poor English,I live in China :-)
>
>
--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=gcdmo-myodbc [at] m.gmane.org
Re: Can't Make myodbc on Mactel
Thank you for reply! I found the way on google too
just rename /usr/include/iodbcinst.h to /usr/include/odbc.h and
there is no error when make and make install!
=D4=DA 2006-11-10=A3=AC=C9=CF=CE=E710:36=A3=ACGu Lei =D0=B4=B5=C0=A3=BA
> Maybe you can try to install unixODBC. Mysql ODBC works well with
> unixODBC.
>
> Gu Lei
>
> =A3=D9ing =A3=CDing =D0=B4=B5=C0:
>> There is no intel based Mac version of myodbc ,So I try to build
>> it myself.
>>
>> I download file mysql-connector-odbc-3.51.12.tar.gz and untar it
>> to an dir,
>> I execute
>>
>> ./configure --prefix=3D/usr/local
>> --with-iODBC=3D/usr
>> --with-mysql-path=3D/usr/local/mysql
>> --disable-shared
>> --enable-gui=3Dno
>> --host=3Di686-apple-darwin8.8.1
>>
>> it success ,but when i execute make it gave me an error
>>
>> In file included from MYODBCUtilAllocDataSource.c:21:
>> MYODBCUtil.h:43:22: error: odbcinst.h: No such file or directory
>> make[1]: *** [MYODBCUtilAllocDataSource.lo] Error 1
>> make: *** [all-recursive] Error 1
>>
>> Please help me,many many thanks!
>>
>> BTW. forgive me for my poor English,I live in China :-)
>>
>>
--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=3Dgcdmo-myodbc [at] m.gmane.o rg
Re: Can't Make myodbc on Mactel
On 10/11/06 2:36, Gu Lei <leig [at] sitechasia.com> wrote:
> Maybe you can try to install unixODBC. Mysql ODBC works well with unixODBC.
Wouldn't that mean that applications using the vendor supplied
iODBC.framework would not be able to use the myodbc connector? That doesn't
seem like a good approach :-(
Cheers,
Chris
--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=gcdmo-myodbc [at] m.gmane.org