MySQL Native Bindings

I was following the article ‘Building Ruby, Rails,
and MySQL on Tiger’

all went well till the last part, MySQL Native Bindings.

anyways, i recieved an error:

blinking8s:~ blinking8s$ sudo gem install mysql –
Select which gem to install for your platform (i686-darwin8.7.1)

  1. mysql 2.7.1 (mswin32)
  2. mysql 2.7 (ruby)
  3. mysql 2.6 (ruby)
  4. mysql 2.5.1 (ruby)
  5. Cancel installation

Building native extensions. This could take a while…
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.

Provided configuration options:

ERROR: While executing gem … (RuntimeError)
ERROR: Failed to build gem native extension.
Gem files will remain installed in
2.7 for inspection.

Results logged to

I have googled for the results and found several solutions, but i am no
unix/server geek…just a photographer who has been enjoying rails
for the last 2 days on his locomotive/mamp setup to try to take it to
next step and not have to use some funky configuration paths…

i am running OSX 10.4.7

any help on what i should run to get that working, or do to get rid of
mistake, would be awesome…


  • Will

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs