Have you ever installed MySQL (the database server) from source on this computer? It sounds like you don't have the libraries and headers that the mysql gem needs to compile a native Ruby bridge for your specific server. It is entirely possible and likely to have a working mysql server daemon on your computer, without having the development header files that compiled it.

Walter

On Sep 24, 2010, at 10:20 AM, Tanawat Limungkura wrote:

Solrac Caritas wrote:

I don't see mysql...what is the output of:
cd /
su root
gem install mysql

The result is

ERROR:  Error installing mysql:
 ERROR: Failed to build gem native extension.
.
.
.
.
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

:(


--
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- t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en .


--
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-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to