23 Jan 09:14
Re: trouble generating ri of Ruby 1.9 on Fedora Core 4
From: Ryan Davis <ryand-ruby <at> zenspider.com>
Subject: Re: trouble generating ri of Ruby 1.9 on Fedora Core 4
Newsgroups: gmane.comp.lang.ruby.documentation
Date: 2008-01-23 08:14:27 GMT
Subject: Re: trouble generating ri of Ruby 1.9 on Fedora Core 4
Newsgroups: gmane.comp.lang.ruby.documentation
Date: 2008-01-23 08:14:27 GMT
On Jan 21, 2008, at 11:54 , Maksim Khrapov wrote:
> I'm trying to compile Ruby 1.9 on my web hosting provider's box
> running Fedora Core 4. It compiles just fine, but when I do "make
> install" and try to generate the docs, it chokes.
What version of gcc? Also, do you have ulimits set or any other memory
constraints?
If you're compiling from svn, what revision are you at?
> time.c: c.........................................../home/maksim/
> ruby-1.9.0-0/lib/rdoc/parsers/parse_c.rb:630:in `find_body':
> unmatched close parenthesis: /((?>\/\*.*?\*\/\s*))(?:static\s+)?VALUE
> \s+time_utc_offset (RegexpError)
> \s*(\([^)]*\))\s*\{.*?^\}/mx from /home/maksim/ruby-1.9.0-0/lib/
> rdoc/parsers/parse_c.rb:619:in `handle_method'
That's really specific... almost too specific, and from what I can see/
understand in the regexp, it looks balanced. I suspect you've got
resource issues, but I'll hold judgement for more info.
One possibility is to install sans rdoc by doing 'sudo make install-
nodoc'
RSS Feed