You''re missing the ruby development headers. If this is a Debian based
system, or Ubuntu, you need to install the ruby1.8-dev package (and
libmysqlclient15-dev for mysql itself).
Regards,
Jochem Kossen
On Fri, Jun 15, 2007 at 12:06:12PM +0200, Kristian Frost
wrote:>
> Hello everyone,
>
> I am getting this error when i am trying to install the mysql driver.
>
> I do the following: sudo gem install mysql, i chose number 3 and then i
> get this error:
>
> Building native extensions. This could take a while...
> extconf.rb:1:in `require'': no such file to load -- mkmf
(LoadError)
> from extconf.rb:1
>
> ERROR: While executing gem ... (RuntimeError)
> ERROR: Failed to build gem native extension.
> Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/mysql-2.7
> for inspection.
>
>
> Results logged to /usr/lib/ruby/gems/1.8/gems/mysql-2.7/gem_make.out
>
> Any ideas how to fix this?
>
> Thanks in advance.
>
> Regards
>
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---