From: Carl Woodward Date: 2006-11-25T13:26:40+09:00 Subject: Re: Problem reinstalling mysql gem Hi Michael, If you are running on osx you probably have the compile problem listed on this site: http://www.railtie.net/articles/2006/09/12/running-rails-on-os-x-with-mysql-5-0-24 Once you add the #define ulong unsigned long as one of the top lines of mysql.c in the gem, you can just do: - sudo ruby extconf.rb - sudo make - sudo make install Let me know if this helps? Cheers, Carl. On 11/25/06, Michael Satterwhite wrote: > I had to reload my system and am trying to bring up ruby on my kubuntu > system. I've compiled / installed ruby and rubygems. I then run > sudo gem install mysql -y > > I select 2 when it asks for mysql 2.7 (ruby). It then runs a bit, then I > get the following errors: > > ERROR: Failed to build gem native extension. > Gem files will remain installed in > /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7 for inspection. > > Results logged to > /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7/gem_make.out > > I have no idea what to look at other than the file that supposedly it > was logged to, but the "gem_make.out" file has absolutely nothing in it > (actually, it has 1 byte, but I think it's a space) > > Can anyone offer any help. > As always, thanks in advance. > ---Michael > > -- > Posted via http://www.ruby-forum.com/. > > -- Carl Woodward 0412218979 cjwoodward@gmail.com