我正在尝试通过运行通过 RVM 安装 Ruby,rvm install 1.9.3
但遇到了一堆错误:
运行出错
env LDFLAGS=-L/opt/sm/pkg/active/lib CFLAGS=-I/opt/sm/pkg/active/include CPATH=/opt/sm/pkg/active/include ./configure --prefix=/Users/kuzjaved/.rvm/usr
,请阅读/Users/kuzjaved/.rvm/log/ruby-1.9.3-p327/yaml/configure.log
运行出错
make
,请阅读/Users/kuzjaved/.rvm/log/ruby-1.9.3-p327/yaml/make.log
运行出错
env LDFLAGS=-L/opt/sm/pkg/active/lib CFLAGS=-I/opt/sm/pkg/active/include CPATH=/opt/sm/pkg/active/include ./configure --enable-shared --disable-install-doc --prefix=/Users/kuzjaved/.rvm/rubies/ruby-1.9.3-p327 --with-opt-dir=/Users/kuzjaved/.rvm/usr
,请阅读/Users/kuzjaved/.rvm/log/ruby-1.9.3-p327/configure.log
运行时出现错误
configure
。停止安装。
然后我尝试了:
rvm install 1.9.3 --with-gcc=clang
这里也有同样的错误!发生了什么事,我该如何解决?