Bug 141806
Summary: | No ri documentation installed | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Richard J. Turner <rjt> |
Component: | ruby | Assignee: | Akira TAGOH <tagoh> |
Status: | CLOSED ERRATA | QA Contact: | Bill Huang <bhuang> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3 | CC: | fortran |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 1.8.2-1.FC3.0 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-01-07 10:29:45 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Richard J. Turner
2004-12-03 21:11:35 UTC
I too am interested in this, since the only way to get rdoc for built-ins is during compile-time. I decided to grab the SRPM from my local mirror, and had a look. I am not a rpm-spec wizard, so I decided to do dumb things. First, following this: http://www.rubygarden.org/ruby?NextGenerationRi I tried adding --enable-install-doc to the configure bits of the .spec file. Well, it didn't work...mainly because, in the ruby-1.8.1 tarball in the SRPM, there isn't an install-doc area in configure.in. So, I did what any irrational person would do, grabbed the 1.8.2 official tarball and changed the spec file to look for 1.8.2. After commenting out the ia64 patch (since it caused an error), I reran the rpmbuild and all was well until this: ++ /var/tmp/ruby-1.8.2-root/usr/bin/ruby -r /var/tmp/ruby-1.8.2-root/usr/lib/ruby/1.8/i386-linux/rbconfig.rb -e 'printf ("%s\n", Config::CONFIG["arch"])' /var/tmp/ruby-1.8.2-root/usr/lib/ruby/1.8/i386-linux/rbconfig.rb:7: ruby lib version (1.8.2) doesn't match executable version (1.8.1) (RuntimeError) + arch= error: Bad exit status from /var/tmp/rpm-tmp.8263 (%install) I'm too dumb at C compiling (go Fortran 95!) and rpm building to figure out how to get around this. It seems that something is still being built as 1.8.1, but I can't figure out what. If someone can help me out, I'll try rebuilding. Fixed in 1.8.2-1 on rawhide. and hopefully the updated package for FC3 will be available soon. Fixed in 1.8.2-1.FC3.0. please install ri package then. Excellent! It's nice to see things like this moving quickly and certainly typing 'sudo yum -y install ri' is quicker than the palaver of generating the documentation oneself using RDoc. Cheers! |