mysql/ruby bindings (GEM Issue)

S

Shalev NessAiver

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
 
S

Shalev NessAiver

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top