Missing mkmf.rb in Ubuntu build of Ruby 1.8.4

Z

zerohalo

When trying to install some gems (mysql and ferret, specifically), I've
run into the problem with rubygem returning the following error:

extconf.rb:13:in `require': no such file to load -- mkmf (LoadError)

I searched my HDD and there doesn't seem to be any mkmf.rb file. I'm
running Ubuntu Dapper, which comes with Ruby 1.8.4. However, mkmf.rb
seems to be nowhere to be found. Any suggestions on what to do? It
seems odd that the version shipped with Dapper should be missing such
an important file. Maybe I should uninstall the Dapper version and
download and install another distribution, but I'm hesitant to do so as
that can cause other problems. Or maybe mkmf.rb is now obsolete and
there's a workaround? Any clues/suggestions? Thanks!
 
T

ts

z> I searched my HDD and there doesn't seem to be any mkmf.rb file. I'm
z> running Ubuntu Dapper, which comes with Ruby 1.8.4. However, mkmf.rb
z> seems to be nowhere to be found. Any suggestions on what to do?

Try to install

ruby1.8-dev

or something like this
 

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

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top