지난 주에 bash "취약한 문제"때문에 cygwin에서 업데이트했습니다.
그 후 나는 더 이상 새우를 컴파일 할 수 없었다. 일부는 실패 설치 한 후
나는, 루비를 다시 시도하고 다시 설치 Cygwin에서 나는 그것을 설치하고
업데이트
가 실행 "보석 --system 업데이트",하지만 난 나침반을 설치하려고 할 때 나는 다음과 같은 메시지가 있어요 :나침반을 설치할 수 없습니다
> /usr/bin/ruby.exe -r ./siteconf20141006-7856-1td7wzb.rb extconf.rb
> checking for ffi.h... *** 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=/usr/bin/ruby
> --with-ffi_c-dir
> --without-ffi_c-dir
> --with-ffi_c-include
> --without-ffi_c-include=${ffi_c-dir}/include
> --with-ffi_c-lib
> --without-ffi_c-lib=${ffi_c-dir}/
> --with-libffi-config
> --without-libffi-config
> --with-pkg-config
> --without-pkg-config /usr/share/ruby/2.0.0/mkmf.rb:434:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
> You have to install development tools first. from
> /usr/share/ruby/2.0.0/mkmf.rb:565:in `try_cpp' from
> /usr/share/ruby/2.0.0/mkmf.rb:1044:in `block in have_header' from
> /usr/share/ruby/2.0.0/mkmf.rb:895:in `block in checking_for' from
> /usr/share/ruby/2.0.0/mkmf.rb:340:in `block (2 levels) in postpone'
> from /usr/share/ruby/2.0.0/mkmf.rb:310:in `open' from
> /usr/share/ruby/2.0.0/mkmf.rb:340:in `block in postpone' from
> /usr/share/ruby/2.0.0/mkmf.rb:310:in `open' from
> /usr/share/ruby/2.0.0/mkmf.rb:336:in `postpone' from
> /usr/share/ruby/2.0.0/mkmf.rb:894:in `checking_for' from
> /usr/share/ruby/2.0.0/mkmf.rb:1043:in `have_header' from
> extconf.rb:16:in `<main>'
>
> extconf failed, exit code 1
을
내가 ("FFI --pre 보석 설치" "보석 FFI 설치") FFI를 설치하려고, 나는 같은 메시지 여기
로그/(.gem/루비/확장/x86_64에-Cygwin에서이다있어 ffi-1.9.5/gem_make.out)
package configuration for libffi is not found
"gcc -o conftest.exe -I/usr/include/ruby-2.0.0 -I/usr/include/ruby-2.0.0/ruby/backward -I/usr/include/ruby-2.0.0 -I. -ggdb -O2 -pipe -Wimplicit-function-declaration conftest.c -L. -L/usr/lib -L. -fstack-protector -lruby200 -lpthread -lrt -ldl -lcrypt "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5: return 0;
6: }
/* end */
정말 실망합니다 !! ' 이 위키를 따라
다운로드 어떤 문제의 경우에 대비하여 루비 버전
http://rubyinstaller.org/downloads/
을 따라 루비 dev에 키트를 설치 :
시스템 윈도우 7 64 비트 Cygwin에서
나는 잠시 지났지 만이 문제에 대한 해결책을 찾았습니까? – Fred