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 TAA15216; Wed, 20 Feb 2002 19:48:35 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 TAA16772 for ; Wed, 20 Feb 2002 19:48:34 +0100 (MET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g1KImVH26467; Wed, 20 Feb 2002 19:48:31 +0100 (MET) Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id TAA06854; Wed, 20 Feb 2002 19:48:30 +0100 (MET) Date: Wed, 20 Feb 2002 19:48:30 +0100 From: Xavier Leroy To: David Guaspari Cc: "'Dmitry Bely'" , caml-list@inria.fr Subject: Re: [Caml-list] Trouble building ocaml3.04 Message-ID: <20020220194830.C16383@pauillac.inria.fr> References: <60D45469A1AAD311A04C009027B6BF683FF80D@server20.inside.oracorp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <60D45469A1AAD311A04C009027B6BF683FF80D@server20.inside.oracorp.com>; from davidg@oracorp.com on Wed, Feb 20, 2002 at 01:34:36PM -0500 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > ../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