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 QAA05601; Sat, 6 Jul 2002 16:21:42 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id QAA05468 for caml-list@pauillac.inria.fr; Sat, 6 Jul 2002 16:21:42 +0200 (MET DST) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id FAA32693 for ; Sat, 6 Jul 2002 05:25:13 +0200 (MET DST) Received: from day.its.uiowa.edu (day.its.uiowa.edu [128.255.56.107]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g663PCf14936 for ; Sat, 6 Jul 2002 05:25:12 +0200 (MET DST) Received: from uiowa.edu (host38-92.uihc.uiowa.edu [129.255.38.92]) by day.its.uiowa.edu (8.11.6/8.11.6/ns-mx-1.14) with ESMTP id g663P9511972 for ; Fri, 5 Jul 2002 22:25:10 -0500 Message-ID: <3D266315.60309@uiowa.edu> Date: Fri, 05 Jul 2002 22:25:09 -0500 From: Brian Smith User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1a) Gecko/20020611 X-Accept-Language: en-us, en MIME-Version: 1.0 To: OCaml Mailing list Subject: [Caml-list] Suggestions for Building OCaml from CVS With MS VC++ 6.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Here are some notes that people might find helpful if they get stuck during building ocaml from sources (e.g. from CVS): 1. The README.win32 says you should only have to modify the config/Makefile in two places (TK_ROOT and PREFIX). But, I actually had to modify a third line so that the MS linker could find the tcl/tk libraries: BEFORE: TK_LINK=tk83.lib tcl83.lib AFTER : TK_LINK=$(TK_ROOT)/lib/tk83.lib $(TK_ROOT)/lib/tcl83.lib 2. If you have cygwin and ActiveState Perl installed on your computer, with both of them in the path, cygwin must be ahead of ActiveState Perl on the path or the build will fail during "make -f Makefile.nt world". Apparently this is due to the fact that both distributions have a script called "head". You can see if this is a problem by typing "which head"; you should get "/usr/bin/head", not "/cygdrive/c/.../ACTIVE~1/Perl/bin/head". 3. If (when) the build fails during "make -f Makefile.nt opt", the error message will be something like "cannot find program 'ml'". It is easy to trick yourself into thinking that "ml" is supposed to be some kind of bootstrapping (oca)ml program or script that failed to get built. Actually, this is ml.exe from the MASM distribution that you have to download to build ocaml. This error message indicates that you don't have %MASM_ROOT%/bin/win98 in your path (where %MASM_ROOT% represents the folder that masm is installed in). I hope somebody finds these notes helpful. Best wishes, Brian ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners