Bug #6873

Failed to build ruby for NaCl i686 version

Added by Ayaka Ikezawa over 2 years ago. Updated over 2 years ago.

[ruby-dev:46049]
Status:Closed
Priority:Normal
Assignee:Yuki Sonoda
ruby -v:ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin10.8.0] Backport:

Description

・My PC Spec:Mac OS X, Chrome 21, pepper_19

I tried to install pepper-ruby i686 version to directory of "/Users/user-name/Work/pepper-ruby".
And I put "make" command and "make package" command on there.
Then they succeeded, but maybe it is not enough. I can't run pepper-ruby.

After,
(1) I copied example.html (in the nacl directory of Ruby) and httpd.py (from NaCl SDK) to "temp/nacl-ruby/".
(2) I entered "puts 'Hello World!'" into the text box and pressed the submit button. I expected that the evaluation result of the script appeared in the second text box. But nothing displayed.

・Chrome error
Failed to load resource: the server responded with a status of 404 (File not found) http://localhost:5103/lib/ruby/2.0.0/enc/ansi_x3_4_1968.so
Failed to load resource: the server responded with a status of 404 (File not found) http://localhost:5103/lib/ruby/2.0.0/enc/ansi_x3_4_1968.so.rb
Failed to load resource: the server responded with a status of 404 (File not found) http://localhost:5103/lib/ruby/2.0.0/enc/ansi_x3_4_1968.so.so
Failed to load resource: the server responded with a status of 404 (File not found) http://localhost:5103/lib/ruby/2.0.0/enc/ansi_x3_4_1968.so
Failed to load resource: the server responded with a status of 404 (File not found) http://localhost:5103/lib/ruby/2.0.0/x86_64-nacl/enc/ansi_x3_4_1968.so
Failed to load resource: the server responded with a status of 404 (File not found) http://localhost:5103/lib/ruby/2.0.0/enc/ansi_x3_4_1968.so.rb
Failed to load resource: the server responded with a status of 404 (File not found) http://localhost:5103/lib/ruby/2.0.0/x86_64-nacl/enc/ansi_x3_4_1968.so.rb
Failed to load resource: the server responded with a status of 404 (File not found) http://localhost:5103/lib/ruby/2.0.0/enc/ansi_x3_4_1968.so.so
Failed to load resource: the server responded with a status of 404 (File not found) http://localhost:5103/lib/ruby/2.0.0/x86_64-nacl/enc/ansi_x3_4_1968.so.so

I download i686 version, but Chrome error said "File not found" x86_64's file.

Associated revisions

Revision 36769
Added by Yuki Sonoda over 2 years ago

  • nacl/pepper_main.c (init_loadpath): Pushes the correct load path on other architectures than x86_64. Fixes #6873.

Revision 36769
Added by Yuki Sonoda over 2 years ago

  • nacl/pepper_main.c (init_loadpath): Pushes the correct load path on other architectures than x86_64. Fixes #6873.

History

#1 Updated by Shyouhei Urabe over 2 years ago

  • Category set to build
  • Status changed from Open to Assigned
  • Assignee set to Yuki Sonoda

#2 Updated by Yuki Sonoda over 2 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r36769.
Ayaka, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • nacl/pepper_main.c (init_loadpath): Pushes the correct load path on other architectures than x86_64. Fixes #6873.

Also available in: Atom PDF