Phil
On Sat, Feb 19, 2011 at 8:55 AM, deadnuker <[email protected]> wrote: > this is what it says > > "gcc -o conftest -I/usr/local/include/ruby-1.9.1/x86_64-darwin10.6.0 > -I/usr/local/include/ruby-1.9.1/ruby/backward > -I/usr/local/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE > -I/usr/local/mysql/include -Os -g -fno-common -fno-strict-aliasing -arch > i386 -D_XOPEN_SOURCE=1 -fno-common -pipe conftest.c -L. -L/usr/local/lib > -L. -L/usr/local/mysql/lib -lmysqlclient -lpthread > -lruby.1.9.1-static -lpthread -ldl -lobjc " > In file included from /usr/local/include/ruby-1.9.1/ruby.h:32, > from conftest.c:1: > /usr/local/include/ruby-1.9.1/ruby/ruby.h:108: error: size of array > ‘ruby_check_sizeof_long’ is negative > /usr/local/include/ruby-1.9.1/ruby/ruby.h:112: error: size of array > ‘ruby_check_sizeof_voidp’ is negative > In file included from /usr/local/include/ruby-1.9.1/ruby/intern.h:29, > from /usr/local/include/ruby-1.9.1/ruby/ruby.h:1327, > from /usr/local/include/ruby-1.9.1/ruby.h:32, > from conftest.c:1: > /usr/local/include/ruby-1.9.1/ruby/st.h:69: error: size of array > ‘st_check_for_sizeof_st_index_t’ is negative > checked program was: > /* begin */ > 1: #include "ruby.h" > 2: > 3: int main() {return 0;} > /* end */ > > I see ruby 1.9.1 there. I would absolutely recommend 1.9.2 or 1.8.7 instead... 1.9.1 had issues running rails, possibly other issues as well. Not saying for certain that this is your problem with installing mysql, but you definitely want to change this; *don't* use ruby 1.9.1. So you might as well get the latest 1.9.2 or 1.8.7 (since you'll need one or the other anyways) and then try gem install mysql again. > -- > 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. > -- 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.

