Mysql/ruby bindings (GEM Issue)

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

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

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

···

On Fri, 18 Feb 2005 10:39:04 +0900, Shalev NessAiver <shalev@simplyphysics.com> 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

--
Chad Fowler
http://chadfowler.com

http://rubygems.rubyforge.org (over 100,000 gems served!)