2013-06-26 1 views
2

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

: 3-p429/보석/oversip-1.3.8/내선/스투 여기

는 몇 로그 출신

"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â 
+0

gem 설치 디렉토리의'mkmf.log' 파일을 확인하면 오류에 대한 더 자세한 설명을 볼 수 있습니다. 또한'make'가 설치되어 있는지 확인하십시오. – toro2k

+0

잘못된 형식의 경우 죄송합니다. 나는 확인했다. 그리고 그것의 설치. 그런 다음 /stud/mkmf.log 파일을 확인하고 위의 로그를 받았습니다. – Ashish

+0

나는 질문을 업데이트했다 :) – Ashish

답변

3

헤더 파일이 누락 된 것 같습니다. ev.hlibev에서 제공됩니다. libev-devel 패키지를 설치해야합니다. 이 될 것 버그가

ln -s /usr/include/libev/ev.h /usr/include/ev.h 

: 레드햇 시스템에서

업데이트 파일 ev.h 그러므로 당신이 보석을 구축하는 심볼릭 링크를 생성해야는 "잘못된"현재 위치에서 즉 /usr/include/libev/ev.h입니다 OverSip 1.4 버전이 출시되면 수정 됨. 여기를 참조하십시오 : https://github.com/versatica/OverSIP/issues/23.

+0

설치된 "libev-devel".. 여전히 동일한 오류가 발생합니다. – Ashish

+0

굉장한 선생님 !!! 방금 같은 버그를 발견했습니다. 내가 했어 cp /usr/include/libev/ev.h /usr/include/ev.h 그리고 그것은 나를 위해 일했다. 감사합니다. 정말 고맙습니다!!! :) :) – Ashish

+0

OverSip이 설치되었지만 오버 스크립트를 시작하기 위해 스크립트를 제공했습니다. https://github.com/versatica/OverSIP/issues/8 이 스크립트를 실행할 때 다음을 제공합니다. oversip :/bin/bash : oversip : command not found [FAILED] – Ashish

관련 문제