ruby 1.9.3-p545 또는 ruby-2.1.0 또는 ruby-2.1.1을 설치하려고하지만 실패합니다 ...rvm을 사용하여 OS_X 10.9에서 루비 2.1.0을 설치하는 방법은 무엇입니까? (osx/10.9/x86_64/ruby에서 사용할 수있는 이진 루비 없음)
내 환경 :
- OS_X 10.9 x86_64의 터미널에서
- RVM 1.25.20
오류 :
bmalets$ rvm install 1.9.3-p545
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.9/x86_64/ruby-1.9.3-p545.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx_port.
Installing macports......................................................bmalets password required for 'make install':
......................
Installing requirements for osx_port.
Updating system............
Error running 'requirements_osx_port_update_system ruby-1.9.3-p545',
showing last 15 lines of /Users/bmalets/.rvm/log/1394647562_ruby-1.9.3-p545/update_system.log
checking Mac OS X version... 10.9.2
checking Xcode location... /Applications/Xcode.app/Contents/Developer
checking Xcode version... 5.0.2
checking for gcc... /usr/bin/llvm-gcc-4.2
checking whether the C compiler works... no
configure: error: in `/opt/local/var/macports/sources/rsync.macports.org/release/base':
configure: error: C compiler cannot create executables
See `config.log' for more details
shell command "cd /opt/local/var/macports/sources/rsync.macports.org/release/base && CC=/usr/bin/llvm-gcc-4.2 ./configure --prefix=/opt/local --with-tclpackage=/Library/Tcl --with-install-user=root --with-install-group=admin --with-directory-mode=0755 --enable-readline && make && make install" returned error 77
DEBUG: Error installing new MacPorts base: shell command failed (see log for details)
while executing
"macports::selfupdate [array get global_options] base_updated"
Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: shell command failed (see log for details)
++ return 1
++ return 1
Requirements installation failed with status: 1.
도와주세요.
P. , sudo port -v selfupdate
, 그것은 명령 줄 도구 :
bmalets$ sudo xcode-select --install
xcode-select: note: install requested for command line developer tools
에서 툭하지만, 사실 www.macports.org이 더 이상 결의로 고민입니다. 등록 기관 수수료를 내지 않았습니까? (필자는 Xcode를 선택했다는 것을 말해야합니다. - 설치하고 예상대로 작동했습니다) – tobinjim