Project

General

Profile

Actions

Bug #6873

closed

Failed to build ruby for NaCl i686 version

Added by ikeay (Ayaka Ikezawa) over 11 years ago. Updated over 11 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin10.8.0]
Backport:
[ruby-dev:46049]

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) over 11 years ago

  • Category set to build
  • Status changed from Open to Assigned
  • Assignee set to yugui (Yuki Sonoda)
Actions #2

Updated by yugui (Yuki Sonoda) over 11 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.
Actions

Also available in: Atom PDF

Like0
Like0Like0