2013-05-29 4 views
2

현재 Ruby 1.9.3p134에서 실행 중이며 RVM을 사용하여 Ruby 2.0.0을 설치하려고하지만 아래 오류가 계속 실행됩니다. 나는 OSX 10.7.5에서 실행하고 있습니다 : 아래구성에 오류가있는 RVM을 사용하여 Ruby 2.0.0 설치

Error running 'env LDFLAGS=-L/opt/sm/pkg/active/lib CFLAGS=-I/opt/sm/pkg/active/include CPATH=/opt/sm/pkg/active/include ./configure --prefix=/usr/local/rvm/rubies/ruby-2.0.0-p195 --with-opt-dir=/opt/sm/pkg/active --disable-install-doc --without-tcl --without-tk --enable-shared' please read /usr/local/rvm/log/ruby-2.0.0-p195/1369791751_configure.log There has been an error while running configure. Halting the installation.

구성 로그 :

[2013-05-29 11:42:31] ./configure configure: WARNING: unrecognized options: --without-tcl, --without-tk checking build system type... x86_64-apple-darwin11.4.2 checking host system type... x86_64-apple-darwin11.4.2 checking target system type... x86_64-apple-darwin11.4.2 checking whether the C compiler works... no configure: error: in /usr/local/rvm/src/ruby-2.0.0-p195': configure: error: C compiler cannot create executables See config.log' for more details

그냥 일이 문제를 가져올 수 없습니다 나는 도움이 필요합니다.

답변

2

당신은 두 문제를 해결하거나 당신에게 무엇을, 다음 명령을 실행하고 모든 출력 읽을 것, 당신의 RVM을 업데이트해야합니다

rvm get stable 
+0

이 나를 위해 작동하지 않았다을; 이 오류는 "configure --with-arch = -arch x86_64"와 달리 "configure --with-arch = x86_64"와 같이 구성하기 위해 제공되는 이상한 인수입니다. .rvmrc에 문제가있었습니다. 이 문제가 발생하면 .rvmrc의 이름을 다른 이름으로 바꾸고 다시 시도하십시오. –

관련 문제