RHEL 6에 oversip 1.3.3을 설치하려고합니다. 그러나이 문제에 직면 해있다. 누구든지 도울 수 있니 ??? Ruby 1.9.3을 설치했습니다.RHEL6에 Oversip 설치 문제가 발생했습니다.
네이티브 확장 기능. 시간이 좀 걸릴 수 있습니다 ... 오류 : oversip 설치 오류 : 오류 : gem 네이티브 확장을 빌드하지 못했습니다. 어떤 이유에, 아마 필요한 라이브러리 및/또는 헤더의 부족으로 인해
/usr/local/rvm/rubies/ruby-1.9.3-p429/bin/ruby extconf.rb
[ext/stud/extconf.rb] executing system command: tar -zxf stud.tar.gz
[ext/stud/extconf.rb] RbConfig::CONFIG['host_os'] returns "linux-gnu"
[ext/stud/extconf.rb] executing system command: make
*** extconf.rb failed ***
는 Makefile을 만들 수 없습니다. 자세한 내용은 mkmf.log 파일을 확인하십시오. 구성 옵션이 필요할 수 있습니다.
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/local/rvm/rubies/ruby-1.9.3-p429/bin/ruby
extconf.rb:14:in `sys': [ext/stud/extconf.rb] system command `make' failed (Runt
from extconf.rb:35:in `block (2 levels) in <main>'
from extconf.rb:27:in `chdir'
from extconf.rb:27:in `block in <main>'
from extconf.rb:24:in `chdir'
from extconf.rb:24:in `<main>'
보석 파일은 /usr/local/rvm/gems/ruby-1.9.3-p429/gems/over에 결과 /usr/local/rvm/gems/ruby-1.9에 기록 설치된 상태로 유지됩니다.
/root/gems/gems/oversip-1.3.8/thirdparty/stud/mkmf.log
는 몇 로그 출신
"tar -zxf stud.tar.gz"
make
cc -O2 -g -std=c99 -fno-strict-aliasing -Wall -W -D_GNU_SOURCE -I/usr/local/include -c -o stud.o stud.c
stud.c:60:16: error: ev.h: No such file or directory
stud.c:87: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âlistenerâ
stud.c:130: error: expected specifier-qualifier-list before âev_ioâ
stud.c: In function âinfo_callbackâ:
stud.c:254: error: âproxystateâ has no member named âhandshakedâ
stud.c:255: error: âproxystateâ has no member named ârenegotiationâ
stud.c: At top level:
stud.c:731: error: expected declaration specifiers or â...â before âev_ioâ
stud.c: In function âsafe_enable_ioâ:
stud.c:732: error: âproxystateâ has no member named âwant_shutdownâ
stud.c:733: warning: implicit declaration of function âev_io_startâ
stud.c:733: error: âwâ undeclared (first use in this function)
stud.c:733: error: (Each undeclared identifier is reported only once
stud.c:733: error: for each function it appears in.)
stud.c: In function âshutdown_proxyâ:
stud.c:739: error: âproxystateâ has no member named âwant_shutdownâ
stud.c:740: warning: implicit declaration of function âev_io_stopâ
stud.c:740: error: âproxystateâ has no member named âev_w_sslâ
stud.c:741: error: âproxystateâ has no member named âev_r_sslâ
stud.c:742: error: âproxystateâ has no member named âev_w_handshakeâ
gem 설치 디렉토리의'mkmf.log' 파일을 확인하면 오류에 대한 더 자세한 설명을 볼 수 있습니다. 또한'make'가 설치되어 있는지 확인하십시오. – toro2k
잘못된 형식의 경우 죄송합니다. 나는 확인했다. 그리고 그것의 설치. 그런 다음 /stud/mkmf.log 파일을 확인하고 위의 로그를 받았습니다. – Ashish
나는 질문을 업데이트했다 :) – Ashish