无法在MacOSX 10.6上安装ruby 1.9.1 [英] Can't install ruby 1.9.1 on MacOSX 10.6

查看:260
本文介绍了无法在MacOSX 10.6上安装ruby 1.9.1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我似乎无法在Mac上安装Ruby.这些是我到目前为止已采取的步骤:

I can't seem to be get Ruby installed on my Mac. These are the steps I've taken so far:

  1. 从Ruby网站( http://www.ruby-lang.org/en/downloads/)
  2. 运行{tar xzvf ruby​​-1.9.1-p376.tar.gz}将其解压缩
  3. 进入新的ruby文件夹,并使用{./configure}
  4. 进行配置
  1. Downloaded the package from Ruby's site (http://www.ruby-lang.org/en/downloads/)
  2. Unpacked it running { tar xzvf ruby-1.9.1-p376.tar.gz }
  3. Went into the new ruby folder, and configured using {./configure}

这是发生错误的地方.当我运行配置文件时,它给了我错误:

This is where the error happens. When I run the configure, it gives me the error:

/usr/local/include/fuse/fuse_common.h:32:2: error: #error Please add -D_FILE_OFFSET_BITS=64 to your compile flags!
In file included from /usr/local/include/fuse/fuse.h:857,
                 from <command-line>:0:
/usr/local/include/fuse/fuse_compat.h:69:24: error: sys/statfs.h: No such file or directory

结果,我无法制作软件包或安装它.我不知道怎么了.任何帮助是极大的赞赏.谢谢!

As a result, I can't make the package nor install it. I have no idea what is wrong. Any help is greatly appreciated. Thanks!

推荐答案

这不是一个建议的替代方法,而是使用macports:-)

This isnt ananswer so much as a suggested alternative... use macports :-)

这篇关于无法在MacOSX 10.6上安装ruby 1.9.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆