Hi, I got the same problem, did you alredy resolved it?
Regrds, Ed Ronny wrote: > I'm using Locomotive on MacOSX 10.4, and I have installed mysql > 5.0.45. > > To my surprise, the Ruby version included in Locomotive does not come > with the mysql > gem installed, so I tried to install it manually. According to the > instructions in database.yml, > this should be done using the --include switch, like this: > > gem install mysql -- --include=/usr/local/lib > > I selected the mysql 2.7 (ruby) version of the gem, but got the build > error listed below. What can I do to get the mysql gem installed? > > Ronald > > Error Message: > > Building native extensions. This could take a while... > ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError) > ERROR: Failed to build gem native extension. > > ruby extconf.rb install mysql -- --include=/usr/local/lib > checking for mysql_query() in -lmysqlclient... no > checking for main() in -lm... no > checking for mysql_query() in -lmysqlclient... no > checking for main() in -lz... no > checking for mysql_query() in -lmysqlclient... no > checking for main() in -lsocket... no > checking for mysql_query() in -lmysqlclient... no > checking for main() in -lnsl... no > checking for mysql_query() in -lmysqlclient... no > *** 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

