Bug #6873
closedFailed to build ruby for NaCl i686 version
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.
Updated by shyouhei (Shyouhei Urabe) about 12 years ago
- Category set to build
- Status changed from Open to Assigned
- Assignee set to yugui (Yuki Sonoda)
Updated by yugui (Yuki Sonoda) almost 12 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.