[Rails] Re: mysql gem install error on Mac OS X - 'ulong' undeclared error
Philip Hallstrom wrote:
>> I can't seem to install the mysql gem for Ruby (see errors below). I get an
>> 'ulong' undeclared error. Can anyone assist?
>
> Hopefully this will help...
>
> http://jlaine.net/2006/10/3/installing-ruby-mysql-driver-on-os-x
>
> (read through the comments as well)
I have tried the solutions above and no success. Finally I decided to
add #define ulong unsigned long to
/usr/include/stdlib.h and tried installing again and voila, it worked !
Have also suggested this solution to many people and so far have not
found any issues with it.
--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home