Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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 <>
>>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 Archives:
Bug reports: FAQ:
Beginner's list: