Now need to get MySQL installed. I am having the following trouble installing sudo gem install mysql -- --with-mysql-config=/usr/bin/mysql_config ERROR: Error installing mysql: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb --with-mysql-config=/usr/bin/mysql_config extconf.rb:10:in `require'': no such file to load -- mkmf (LoadError) from extconf.rb:10 Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/mysql-2.8.1 for inspection. Results logged to /usr/lib/ruby/gems/1.8/gems/mysql-2.8.1/ext/mysql_api/gem_make.out Any ideas? -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Thu, Jul 29, 2010 at 11:28 AM, Dis Tec <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> /usr/bin/ruby1.8 extconf.rb --with-mysql-config=/usr/bin/mysql_config > extconf.rb:10:in `require'': no such file to load -- mkmf (LoadError) > from extconf.rb:10This error means you are missing ruby development libraries needed for compilation. apt-cache search ruby | grep dev -- Greg Donald destiney.com | gregdonald.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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
> ERROR: Error installing mysql: > ERROR: Failed to build gem native extension.sudo aptitude install libmysqlclient15-dev (or whatever version the libmysqlclient is at for your system) -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Seemingly Similar Threads
- Compiling mysql gem under CentOS 64-bit
- ERROR: While executing gem ... (Gem::Installer::ExtensionBu
- Advice needed --- Best way to get mysql2 gem installed to interact with Mysql Database?
- ** Removing all instances of mysql on mac osx **
- gem install ruby-debug