mysql/ruby bindings (GEM Issue)

Discussion in 'Ruby' started by Shalev NessAiver, Feb 17, 2005.

  1. 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
     
    Shalev NessAiver, Feb 17, 2005
    #1
    1. Advertising

  2. 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
    >
    >
     
    Shalev NessAiver, Feb 18, 2005
    #2
    1. Advertising

  3. Shalev NessAiver

    Chad Fowler Guest

    On Fri, 18 Feb 2005 10:39:04 +0900, Shalev NessAiver
    <> 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!)
     
    Chad Fowler, Feb 18, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Brian Ablaza
    Replies:
    1
    Views:
    134
    zakifataya
    Feb 27, 2006
  2. Austin 7873
    Replies:
    5
    Views:
    206
    Eric Hodel
    Jan 27, 2007
  3. Mark Meijer

    mySQL Ruby Gem and MAMP mySQL

    Mark Meijer, Feb 2, 2008, in forum: Ruby
    Replies:
    3
    Views:
    219
    louis
    Feb 3, 2008
  4. Renato Jf
    Replies:
    3
    Views:
    136
    Luis Lavena
    Dec 15, 2009
  5. Geoff Rowell
    Replies:
    5
    Views:
    414
    Manish Nautiyal
    Aug 3, 2010
Loading...

Share This Page