Launching ocaml on Mac OS X results in a bus error

I just installed Ocaml on Mac OS X, and when I run ocaml I get a "Bus Error" with no other clue as to what might be happening. Can anyone offer suggestions on where to go from here?

EDIT:

I installed via package:

http://caml.inria.fr/pub/distrib/ocaml-3.10/ocaml-3.10.2-ppc.dmg

(I have an iBook G4, so PPC fits)

To start ocaml, I simply typed:

ocaml

      

in a terminal window

I have also tried

/usr/local/bin/ocaml

      

and is executed from the xterm window. All three give:

Bus Error

      

I have Xcode and X11 installed as README required.

0


source to share


2 answers


It turns out I was installing a version of OCaml built for Mac OS X 10.5.x (Leopard) on my 10.4.x (Tiger) machine. One would think it would be easy for the installer to catch this, but alas ...



+4


source


Have you installed it from macports? It works great for me. Can you describe some details about your setup? Perhaps what are you doing to get the error?



+1


source







All Articles