Tiger compatible Connector source?

Tiger compatible Connector source?

am 17.06.2005 10:22:13 von Joe Auty

Hello,

I read on the website that somebody has gotten the Connector to work
in Tiger? These patches were stripped from the copy online, so I'm
wondering if you could send me the patches, or even better the
updated source code (or link to the source) itself?

Many thanks in advance!








-----------
Joe Auty
NetMusician: design of marketing technology for musicians
http://www.netmusician.org
joe@netmusician.org


--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=gcdmo-myodbc@m.gmane.org

RE: Tiger compatible Connector source?

am 17.06.2005 18:54:56 von BBrown

The patches are attached to the bug as files. Go to =
http://bugs.mysql.com/bug.php?id=3D9774&files=3D1.

-----Original Message-----
From: Joe Auty [mailto:joe@netmusician.org]
Sent: Friday, June 17, 2005 1:22 AM
To: myodbc@lists.mysql.com
Subject: Tiger compatible Connector source?


Hello,

I read on the website that somebody has gotten the Connector to work =20
in Tiger? These patches were stripped from the copy online, so I'm =20
wondering if you could send me the patches, or even better the =20
updated source code (or link to the source) itself?

Many thanks in advance!








-----------
Joe Auty
NetMusician: design of marketing technology for musicians
http://www.netmusician.org
joe@netmusician.org


--=20
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: =
http://lists.mysql.com/myodbc?unsub=3Dbbrown@extensis.com


--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=3Dgcdmo-myodbc@m.gmane.o rg

Re: Tiger compatible Connector source?

am 18.06.2005 10:18:24 von Joe Auty

Thanks for posting your patches!

I applied them without any error messages... running the configure
script initially complained of a missing mysql_config file. I
installed the MySQL package and solved this (normally the connector
package/binary would include the libraries I'd need from the main
MySQL server/client install, right?). However, I still had errors
compiling:

MYODBCUtilGetDataSourceNames.c: In function
'MYODBCUtilGetDataSourceNames':
MYODBCUtilGetDataSourceNames.c:61: error: 'ODBC_BOTH_DSN' undeclared
(first use in this function)
MYODBCUtilGetDataSourceNames.c:61: error: (Each undeclared identifier
is reported only once
MYODBCUtilGetDataSourceNames.c:61: error: for each function it
appears in.)
MYODBCUtilGetDataSourceNames.c:63: error: 'ODBC_USER_DSN' undeclared
(first use in this function)
MYODBCUtilGetDataSourceNames.c:64: error: 'ODBC_SYSTEM_DSN'
undeclared (first use in this function)

Any notion as to what these are about?

Thanks in advance for all of your help... any notion when the package
installer will be available through the MySQL site for 10.4? (The
MySQL Server package install is also for 10.3)


On Jun 17, 2005, at 11:54 AM, Brown, Brooks wrote:

> The patches are attached to the bug as files. Go to http://
> bugs.mysql.com/bug.php?id=9774&files=1.
>
> -----Original Message-----
> From: Joe Auty [mailto:joe@netmusician.org]
> Sent: Friday, June 17, 2005 1:22 AM
> To: myodbc@lists.mysql.com
> Subject: Tiger compatible Connector source?
>
>
> Hello,
>
> I read on the website that somebody has gotten the Connector to work
> in Tiger? These patches were stripped from the copy online, so I'm
> wondering if you could send me the patches, or even better the
> updated source code (or link to the source) itself?
>
> Many thanks in advance!
>
>
>
>
>
>
>
>
> -----------
> Joe Auty
> NetMusician: design of marketing technology for musicians
> http://www.netmusician.org
> joe@netmusician.org
>
>
> --
> MySQL ODBC Mailing List
> For list archives: http://lists.mysql.com/myodbc
> To unsubscribe: http://lists.mysql.com/myodbc?
> unsub=bbrown@extensis.com
>
>
> --
> MySQL ODBC Mailing List
> For list archives: http://lists.mysql.com/myodbc
> To unsubscribe: http://lists.mysql.com/myodbc?
> unsub=joe@netmusician.org
>
>


--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=gcdmo-myodbc@m.gmane.org

RE: Tiger compatible Connector source?

am 20.06.2005 02:39:24 von BBrown

------_=_NextPart_001_01C57531.243A3485
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I haven't seen that particular error. I had to follow Peter Harvey's =
instructions pretty carefully to compile it. Here's an email I put =
together for some other dude who asked about this.
=20
I was able to get MyODBC to compile on Tiger (just the driver, not the =
config app or the installer). I just used the ODBC headers in my 10.3 =
partition. You could use the 10.3.9 (8?) SDK. =20

My 10.4 build directory is still there, and the config.status file says =
that I ran configure with the following:=20

--prefix=3D/usr --with-iIODBC=3D/usr =
--with-iodbc-includes/Volumes/OS10_3/usr/include --with-ldflags=3D-lltdl =
--without-samples --disable-gui --disable-test

The case is important for --with-iodbc-includes. I think there was some =
kind of problem about that in Harvey's build instructions. You'll need =
to change --with-iodbc-includes to point to the corresponding path in =
the 10.3 SDK. Some of these flags were manufactured by configure - not =
sure what ltdl is.

If my patches don't apply easily, you could reproduce them by removing =
all the special case #ifdefs for Mac OS where GetPrivateProfileString is =
called (needs to be SQLGetPrivateProfileString for 10.4.)

Good luck.=20


________________________________

From: Joe Auty [mailto:joe@netmusician.org]
Sent: Sat 6/18/2005 1:18 AM
To: Brown, Brooks; myodbc@lists.mysql.com
Subject: Re: Tiger compatible Connector source?



Thanks for posting your patches!

I applied them without any error messages... running the configure=20
script initially complained of a missing mysql_config file. I=20
installed the MySQL package and solved this (normally the connector=20
package/binary would include the libraries I'd need from the main=20
MySQL server/client install, right?). However, I still had errors=20
compiling:

MYODBCUtilGetDataSourceNames.c: In function=20
'MYODBCUtilGetDataSourceNames':
MYODBCUtilGetDataSourceNames.c:61: error: 'ODBC_BOTH_DSN' undeclared=20
(first use in this function)
MYODBCUtilGetDataSourceNames.c:61: error: (Each undeclared identifier=20
is reported only once
MYODBCUtilGetDataSourceNames.c:61: error: for each function it=20
appears in.)
MYODBCUtilGetDataSourceNames.c:63: error: 'ODBC_USER_DSN' undeclared=20
(first use in this function)
MYODBCUtilGetDataSourceNames.c:64: error: 'ODBC_SYSTEM_DSN'=20
undeclared (first use in this function)

Any notion as to what these are about?

Thanks in advance for all of your help... any notion when the package=20
installer will be available through the MySQL site for 10.4? (The=20
MySQL Server package install is also for 10.3)


On Jun 17, 2005, at 11:54 AM, Brown, Brooks wrote:

> The patches are attached to the bug as files. Go to http://
> bugs.mysql.com/bug.php?id=3D9774&files=3D1.
>
> -----Original Message-----
> From: Joe Auty [mailto:joe@netmusician.org]
> Sent: Friday, June 17, 2005 1:22 AM
> To: myodbc@lists.mysql.com
> Subject: Tiger compatible Connector source?
>
>
> Hello,
>
> I read on the website that somebody has gotten the Connector to work
> in Tiger? These patches were stripped from the copy online, so I'm
> wondering if you could send me the patches, or even better the
> updated source code (or link to the source) itself?
>
> Many thanks in advance!
>
>
>
>
>
>
>
>
> -----------
> Joe Auty
> NetMusician: design of marketing technology for musicians
> http://www.netmusician.org
> joe@netmusician.org
>
>
> --
> MySQL ODBC Mailing List
> For list archives: http://lists.mysql.com/myodbc
> To unsubscribe: http://lists.mysql.com/myodbc?
> unsub=3Dbbrown@extensis.com
>
>
> --
> MySQL ODBC Mailing List
> For list archives: http://lists.mysql.com/myodbc
> To unsubscribe: http://lists.mysql.com/myodbc?
> unsub=3Djoe@netmusician.org
>
>




------_=_NextPart_001_01C57531.243A3485--