Al Evans wrote:> Can somebody tell me how to get the MySQL Gem to build its native
> extensions under x86_64 linux?
>
>
> I say:
> gem install mysql -- -with-mysql-dir=/usr/lib64/mysql
>
> I get:
>
> checking for mysql_query() in -lmysqlclient... no
> checking for main() in -lm... yes
> [...]
> *** 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.
Urk, never mind. The right thing to do was apparently
gem install mysql -- -with-mysql-config=/usr/bin/mysql-config
(Though I actually did this in the install directory via setup.rb.)
--Al Evans
--
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
-~----------~----~----~----~------~----~------~--~---