ruby - Installing Thin on Windows fails -
i cannot seem install thin gem on windows. similar question asked here, after tying answers still doesn't work.
trace:
c:/ruby193/bin/ruby.exe extconf.rb checking main() in -lc... *** extconf.rb failed *** not create makefile due reason, lack of necessary libraries and/or headers. check mkmf.log file more details. 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 --with-thin_parser-dir --without-thin_parser-dir --with-thin_parser-include --without-thin_parser-include=${thin_parser-dir}/include --with-thin_parser-lib --without-thin_parser-lib=${thin_parser-dir}/lib --with-clib --without-clib c:/ruby193/lib/ruby/1.9.1/mkmf.rb:381:in `try_do': compiler failed generate executable file. (runtimeerror) have install development tools first. c:/ruby193/lib/ruby/1.9.1/mkmf.rb:461:in `try_link0' c:/ruby193/lib/ruby/1.9.1/mkmf.rb:476:in `try_link' c:/ruby193/lib/ruby/1.9.1/mkmf.rb:619:in `try_func' c:/ruby193/lib/ruby/1.9.1/mkmf.rb:845:in `block in have_library' c:/ruby193/lib/ruby/1.9.1/mkmf.rb:790:in `block in checking_for' c:/ruby193/lib/ruby/1.9.1/mkmf.rb:284:in `block (2 levels) in postpone' c:/ruby193/lib/ruby/1.9.1/mkmf.rb:254:in `open' c:/ruby193/lib/ruby/1.9.1/mkmf.rb:284:in `block in postpone' c:/ruby193/lib/ruby/1.9.1/mkmf.rb:254:in `open' c:/ruby193/lib/ruby/1.9.1/mkmf.rb:280:in `postpone' c:/ruby193/lib/ruby/1.9.1/mkmf.rb:789:in `checking_for' c:/ruby193/lib/ruby/1.9.1/mkmf.rb:840:in `have_library' extconf.rb:4:in `<main>'
devkit rubyinstaller windows has been installed.
timemachine has been installed.
other gems work fine. face same or similar issues?
using windows 7 professional , latest 1.9 ruby.
btw:
found this question. comments refer above mentioned question , possible solution reinstall xcode. not using xcode, nor have installed.
i had errors installing thin, , initial one's yours.
the problem devkitvars.bat isn't being run. if run first, gem install thin..
c:\<pathtodevkit>\devkitvars.bat
depending on setup you'll progress.
the problem me initial install of both ruby , devkit in directory spaces. don't feel computer science has progressed..
so moved directories, changed environment path variable, , registry variables ruby, , verified ruby install.
then i:
del <devkitdir>\config.yml ruby dk.rb init ruby dk.rb install gem install thin
i got error.
which long term solution comes.
in [rubydir]\lib\ruby\site-ruby directory, there file called devkit.rb wasn't changed.
perhaps if had deleted file, dk.rb install generate (assuming using make move file here, , aren't checking registry entries or anything). edited it, , changed path of devkit location new location.
that ends error. got errors associated page reference. followed 1 of solutions:
$ gem install specific_install $ gem specific_install -l http://github.com/eventmachine/eventmachine.git gem install thin
hip hip!
hope helps.
Comments
Post a Comment