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 VAA15564; Wed, 20 Feb 2002 21:10:39 +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 VAA17315 for ; Wed, 20 Feb 2002 21:10:38 +0100 (MET) Received: from oddjob.oracorp.com (oddjob.oracorp.com [192.76.175.10]) by nez-perce.inria.fr (8.11.1/8.11.1) with SMTP id g1KKAa520789 for ; Wed, 20 Feb 2002 21:10:37 +0100 (MET) Received: (qmail 28993 invoked by uid 1006); 20 Feb 2002 20:10:34 -0000 Received: from davidg@oracorp.com by oddjob with qmail-scanner-1.01 (uvscan: v4.1.40/v4186. . Clean. Processed in 0.086047 secs); 20 Feb 2002 20:10:34 -0000 Received: from server20.inside.oracorp.com (192.168.1.3) by 0 with SMTP; 20 Feb 2002 20:10:34 -0000 Received: by server20.inside.oracorp.com with Internet Mail Service (5.5.2653.19) id ; Wed, 20 Feb 2002 15:10:36 -0500 Message-ID: <60D45469A1AAD311A04C009027B6BF683FF80E@server20.inside.oracorp.com> From: David Guaspari To: "'Xavier Leroy'" Cc: "'Dmitry Bely'" , caml-list@inria.fr Subject: RE: [Caml-list] Trouble building ocaml3.04 Date: Wed, 20 Feb 2002 15:10:29 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Yes, thanks. That was the problem. (I had previously installed the "pure win32" version, and had done "uninstall" -- but those environment variables were still set to the wrong values.) At least, I think all problems are solved. I tried "make bootstrap" a few times and it didn't converge to a fixed point. I'll ignore that for now. -----Original Message----- From: Xavier Leroy [mailto:xavier.leroy@inria.fr] Sent: Wednesday, February 20, 2002 1:49 PM To: David Guaspari Cc: 'Dmitry Bely'; caml-list@inria.fr Subject: Re: [Caml-list] Trouble building ocaml3.04 > ../boot/ocamlrun ../ocamlc -I ../boot -linkall -I ../otherlibs/unix -o > ocamldebug.exe > > with precisely the same error message: > > gcc: FilesObjective: No such file or directory > gcc: Camllib: No such file or directory > gcc: FilesObjective: No such file or directory > gcc: Camllib: No such file or directory > Error while building custom runtime system One possibility is that you have the OCAMLLIB or CAMLLIB environment variable set to something like \Program Files\Objective Caml\lib, e.g. because of a previous installation of the "pure Win32" version of OCaml. Try to do unset OCAMLLIB unset CAMLLIB in the Bash shell before proceeding with the compilation. If it still doesn't work, try sticking a "-verbose" option in the offending command line: > ../boot/ocamlrun ../ocamlc -verbose -I ../boot -linkall \ > -I ../otherlibs/unix -o ocamldebug.exe This causes ocamlc to print the exact invocation of gcc -- very useful to track down problems like this. The current release of OCaml definitely mis-handles spaces in the path to the standard library directory, and also fails to ignore completely previous installations of OCaml while compiling itself. Damien Doligez has fixed the latter problem recently, and we promise to do something about the former before the next release. Keep us (caml@inria.fr) informed. - Xavier Leroy ------------------- 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