Thread: [Fremantle Maemo5] Compilation errors in Ruby 1.9.2 make
View Single Post
Posts: 26 | Thanked: 56 times | Joined on Jul 2016 @ Where do I live?
#1
I've been trying to build Ruby 1.9.2 from source, but I'm having some problems when using make. I can see lots of o: command not found errors, but the main problem comes when the makefile generates Rdoc documentation:

Code:
Generating RDoc documentation
./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb  ./tool/runruby.rb --extout=.ext  -- "./bin/rdoc" --no-force-update --all --ri --op ".ext/rdoc"  "."
<internal:lib/rubygems/custom_require>:29:in `require': no such file to load -- etc (LoadError)
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from /opt/ruby-1.9.2-p0/lib/rubygems.rb:17:in `<top (required)>'
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from <internal:gem_prelude>:167:in `load_full_rubygems_library'
    from <internal:gem_prelude>:217:in `try_activate'
    from <internal:lib/rubygems/custom_require>:32:in `rescue in require'
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from /opt/ruby-1.9.2-p0/lib/rdoc/markup/parser.rb:1:in `<top (required)>'
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from /opt/ruby-1.9.2-p0/lib/rdoc/markup.rb:121:in `<top (required)>'
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from /opt/ruby-1.9.2-p0/lib/rdoc/markup/preprocess.rb:1:in `<top (required)>'
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from /opt/ruby-1.9.2-p0/lib/rdoc/parser.rb:3:in `<top (required)>'
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from /opt/ruby-1.9.2-p0/lib/rdoc/rdoc.rb:3:in `<top (required)>'
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from ./bin/rdoc:11:in `<main>'
make: *** [rdoc] Error 1
It seems to be lacking some kind of file, but I'm not sure about what to do.