Mkmf not found

From EggeWiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Today, on Ubuntu I tried to manually install mysql. My first problem was this error:

<geshi lang="bash">

sudo ruby extconf.rb

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

       from extconf.rb:1:in `<main>'

</geshi>

This was fixed with:

<geshi>

sudo aptitude install ruby1.9-dev

</geshi>