Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > mysql/ruby bindings (GEM Issue)

Reply
Thread Tools

mysql/ruby bindings (GEM Issue)

 
 
Shalev NessAiver
Guest
Posts: n/a
 
      02-17-2005
If this isn't the right place for this... please let me know. I'm
trying to get Rails working on OS X using DarwinPorts.
So I set up mysql (sudo port install mysql) and then tried to run the
gem to install the mysql/ruby bindings...

$sudo gem install mysq
Attempting remote installation of 'mysql'
Updating Gem source index for: http://gems.rubyforge.org
Building native extensions. This could take a while...
ERROR: While executing gem ... (RuntimeError)
ERROR: Failed to build gem native extension.
Gem files will remain installed in
/opt/local/lib/ruby/gems/1.8/gems/mysql-2.5.1 for inspection.
ruby extconf.rb install mysql\nchecking for mysql_query() in
-lmysqlclient... no
checking for main() in -lm... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lz... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lsocket... no
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lnsl... no
checking for mysql_query() in -lmysqlclient... no

I have not clue what this means.
What's funny is that I can't remember ever having to install these
bindings before.
Last time I tried Rails all I needed was "gem install rails", however
the "TODO list"
tutorial says to install the ruby-mysql bindings too ?

Thanks
-Shalev



 
Reply With Quote
 
 
 
 
Shalev NessAiver
Guest
Posts: n/a
 
      02-18-2005
Never mind. It had to do with Darwinports.
However, I would still like to know if this is the right place for such
issues (in the future).

-Shalev


On Feb 17, 2005, at 4:57 PM, Shalev NessAiver wrote:

> If this isn't the right place for this... please let me know. I'm
> trying to get Rails working on OS X using DarwinPorts.
> So I set up mysql (sudo port install mysql) and then tried to run the
> gem to install the mysql/ruby bindings...
>
> $sudo gem install mysq
> Attempting remote installation of 'mysql'
> Updating Gem source index for: http://gems.rubyforge.org
> Building native extensions. This could take a while...
> ERROR: While executing gem ... (RuntimeError)
> ERROR: Failed to build gem native extension.
> Gem files will remain installed in
> /opt/local/lib/ruby/gems/1.8/gems/mysql-2.5.1 for inspection.
> ruby extconf.rb install mysql\nchecking for mysql_query() in
> -lmysqlclient... no
> checking for main() in -lm... yes
> checking for mysql_query() in -lmysqlclient... no
> checking for main() in -lz... yes
> checking for mysql_query() in -lmysqlclient... no
> checking for main() in -lsocket... no
> checking for mysql_query() in -lmysqlclient... no
> checking for main() in -lnsl... no
> checking for mysql_query() in -lmysqlclient... no
>
> I have not clue what this means.
> What's funny is that I can't remember ever having to install these
> bindings before.
> Last time I tried Rails all I needed was "gem install rails", however
> the "TODO list"
> tutorial says to install the ruby-mysql bindings too ?
>
> Thanks
> -Shalev
>
>




 
Reply With Quote
 
 
 
 
Chad Fowler
Guest
Posts: n/a
 
      02-18-2005
On Fri, 18 Feb 2005 10:39:04 +0900, Shalev NessAiver
<(E-Mail Removed)> wrote:
> Never mind. It had to do with Darwinports.
> However, I would still like to know if this is the right place for such
> issues (in the future).
>
> -Shalev
>


Yes, this would be a good place to ask this. You could also ask
rubygems questions on the rubygems-developers list on RubyForge.

--
Chad Fowler
http://chadfowler.com
http://rubycentral.org
http://rubygarden.org
http://rubygems.rubyforge.org (over 100,000 gems served!)


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dhcp - manual bindings S. Einarsson Cisco 2 09-27-2005 11:18 PM
Learning Java Bindings for OpenGL Ch3 available Gene Davis Java 0 07-05-2004 04:53 PM
Java Bindings for OpenGL Gene Davis Java 0 06-26-2004 03:00 PM
Help Data bindings with Radio Buttons Akin Seigmund Walter-Johnson III ASP .Net 0 02-26-2004 06:42 PM
1605R dhcp manual bindings Tjeerd van der Zee Cisco 2 01-10-2004 06:05 PM



Advertisments