Version française
Home     About     Download     Resources     Contact us    
Browse thread
Re: [Caml-list] New to the list and already a (silly ?) question Š
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Damien Doligez <damien.doligez@i...>
Subject: Re: [Caml-list] New to the list and already a (silly ?) question Š
>From: Corentin Herbert <coco85@wanadoo.fr>
>
>>cd lib; make CPP=3D"/usr/bin/cpp -P -Dunix" all
>>../camlrun ../camlcomp -stdlib . -O none -g -W arg.mli
>>Fatal error: the file ../camlcomp is not a bytecode executable file
>>make[1]: *** [arg.zi] Error 2
>>make: *** [world] Error 2

My guess is that you let "Stuffit Expander" extract the files from the
archive.  This is wrong because Stuffit Expander treats all files as
text files, and changes the end-of-line characters accordingly.  This
treatment corrupts the "camlcomp" and "camllex" byte-code files.

You need to start from the "cl74unix.tar.gz" file and decompress it
from the command line (in a terminal window) with the command:
"tar -zxvf cl74unix.tar.gz".

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