After downloading the mysql-ruby-2.8pre4 from
[http://tmtm.org/downloads/mysql/ruby/]…I stuck it into
C:\ruby\lib\mysql-ruby-2.8pre4.
The instructions on http://www.tmtm.org/en/mysql/ruby/ says I need to
run the command % ruby extconf.rb:
checking for main() in libmysql.lib... no
is the error that I get.
I need to access MySQL with Ruby, but I keep running into all sorts of
problems!
Thanks for the help!
···
--
Posted via http://www.ruby-forum.com/.
You need mysql client libraries and header files. On ubuntu hardy, I
would get them with:
apt-get install mysql-common mysql-client libmysqlclient15-dev
···
On Sat, Jul 5, 2008 at 9:30 AM, Justin To <tekmc@hotmail.com> wrote:
After downloading the mysql-ruby-2.8pre4 from
[http://tmtm.org/downloads/mysql/ruby/]…I stuck it into
C:\ruby\lib\mysql-ruby-2.8pre4.
The instructions on MySQL/Ruby says I need to
run the command % ruby extconf.rb:
checking for main() in libmysql.lib... no
is the error that I get.
I need to access MySQL with Ruby, but I keep running into all sorts of
problems!
There is a pre-built gem for mysql-ruby for Windows (since It seems
you're trying to get it running there).
gem install mysql and choose latests version (with mswin32 platform)
if you're asked by rubygems.
HTH,
···
On Jul 5, 6:00 am, Justin To <te...@hotmail.com> wrote:
After downloading the mysql-ruby-2.8pre4 from
[http://tmtm.org/downloads/mysql/ruby/]…I stuck it into
C:\ruby\lib\mysql-ruby-2.8pre4.
The instructions onhttp://www.tmtm.org/en/mysql/ruby/says I need to
run the command % ruby extconf.rb:
checking for main() in libmysql.lib... no
is the error that I get.
I need to access MySQL with Ruby, but I keep running into all sorts of
problems!
Thanks for the help!
--
Luis Lavena
Doesn't seem to work, error with rdoc
···
--
Posted via http://www.ruby-forum.com/.
It doesn't say "1 gem installed" ?
Weird, I just had it installed 
D.\Users\Luis>gem install mysql
Successfully installed mysql-2.7.3-x86-mswin32
1 gem installed
Installing ri documentation for mysql-2.7.3-x86-mswin32...
Installing RDoc documentation for mysql-2.7.3-x86-mswin32...
ERROR: While generating documentation for mysql-2.7.3-x86-mswin32
But even with the documentation error, still is installed.
HTH,
···
On Jul 7, 1:52 am, Justin To <te...@hotmail.com> wrote:
Doesn't seem to work, error with rdoc
--
Luis Lavena