On 7 Jan 2009, at 17:23, jabauer wrote:

>
> Thanks for pointing that out.  Unfortunately, after I went through all
> of Dan Benjamin's directions it still failed to load the mysql gem.  I
> got the following error message:
>
Where is mysql installed ?

Fred
> sudo gem install mysql -- --with-mysql-dir=/usr/local/mysql
> Password:
> Building native extensions.  This could take a while...
> ERROR:  Error installing mysql:
>       ERROR: Failed to build gem native extension.
>
> /usr/local/bin/ruby extconf.rb install mysql -- --with-mysql-dir=/usr/
> local/mysql
> checking for mysql_query() in -lmysqlclient... no
> checking for main() in -lm... yes
> checking for mysql_query() in -lmysqlclient... no
> checking for main() in -lz... yes
> 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.
>
> Any thoughts?  And many thanks.
>
> --Jean--
> >


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to