[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mysql-odbc
Subject:    Re: Compile MyODBC under Mac OS X
From:       Nick Gorham <nick () lurcher ! org>
Date:       2002-02-04 23:38:21
[Download RAW message or body]

Check that you have a -module entry in the Makefile.am for the driver. I will
have a go at building it tomorrow if I have chance.

Nick Gorham

Jim Dickenson wrote:

> Thanks, I got that version a few weeks ago. I am trying to get version 3.51
> stuff working on my Mac because it is easier for me to work on this system
> than on my Linux box. I also wanted to turn off -O2 as I am working with
> Venu trying to debug a problem I have been having. I would also like to be
> able to compile the new code as it comes out instead of relying on someone
> else.
>
> On 2/4/2002 2:35 PM, "Peter Harvey" <pharvey@codebydesign.com> wrote:
>
> > Here are some binary installs for OS X. I created them a few weeks ago...
> >
> > http://www.codebydesign.com/DataArchitect/downloads/unixODBC/mac-10.1.1/
> >
> > They are an 'ok' first pass and should do the trick for you. Just drop
> > the desired files on your desktop and click your way through the install.
> >
> > Peter
> >
> >
> >
> > Jim Dickenson wrote:
> >
> >> I have installed unixODBC version 2.2.0 by doing the following:
> >>
> >>    I needed to add #include <sys/types.h> to
> >>       /usr/include/sys/ipc.h and /usr/include/sys/direct.h
> >>
> >>    Downloaded the source tarball
> >>
> >>    expanded with tar xzf <file>
> >>
> >>    cd unixODBC-2.2.0
> >>
> >>    ./configure --enable-stats=no --enable-gui=no
> >>       Stats was disabled because semaphores are used and OS X either
> >>       does not use them or whatever. The required header is not present.
> >>       I disabled gui because I did not want to install QT.
> >>
> >> I then tried to compile the MyODBC driver by doing the following
> >>
> >>    cd Drivers/MySQL
> >>       ./configure --with-unixODBC=/usr/local \
> >>       --with-mysql-includes=/usr/local/mysql/include \
> >>       --with-odbc-ini=/usr/local/etc \
> >>       --with-mysql-libs=/usr/local/mysql/lib
> >>
> >> but the OS X host is still not known to confiugre. I tried adding
> >>
> >>       --host=powerpc-apple
> >>
> >> but configure does not know how to create anything other than a static
> >> library. How does one create a .so or .dyn type library from a .a file?
> >>
> >> Has anyone been able to compile MyODBC 3.51 under Mac OS X? If so how did
> >> you do it?
> >>
> >> TIA,
> >>
> >
> >
> >
> > ---------------------------------------------------------------------
> > Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
> > posting. To request this thread, e-mail myodbc-thread4765@lists.mysql.com
> >
> > To unsubscribe, send a message to the address shown in the
> > List-Unsubscribe header of this message. If you cannot see it,
> > e-mail myodbc-unsubscribe@lists.mysql.com instead.
>
> --
> Jim Dickenson
> mailto:dickenson@cfmc.com
>
> Computers for Marketing Corporation
> http://www.cfmc.com/
>
> eFax: 1-419-791-8924
>
> ---------------------------------------------------------------------
> Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
> posting. To request this thread, e-mail myodbc-thread4767@lists.mysql.com
>
> To unsubscribe, send a message to the address shown in the
> List-Unsubscribe header of this message. If you cannot see it,
> e-mail myodbc-unsubscribe@lists.mysql.com instead.


---------------------------------------------------------------------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail myodbc-thread4768@lists.mysql.com

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail myodbc-unsubscribe@lists.mysql.com instead.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic