rubyamf / rocketamf

52 stars 34 forks source link

Unable to install and/or start #10

Open sanfordredlich opened 12 years ago

sanfordredlich commented 12 years ago

Thanks for working on this. I'm using

When I did an initial bundle install using

I got a false native extension building error as if DevKit wasn't installed, similar to the one Stephen reported here:

So I tried

That installs fine but then on server startup gives this error:

Is there a version that works with Ruby 1.9.3 or would I have to go back to 1.9.2 or what?

Thanks for any tips!

sanfordredlich commented 12 years ago

PS - here's the console output when using

C:\Ruby193\bin\ruby.exe -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) C:\Ruby193\bin/bundle install Updating git://github.com/rubyamf/rocketamf.git Fetching source index for http://rubygems.org/ Using rake (0.9.2.2) Using RocketAMF (1.0.0) from git://github.com/rubyamf/rocketamf.git (at master) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

    C:/Ruby193/bin/ruby.exe extconf.rb 

checking for rb_str_encode()... * extconf.rb failed * Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options.

Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=C:/Ruby193/bin/ruby --enable-sort-props --disable-sort-props C:/Ruby193/lib/ruby/1.9.1/mkmf.rb:381:in try_do': The compiler failed to generate an executable file. (RuntimeError) You have to install development tools first. from C:/Ruby193/lib/ruby/1.9.1/mkmf.rb:461:intry_link0' from C:/Ruby193/lib/ruby/1.9.1/mkmf.rb:476:in try_link' from C:/Ruby193/lib/ruby/1.9.1/mkmf.rb:619:intry_func' from C:/Ruby193/lib/ruby/1.9.1/mkmf.rb:894:in block in have_func' from C:/Ruby193/lib/ruby/1.9.1/mkmf.rb:790:inblock in checking_for' from C:/Ruby193/lib/ruby/1.9.1/mkmf.rb:284:in block (2 levels) in postpone' from C:/Ruby193/lib/ruby/1.9.1/mkmf.rb:254:inopen' from C:/Ruby193/lib/ruby/1.9.1/mkmf.rb:284:in block in postpone' from C:/Ruby193/lib/ruby/1.9.1/mkmf.rb:254:inopen' from C:/Ruby193/lib/ruby/1.9.1/mkmf.rb:280:in postpone' from C:/Ruby193/lib/ruby/1.9.1/mkmf.rb:789:inchecking_for' from C:/Ruby193/lib/ruby/1.9.1/mkmf.rb:893:in have_func' from extconf.rb:14:in

'

waseem commented 9 years ago

@sanfordredlich I'm late to the party it seems. Did you figure out a solution for this? I have the same issue.

awesome commented 7 years ago
# ~/.gem/ruby/2.1.9/gems/RocketAMF-0.2.1/lib/rocketamf.rb
# at bottom of file
module RocketAMF
   class MappingSet < RocketAMF::ClassMapping::MappingSet
   end
end