在 Mac OS X 上运行 ocaml 会出现总线错误

发布于 2024-07-10 16:23:17 字数 583 浏览 4 评论 0原文

我刚刚在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

岁月静好 2024-07-17 16:23:17

结果我在运行 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...

筑梦 2024-07-17 16:23:17

你是从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?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文