Version française
Home     About     Download     Resources     Contact us    
Browse thread
RE: [Caml-list] Trouble building ocaml3.04
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: David Guaspari <davidg@o...>
Subject: RE: [Caml-list] Trouble building ocaml3.04
A reasonable suggestion, but eliminating the space in the path name didn't
help. 
I get the same error message at same spot, except that the next-to-last line
now becomes:

	make[1]: Leaving directory `/cygdrive/c/ocaml-3.04/debugger'

(And, now that I think of it, if that space had been the problem, the make
would presumably have failed earlier.)

I have successfully run "make world" on two of my colleagues' PCs.  I copied
onto my PC the directories created on one of those machines by "make world"
and tested the result with "make bootstrap."  It failed at precisely the
same point

    ../boot/ocamlrun ../ocamlc -I ../boot -linkall -I ../otherlibs/unix -o 
        ocamldebug.exe <object files>

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

The machines on which "make world" succeeded do not (at least not now)
contain files or directories called FilesObjective or Camllib.

Any other ideas?

-----Original Message-----
From: Dmitry Bely [mailto:dbely@mail.ru] 
Sent: Wednesday, February 20, 2002 3:43 AM
To: caml-list@inria.fr
Subject: Re: [Caml-list] Trouble building ocaml3.04


David Guaspari <davidg@oracorp.com> writes:

> I am trying to build ocaml3.04 under cygwin.  Step 1, invoking 
> "configure", finishes without complaint.  Step 2, "make world", fails 
> while trying to compile the debugger.  Within the debugger 
> subdirectory, it is executing (in the local Makefile) the command to 
> make ocamldebug.exe (having successfully compiled everything on which 
> it depends), namely
> 
> 	../boot/ocamlrun ../ocamlc -I ../boot -linkall -I ../otherlibs/unix
> -o                      ocamldebug.exe  <long list of .cmo files omitted >
> 
> and this fails with the 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
> 	make[1]: *** [ocamldebug.exe] Error 2
> 	make[1]: Leaving directory `/cygdrive/c/Program 
> Files/ocaml-3.04/debugger'
> 	make: *** [ocamldebugger] Error 2
> 
> Can anyone help?  (I have succeeded in building ocaml on another PC 
> that is configured almost identically.)

You have unpacked Ocaml to the directory whose name contains spaces
("c:\Program Files\ocaml-3.04"). Don't do that!

Hope to hear from you soon,
Dmitry


-------------------
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
-------------------
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