** i ran into a similar looking error when installing the slqite gem
and
i found that the problem was that a didn't have the header files for
sqlite installed. **

 - --  - - -- how did you resolve this?

On Aug 15, 2:36 pm, "[email protected]" <[email protected]> wrote:
> i ran into a similar looking error when installing the slqite gem and
> i found that the problem was that a didn't have the header files for
> sqlite installed.
>
> On Aug 15, 9:19 am, kilari <[email protected]> wrote:
>
>
>
> > Craig,
>
> > Check where the file "mysql_config " is on you system.You can use
> > locate command to find.
>
> > Then you can pass --with-mysql-config=PATH_mysql_config file while
> > installing
>
> > Kilari.
>
> > On Aug 15, 5:44 pm, Craig Westmoreland <[email protected]>
> > wrote:
>
> > > Thankyou for replying.
>
> > > i ran sudo gem install mysql and i got the following error:
>
> > > ERROR:  Error installing mysql:
> > >         ERROR: Failed to build gem native extension.
>
> > > /usr/local/bin/ruby extconf.rb
> > > 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.
>
> > > On Aug 15, 1:34 pm, Rails List <[email protected]>
> > > wrote:
>
> > > > nothing to worry.  install mysql gem
>
> > > > gem install mysql
>
> > > > cheers
> > > > --
> > > > Posted viahttp://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
-~----------~----~----~----~------~----~------~--~---

Reply via email to