From: Jon Forums Date: 2011-03-25T23:59:22+09:00 Subject: Re: NArray install fail with DevKit on Win > Attempting to install narray however failed (pasting the command prompt > output below). When it comes to compiling Im basically lost as to > interpret what's going on, so if someone could bring some insight as to > what is happening here that would be appreciated. I guess it would be > nice to know if it is either something wrong with the narray gem or if > it is related to either my ruby/devkit install or if Im missing some > required libraries or whatever. See if this at least allows you to build and install it: C:\Users\Jon\Downloads\temp>ruby --version ruby 1.9.2p180 (2011-02-18 revision 30907) [i386-mingw32] C:\Users\Jon\Downloads\temp>gem --version 1.6.2 C:\Users\Jon\Downloads\temp>gem fetch narray Fetching: narray-0.5.9.9.gem (100%) Downloaded narray-0.5.9.9 C:\Users\Jon\Downloads\temp>gem unpack narray-0.5.9.9.gem Unpacked gem: 'C:/Users/Jon/Downloads/temp/narray-0.5.9.9' C:\Users\Jon\Downloads\temp>cd narray-0.5.9.9 # comment out the following lines in src\extconf.rb https://github.com/masa16/narray/blob/master/extconf.rb#L55-66 C:\Users\Jon\Downloads\temp\narray-0.5.9.9>gem spec ..\narray-0.5.9.9.gem > narray.gemspec C:\Users\Jon\Downloads\temp\narray-0.5.9.9>gem build narray.gemspec WARNING: no description specified Successfully built RubyGem Name: narray Version: 0.5.9.9 File: narray-0.5.9.9.gem C:\Users\Jon\Downloads\temp\narray-0.5.9.9>gem install narray-0.5.9.9.gem Building native extensions. This could take a while... Successfully installed narray-0.5.9.9 1 gem installed C:\Users\Jon\Documents>irb irb(main):001:0> require 'narray_ext' => true irb(main):002:0> require 'narray' => true irb(main):003:0> $LOADED_FEATURES.select {|i| i =~ /n(array|matrix)/} => ["C:/ruby192/lib/ruby/gems/1.9.1/gems/narray-0.5.9.9/nmatrix.rb", "C:/ruby192/lib/ruby/gems/1.9.1/gems/narray-0.5.9.9/narray_ext.rb", "C:/ruby192/lib/ruby/gems/1.9.1/gems/narray-0.5.9.9/narray.so"] -- Posted via http://www.ruby-forum.com/.