From: Luis Lavena Date: 2010-12-07T22:25:21+09:00 Subject: Re: install mysql problem On Dec 7, 4:15 am, Pen Ttt wrote: > in my console, > pt@pt:~$ sudo gem install mysql > [sudo] password for pt: > Building native extensions.  This could take a while... > ERROR:  Error installing mysql: >   ERROR: Failed to build gem native extension. > > /usr/bin/ruby1.8 extconf.rb > extconf.rb:10:in `require': no such file to load -- mkmf (LoadError) >   from extconf.rb:10 > > Gem files will remain installed in /var/lib/gems/1.8/gems/mysql-2.8.1 > for inspection. > Results logged to > /var/lib/gems/1.8/gems/mysql-2.8.1/ext/mysql_api/gem_make.out > pt@pt:~$ gem -v > 1.3.7 > pt@pt:~$ > what's wrong? > Your installation of Ruby is not complete. Please install ruby-full sudo apt-get install ruby-full Also, mysql gem requires mysql headers, try "sudo apt-get install mysql-dev", but dunno if that works as I'm not familiarized with Debian/Ubuntu packaging conventions -- Luis Lavena