Package: rubygems Version: 0.8.11-3 Severity: normal Tags: experimental Thanks again to the Debian Ruby project for packaging rubygems. I was very glad to see it had entered experimental recently.
Attempting to install the mysql adapter with gem fails; the following is a transcript of the attempt: $ sudo gem install mysql Attempting local installation of 'mysql' Local gem file not found: mysql*.gem Attempting remote installation of 'mysql' Updating Gem source index for: http://gems.rubyforge.org Select which gem to install for your platform (i486-linux) 1. mysql 2.7.2006.05.10 (mswin32) 2. mysql 2.7.2006.04.21 (mswin32) 3. mysql 2.7 (ruby) 4. mysql 2.6 (ruby) 5. mysql 2.5.1 (ruby) 6. Cancel installation > 3 Building native extensions. This could take a while... extconf.rb:1:in `require': no such file to load -- mkmf (LoadError) from extconf.rb:1 ERROR: While executing gem ... (RuntimeError) ERROR: Failed to build gem native extension. Gem files will remain installed in /var/lib/gems/1.8/gems/mysql-2.7 for inspection. ruby extconf.rb install mysql\n Results logged to /var/lib/gems/1.8/gems/mysql-2.7/gem_make.out Here is the content of the gem_make.out file: $ cat /var/lib/gems/1.8/gems/mysql-2.7/gem_make.out ruby extconf.rb install mysql I also tried explicitly requiring mkmf in the command-line invocation of extconf.rb: $ ruby -r mkmf extconf.rb ruby: no such file to load -- mkmf (LoadError) It doesn't appear that mkmf is packaged with ruby1.8, even though mkmf.rb is part of Ruby Standard Library[0]: $ sudo dpkg --search mkmf libglib2-ruby: /usr/lib/ruby/1.8/mkmf-gnome2.rb xutils-dev: /usr/share/man/man1/xmkmf.1x.gz xutils-dev: /usr/bin/xmkmf I would have thought mkmf.rb would have been in place with a standard install of the ruby package. I installed libruby to see if that pulled in anything else, but I still had no mkmf.rb present. Perhaps this bug should be forwarded to the ruby or ruby1.8 package? I will leave that to the discretion of the package maintainers, who are vastly more aware of what may be going on. Perhaps it's simply a missing Depends: entry that I did not find. The temporary workaround was to install the libmysql-ruby package, which provided the needed MySQL adapter for Ruby. [0] - http://www.ruby-doc.org/stdlib/libdoc/mkmf/rdoc/index.html Regards, -- Barry Hawkins All Things Computed site: www.alltc.com weblog: www.yepthatsme.com Registered Linux User #368650
signature.asc
Description: Digital signature

