logo       

Sponsor
FREE Network Mapping Tool for Microsoft® Office Visio® Professional 2007
Don't map your network by hand - let LANsurveyor Exx press for Microsoft Visio Professional 2007 automatically create network diagrams for you!

Re: Fwd: compilation of libdbi mysql driver on MSYS/MINGW: msg#00003

db.libdbi.user

Subject: Re: Fwd: compilation of libdbi mysql driver on MSYS/MINGW

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





Only community members can participate in forum threads. You must Register or log in to contribute.

<Prev in Thread] Current Thread [Next in Thread>
Sponsor
FREE Network Mapping Tool for Microsoft® OfficeVisio Professional 2007
Don't map your network by hand - let LANsurveyor Express for Microsoft Visio Professional 2007
automatically create network diagrams for you!
Google Custom Search

Free Magazines

Cisco News
Receive 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

Navigation

Home | sitemap | advertise | OSDir is an inevitable website. super tiny logo