Dirkjan, Thanks for such a quick reply! Instead of reposting all of my current local gems (long list), I will point you towards my response to Dan (see above post). My most recent attempts have been with the edge version (as you will notice data_objects is V-0.9.12 and extlib is V-0.9.11). I am running ruby 1.8.6 and MySQL 4.1.20. Recommend to update?
Thanks Again! Kenderson On Feb 6, 3:38 am, Dirkjan Bussink <[email protected]> wrote: > On Fri, Feb 6, 2009 at 4:20 AM, kenderson <[email protected]> wrote: > > > I am attempting to install merb, and like alot of people, I am running > > into a strange error when installing the do_mysql gem. I have been > > combing the posts, and I dont see anything that is real similar to > > this one. Any help is greatly appreciated! The install error is as > > reads below; > > > macbox:/ my_user$ sudo gem install do_mysql > > Password: > > Building native extensions. This could take a while... > > ERROR: Error installing do_mysql: > > ERROR: Failed to build gem native extension. > > > /usr/local/bin/ruby extconf.rb install do_mysql > > checking for mysql.h... yes > > checking for main() in -lmysqlclient... yes > > checking for mysql_query()... yes > > checking for mysql_ssl_set()... yes > > creating Makefile > > > make > > gcc -I. -I. -I/usr/local/lib/ruby/1.8/powerpc-darwin8.11.0 -I. - > > DHAVE_MYSQL_H -DHAVE_MYSQL_QUERY -DHAVE_MYSQL_SSL_SET -I/usr/local/ > > mysql/include -Os -arch ppc -fno-common -fno-common -D_XOPEN_SOURCE=1 > > -fno-common -pipe -fno-common -Wall -c do_mysql_ext.c > > do_mysql_ext.c: In function 'infer_ruby_type': > > do_mysql_ext.c:90: error: 'MYSQL_TYPE_BIT' undeclared (first use in > > this function) > > do_mysql_ext.c:90: error: (Each undeclared identifier is reported only > > once > > do_mysql_ext.c:90: error: for each function it appears in.) > > do_mysql_ext.c:100: error: 'MYSQL_TYPE_NEWDECIMAL' undeclared (first > > use in this function) > > do_mysql_ext.c: In function 'cConnection_initialize': > > do_mysql_ext.c:499: error: 'MYSQL_OPT_RECONNECT' undeclared (first use > > in this function) > > make: *** [do_mysql_ext.o] Error 1 > > This look like a pretty old version of MySQL, perhaps one from the 4.1 > series? I don't have a box that is still running that version, so > backwards compatibility is always a pain in those cases. I could > probably make some stuff conditional here so it will compile on your > system, but I need some more details for that. > > -- > Regards, > > Dirkjan Bussink --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DataMapper" 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/datamapper?hl=en -~----------~----~----~----~------~----~------~--~---
