Your message dated Sun, 29 Oct 2006 21:21:40 +0900
with message-id <[EMAIL PROTECTED]>
and subject line Rubygems bugfix
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Now this package is in the unstable/testing distribution. The bug was already
fixed. I should have closed it earlier.

Thanks,
Daigo

- --
Daigo Moriwaki
daigo at debian dot org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFRJzUNcPj+ukc0lARAmLLAKCNtq5jEyW9AQ4m5CD1HXUlXKiJiwCdEvwN
F1mMiySNXzOTZtHYXP0viTA=
=dcs2
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to