2011-10-01 4 views
0

을 중지하는 것은 내가 달릴 것입니다 : RVM을 사용하여 Ruby 또는 Rails를 설치할 수 없음 : 오류 : 구성 실행 중 오류가 발생했습니다. 설치 여기

rvm install ruby-1.9.2-p290 

내가 엑스 코드 4가 설치되어 있습니다. 그리고 제가 OSX 10.6.7를 실행하고 여기에

오류가 나는 여기

ruby-1.9.2-p290 - #configuring 
ERROR: Error running ' ./configure --prefix=/Users/jac/.rvm/rubies/ruby-1.9.2-p290 --enable-shared --disable-install-doc --with-libyaml-dir=/Users/jac/.rvm/usr ', please read /Users/jac/.rvm/log/ruby-1.9.2-p290/configure.log 
ERROR: There has been an error while running configure. Halting the installation. 

을받을 로그 파일의 마지막 부분입니다입니다

checking for working volatile... yes 
checking whether right shift preserve sign bit... yes 
checking read count field in FILE structures... _r 
checking read buffer ptr field in FILE structures... _p 
checking size of struct stat.st_ino... SIZEOF_LONG 
checking whether _SC_CLK_TCK is supported... yes 
checking stack growing direction on i386... -1 
checking for backtrace... yes 
checking whether ELF binaries are produced... no 
checking whether OS depend dynamic link works... yes 
checking for strip... strip 
configure: error: thread model is missing 

나는 질문을 게시하지 나중에 말해 줄게 어디서나 나는 보통 결국 물건을 찾아 낼 수 있기 때문에. 그러나이 특정 오류가있는 사람은 어디에도 없습니다. 나는 Xcode가 없다는 것에 대해서도 비슷한 것을 보았다. 그러나 나는 그것을 가지고있다.

편집 : 나는 내가 모든 설정했다고 생각하기 때문에이 문제에 달렸다하지만 난이 우연히 새 프로젝트를 만들려고 할 때 : 새로운 데모를

/Library/Ruby/Site/1.8 레일 '/Library/Ruby/Site/1.8/rubygems.rb:1195:in`보석에서 '/rubygems/dependency.rb:247:in to_specs': Could not find rails (>= 0) amongst [rake-0.8.7, rake-0.8.7] (Gem::LoadError) from /Library/Ruby/Site/1.8/rubygems/dependency.rb:256:in to_spec는/usr/빈/레일에서 18

답변

0

당신이 있습니까 시스템에 /usr/include/pthread.h이 누락 되었습니까?

+0

No. emacs /usr/include/pthread.h가 작동했습니다. – Johnston

+0

왜 나는'pthreads'가 누락 되었습니까? 어떤 의미가없는 것 같습니다. – Johnston

+0

당신이 응답을 잘못 읽었습니다 ... 예, 구성보다 헤더가있는 경우 – nhed

관련 문제