Fix for Error Installing do_mysql Datamapper Adapter on Ubuntu
Installing Datamapper on Ubuntu 9.04, I got this mysterious error:
$ sudo gem install do_mysql
Building native extensions. This could take a while...
ERROR: Error installing do_mysql:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb install do_mysql
extconf.rb:3:in `require': no such file to load -- mkmf (LoadError)
from extconf.rb:3
After much googling and trying other solutions like installing libmysqlclient16-dev, I stumbled upon Al Hoang's related problem and solution:
$ sudo aptitude install ruby-dev
Then
$ sudo gem install do_mysql
Building native extensions. This could take a while...
Successfully installed do_mysql-0.10.0
1 gem installed
Installing libmysqclient16-dev could have anticipated a problem that would have arisen later--it may or may not be necessary.
Thank you for reading this post. You can now Leave A Comment (0) or Leave A Trackback.
Post Info
This entry was posted on Wednesday, September 30th, 2009 and is filed under software.You can follow any responses to this entry through the Comments Feed. You can Leave A Comment, or A Trackback.
Previous Post: Amazon Packages and Ships OEM Hard Drives Loose in Box with Two Air Pillows and Bubble Wrap ONLY »
Next Post: How to Get MagicJack and Lifecam Cinema Working on Windows 7 64-bit »
- How to Get MagicJack and Lifecam Cinema Working on Windows 7 64-bit
- Fix for Error Installing do_mysql Datamapper Adapter on Ubuntu
- Amazon Packages and Ships OEM Hard Drives Loose in Box with Two Air Pillows and Bubble Wrap ONLY
- Devious New Targeted Financial Phishing Scam Strikes Your Cellphone
- Errata for Programming Collective Intelligence
- Yelp Battles Supporters of the Meier Family
- Pictures of Lori Drew
- Picture of Curt Drew
- Brandon Antron Rolle Goes on Trial Today
- Fixing Spurious Rails Routing Error



