|
|
Sponsor |
Re: Fwd: compilation of libdbi mysql driver on MSYS/MINGW: msg#00003db.libdbi.user
Hi Tom, Tom Petersen <tomp@xxxxxxxxxxxx> was heard to say: > A question about the mysql.h header file: > > On line 48-54 the macro my_socket is defined (to value SOCKET) if the > system is Windows. When I try to compile the libdbi-driver for mysql, this > leads to an error in mysql_com.h on line 116 (because SOCKET is not > defined...) Is there something missing in the libdbi files in connection > with this? It is very well possible that the mysql driver code (or all drivers) requires some porting to work with MinGW. But as I said before, I don't use that system and I can't be of much help here. Let's hope that Ashish, our MinGW expert, can eventually look into this. > > How is this handled in the cygwin build of libdbi? > No porting was required to compile libdbi and the mysql driver on Cygwin, as this system nicely emulates a Unix-style environment. There is only some extra work required to build the drivers as DLLs which explains the extra Makefiles. But this is not related to your problem. regards, Markus -- Markus Hoenicka markus.hoenicka@xxxxxxx (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Fwd: compilation of libdbi mysql driver on MSYS/MINGW, Tom Petersen |
|---|---|
| Next by Date: | Documentation question, Daniel Berger |
| Previous by Thread: | Re: Fwd: compilation of libdbi mysql driver on MSYS/MINGW, Tom Petersen |
| Next by Thread: | Documentation question, Daniel Berger |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|