Ryan Davis | 23 Jan 09:14
Favicon
Gravatar

Re: trouble generating ri of Ruby 1.9 on Fedora Core 4


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'


Gmane