Oh, pardon about that. thanks for the info :) On Mon, May 10, 2010 at 4:16 AM, Simon Huerlimann <si...@huerlisi.ch> wrote: > Failing to find mkmf is because you've been missing ruby-dev. Closing > this bug. > > Thank you for reporting, though! > > ** Changed in: libgems-ruby (Ubuntu) > Status: New => Invalid > > -- > failed to build mysql gem > https://bugs.launchpad.net/bugs/437280 > You received this bug notification because you are a direct subscriber > of the bug. > > Status in “libgems-ruby” package in Ubuntu: Invalid > > Bug description: > Binary package hint: rubygems > > I'm not sure why this gem fails to install, perhaps there's something which > Ubuntu has moved around which causes the gem to fail to build? > > r...@arrakis:~# > r...@arrakis:~# > r...@arrakis:~# aptitude install ruby -y > Reading package lists... Done > Building dependency tree > Reading state information... Done > Reading extended state information > Initializing package states... Done > The following NEW packages will be installed: > ruby ruby1.8{a} > 0 packages upgraded, 2 newly installed, 0 to remove and 3 not upgraded. > Need to get 24.0kB/44.8kB of archives. After unpacking 242kB will be used. > Writing extended state information... Done > Get:1 http://archive.ubuntu.com jaunty-updates/main ruby1.8 > 1.8.7.72-3ubuntu0.1 [24.0kB] > Fetched 24.0kB in 1s (15.7kB/s) > Selecting previously deselected package ruby1.8. > (Reading database ... 139812 files and directories currently installed.) > Unpacking ruby1.8 (from .../ruby1.8_1.8.7.72-3ubuntu0.1_i386.deb) ... > Selecting previously deselected package ruby. > Unpacking ruby (from .../apt/archives/ruby_4.2_all.deb) ... > Processing triggers for man-db ... > Setting up ruby1.8 (1.8.7.72-3ubuntu0.1) ... > Setting up ruby (4.2) ... > Reading package lists... Done > Building dependency tree > Reading state information... Done > Reading extended state information > Initializing package states... Done > Writing extended state information... Done > > r...@arrakis:~# gem install mysql > The program 'gem' can be found in the following packages: > * rubygems1.8 > * rubygems1.9 > Try: apt-get install <selected package> > -su: gem: command not found > r...@arrakis:~# > r...@arrakis:~# > r...@arrakis:~# aptitude install rubygems > Reading package lists... Done > Building dependency tree > Reading state information... Done > Reading extended state information > Initializing package states... Done > The following NEW packages will be installed: > irb1.8{a} libreadline-ruby1.8{a} rdoc1.8{a} rubygems rubygems1.8{a} > 0 packages upgraded, 5 newly installed, 0 to remove and 3 not upgraded. > Need to get 386kB of archives. After unpacking 2105kB will be used. > Do you want to continue? [Y/n/?] y > Writing extended state information... Done > Get:1 http://archive.ubuntu.com jaunty-updates/universe libreadline-ruby1.8 > 1.8.7.72-3ubuntu0.1 [10.4kB] > Get:2 http://archive.ubuntu.com jaunty-updates/universe irb1.8 > 1.8.7.72-3ubuntu0.1 [79.1kB] > Get:3 http://archive.ubuntu.com jaunty-updates/universe rdoc1.8 > 1.8.7.72-3ubuntu0.1 [125kB] > Get:4 http://archive.ubuntu.com jaunty/universe rubygems1.8 1.3.1-1 [169kB] > Get:5 http://archive.ubuntu.com jaunty/universe rubygems 1.3.1-1 [2712B] > Fetched 386kB in 13s (29.2kB/s) > Selecting previously deselected package libreadline-ruby1.8. > (Reading database ... 139849 files and directories currently installed.) > Unpacking libreadline-ruby1.8 (from > .../libreadline-ruby1.8_1.8.7.72-3ubuntu0.1_i386.deb) ... > Selecting previously deselected package irb1.8. > Unpacking irb1.8 (from .../irb1.8_1.8.7.72-3ubuntu0.1_all.deb) ... > Selecting previously deselected package rdoc1.8. > Unpacking rdoc1.8 (from .../rdoc1.8_1.8.7.72-3ubuntu0.1_all.deb) ... > Selecting previously deselected package rubygems1.8. > Unpacking rubygems1.8 (from .../rubygems1.8_1.3.1-1_all.deb) ... > Selecting previously deselected package rubygems. > Unpacking rubygems (from .../rubygems_1.3.1-1_all.deb) ... > Processing triggers for man-db ... > Setting up libreadline-ruby1.8 (1.8.7.72-3ubuntu0.1) ... > Setting up irb1.8 (1.8.7.72-3ubuntu0.1) ... > > Setting up rdoc1.8 (1.8.7.72-3ubuntu0.1) ... > Setting up rubygems1.8 (1.3.1-1) ... > > Setting up rubygems (1.3.1-1) ... > Reading package lists... Done > Building dependency tree > Reading state information... Done > Reading extended state information > Initializing package states... Done > Writing extended state information... Done > > r...@arrakis:~# > r...@arrakis:~# > r...@arrakis:~# gem install mysql > 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 install mysql > 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 > Updating ri class cache with 1156 classes... > r...@arrakis:~# > r...@arrakis:~# > r...@arrakis:~# cat /etc/lsb-release > DISTRIB_ID=Ubuntu > DISTRIB_RELEASE=9.04 > DISTRIB_CODENAME=jaunty > DISTRIB_DESCRIPTION="Ubuntu 9.04" > r...@arrakis:~# r...@arrakis:~# > r...@arrakis:~# date > Sat Sep 26 09:34:51 PDT 2009 > r...@arrakis:~# > r...@arrakis:~# ruby -v > ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux] > r...@arrakis:~# > > To unsubscribe from this bug, go to: > https://bugs.launchpad.net/ubuntu/+source/libgems-ruby/+bug/437280/+subscribe >
-- failed to build mysql gem https://bugs.launchpad.net/bugs/437280 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs