[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

MySQL/Ruby on Windows

Williams, Chris

12/17/2004 7:17:00 PM

I'm trying to install the C-based MySQL/Ruby library on my WinXP box and
MySQL 4.1.7

Running "ruby extconf.rb -with-mysql-dir=C:/mysql-4.1.7-win" doesn't
seem to work, I get:

checking for mysql_query() in mysqlclient.lib... no
checking for main() in m.lib... yes
checking for mysql_query() in mysqlclient.lib... no
checking for main() in z.lib... no
checking for mysql_query() in mysqlclient.lib... no
checking for main() in socket.lib... no
checking for mysql_query() in mysqlclient.lib... no
checking for main() in nsl.lib... no
checking for mysql_query() in mysqlclient.lib... no


Am I missing something here? Should I have put some special DLLs into my
PATH or something? Is there already a pre-compiled /packaged version of
the C-based MySQL driver for x86/Win32?

Thanks,
Chris
2 Answers

Curt Hibbs

12/17/2004 7:26:00 PM

0

Williams, Chris wrote:
>
> I'm trying to install the C-based MySQL/Ruby library on my WinXP box and
> MySQL 4.1.7
>
> Running "ruby extconf.rb -with-mysql-dir=C:/mysql-4.1.7-win" doesn't
> seem to work, I get:
>
> checking for mysql_query() in mysqlclient.lib... no
> checking for main() in m.lib... yes
> checking for mysql_query() in mysqlclient.lib... no
> checking for main() in z.lib... no
> checking for mysql_query() in mysqlclient.lib... no
> checking for main() in socket.lib... no
> checking for mysql_query() in mysqlclient.lib... no
> checking for main() in nsl.lib... no
> checking for mysql_query() in mysqlclient.lib... no
>
>
> Am I missing something here? Should I have put some special DLLs into my
> PATH or something? Is there already a pre-compiled /packaged version of
> the C-based MySQL driver for x86/Win32?

Starting with version 4.1.7 MySQL is using a new authentication algorithm
that is not compatible with older client software. You might be running into
this problem. For more information about this issue, see
http://dev.mysql.com/doc/mysql/en/Old_c....

Curt



Justin Rudd

12/19/2004 10:00:00 PM

0

Hey Chris,

> I'm trying to install the C-based MySQL/Ruby library on my WinXP box and
> MySQL 4.1.7

I ran into all the problems you listed as well. Here is how I got
around them - http://seagecko.org...2004/09/09/ruby-mysql-an...

It is built around 4.0.20a not the newer 4.1.7. I have no need to
upgrade right now so it isn't even on my priority list to get it built
with 4.1.x code line.

--
Justin Rudd
http://seagecko.org...