On Mon, Apr 6, 2009 at 5:00 PM, Frederick Cheung <frederick.che...@gmail.com> wrote: > I think version.h disappeared in ruby 1.9. Looks like it's trying to > build a version of the mysql gem that isn't compatible with ruby 1.9 > (the other errors indicate that too) - i think ruby 1.9.1 needs 2.8.1 > (http://rubyforge.org/frs/?group_id=4550)
That's not building yet either, at least not for me: > cd /usr/src/mysql-ruby-2.8.1 > make clean; make gcc -I. -I/usr/local/include/ruby-1.9.1/i686-linux -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DHAVE_MYSQL_SSL_SET -DHAVE_RB_STR_SET_LEN -DHAVE_MYSQL_MYSQL_H -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -O2 -g -Wall -Wno-parentheses -o mysql.o -c mysql.c gcc -shared -o mysql.so mysql.o -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -lmysqlclient -lpthread -lrt-ldl -lcrypt -lm -lc /usr/bin/ld: cannot find -lmysqlclient collect2: ld returned 1 exit status make: *** [mysql.so] Error 1 It doesn't find a packaged MySQL provided by my distro nor one compiled from source by me. -- Greg Donald http://destiney.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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---