在 Mac OS X 上运行 ocaml 会出现总线错误
我刚刚在 Mac OS X 上安装了 Ocaml,当我运行 ocaml 程序时,我收到“总线错误”,没有其他线索表明可能发生的情况。 有人可以提供关于从这里去哪里的建议吗?
编辑:
我通过包安装:
http: //caml.inria.fr/pub/distrib/ocaml-3.10/ocaml-3.10.2-ppc.dmg
(我有一台 iBook G4,所以 PPC 是合适的)
要运行 ocaml,我只需输入
ocaml
: 一个终端窗口
我也尝试
/usr/local/bin/ocaml
过从 xterm 窗口运行 。 所有这三个都给出:
Bus Error
我已经按照自述文件的要求安装了 Xcode 和 X11。
I've just installed Ocaml on Mac OS X, and when I run the ocaml program I get a "Bus Error" with no other clues to what might be going on. Can anyone offer suggestions on where to go from here?
EDIT:
I installed via the package:
http://caml.inria.fr/pub/distrib/ocaml-3.10/ocaml-3.10.2-ppc.dmg
(I have an iBook G4, so PPC is appropriate)
To run ocaml, I just typed:
ocaml
in a terminal window
I also tried
/usr/local/bin/ocaml
and running from an xterm window. All three give:
Bus Error
I have Xcode and X11 installed as the README requires.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
结果我在运行 10.4.x (Tiger) 的计算机上安装了为 Mac OS X 10.5.x (Leopard) 构建的 OCaml 版本。 人们可能会认为安装人员很容易发现这一点,但可惜......
Turns out I was installing a version of OCaml built for Mac OS X 10.5.x (Leopard) on my machine running 10.4.x (Tiger). One would think it would be easy for the installer to catch this, but alas...
你是从macports安装的吗? 对我来说效果很好。 您能描述一下有关您的安装的更多详细信息吗? 也许你正在做什么才能得到错误?
Did you install it from macports? It's working fine for me. Can you describe some more details about your installation? Perhaps what you're doing to get the error?