Luis, Ram

You guys rock!

I am now able to compile and install the do_mysql 0.9.7
with Luis's mingw ruby distro under Windows.

I still can not make mkmf find my default libraries, so I did have
to change extconf.rb#34 to explicitly use my
directories as follows:

-  dir_config('mysql')
+  dir_config('mysql','c:/usr/local/include/mysql','c:/usr/local/lib/
mysql')

Juan

On Nov 18, 2:32 am, The_buzzMeNot <[EMAIL PROTECTED]> wrote:
> Created a patch and submit to following ticket
>
> http://wm.lighthouseapp.com/projects/4819/tickets/659-do_mysql-patch-...
>
> On Nov 18, 11:05 am, The_buzzMeNot <[EMAIL PROTECTED]> wrote:
>
> > Luis
>
> > I am able to link to 5.0.37-win32 version of MySQL. With the things
> > that I have patched it should link to 5.1 if 5.1 is supported on
> > Linux.
>
> > The binary gem for Windows was not working ( I am not sure whether it
> > worked before ), especially the do_mysql gem, I have not tested the
> > do_postgres gem.
>
> > I have fixed even the Timezone issue. Got some inputs from
> > do_postgres.
> > (I have tested it on Windows, need someone to test it on different
> > platforms)
>
> > Also tested it for the DST correction and it worked (just tested on
> > couple of timezones)
>
> > All the specs are passing. Code coverage report is
>
> > 46 examples, 0 failures, 5 pending
> > 76.0%   2 file(s)   69 Lines   50 LOC
>
> > I would be submitting a patch to the lighthouse tracker soon.
>
> > Regards,
> > Ram
>
> > On Nov 17, 7:47 pm, "Luis Lavena" <[EMAIL PROTECTED]> wrote:
>
> > > On Mon, Nov 17, 2008 at 9:31 AM, The_buzzMeNot <[EMAIL PROTECTED]> wrote:
>
> > > > I have been able to succeed in compiling the do_mysql gem on Windows
> > > > without Cygwin
> > > > but there is one spec is failing.
>
> > > Cool, great work, let us know which version of mysql (5.0 or 5.1) you
> > > linked to and also if you succeed generating the binary gem (was
> > > supposed that gem native package work, but it doesn't anymore).
>
> > > > expected: "2008-11-17T10:04:33+05:30", got:
> > > > "2008-11-17T10:04:33+00:00".
>
> > > This is the timezone bug again, didn't had the time to check it out 
> > > properly.
>
> > > > if I could get some insight into fixing this issue then a DataMapper
> > > > will have binary MySQL driver
> > > > which will work without cygwin and with ease.
>
> > > > if this succeed i would help in bringing out binary Postgres driver.
>
> > > I believe both (postgres and mysql) will be affected by the same.
>
> > > Did you encounter any problems with sqlite3 one?
>
> > > --
> > > Luis Lavena
> > > AREA 17
> > > -
> > > Human beings, who are almost unique in having the ability to learn from
> > > the experience of others, are also remarkable for their apparent
> > > disinclination to do so.
> > > Douglas Adams
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to