From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id QAA18328; Mon, 17 Dec 2001 16:27:56 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA18524 for ; Mon, 17 Dec 2001 16:27:55 +0100 (MET) Received: from beaune.inria.fr (beaune.inria.fr [128.93.8.3]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id fBHFRs523120 for ; Mon, 17 Dec 2001 16:27:54 +0100 (MET) Received: by beaune.inria.fr (8.8.8/1.1.22.3/14Sep99-0328PM) id QAA0000009784; Mon, 17 Dec 2001 16:27:54 +0100 (MET) Date: Mon, 17 Dec 2001 16:27:54 +0100 (MET) From: Damien Doligez Message-Id: <200112171527.QAA0000009784@beaune.inria.fr> To: caml-list@inria.fr, jhw@wetware.com Subject: Re: [Caml-list] notes about ocaml-3.0.4 on mac os x 10.1 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi all, >From: j h woodyatt >I noticed a few things that might be of interest to people using Mac OS >X 10.1: > >+ You still have to ignore the build failures around labltk-- no >surprise there. I suppose there is a workaround for this if you're >willing to install XFree86, but I don't need one so I haven't looked for >it. All the other tools build and install fine. There must be some problem with the auto-config stuff because O'Caml is not supposed to try to build labltk if TCL/TK is not installed. >+ The opt.opt make target in ocaml-3.0.4 encounters a mysterious failure >with camlp4. If no one on the Caml team has seen it, I'll happily help >track it down. The mysterious failure is a stack overflow due to a recursive GC function and a rather small stack limit on Mac OS 10.1. You can get around this problem by raising the stack limit or by using a smaller minor heap (with OCAMLRUNPARAM), but you'll just encounter the next problem: out-of-range relocations in the native code (same problem as AIX). We don't have a solution yet, so you should just skip the "make opt.opt" step. Anyway, here are the notes I took when building 3.04 on Mac OS 10.1: ----------------- Objective Caml 3.04 was tested on a PowerMac G3 under Mac OS 10.1 with the following software installed. It should work without problem even if you haven't installed these packages, but in that case you will not have the graphics library nor the labltk library. - fink 0.3.1 (package manager) - tcl installed via fink - XFree 4.1 - XDarwin 1.0a3 - OroborOSX 0.75 alpha3 To compile Objective Caml 3.04, follow the instructions in file INSTALL. The following notes refer to the steps described in that file. configure: To get labltk, you need to run ./configure with these options: ./configure -tkdefs -I/sw/include -tklibs -L/sw/lib make world: do not worry about all the error messages in interp.c make bootstrap: no comment make opt: no comment make opt.opt: This step is optional and it does not work (yet) on Mac OS 10. You should just skip it. -- Damien ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr