Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Using OcamlMakefile on Debian Woody
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Johann Spies <jhspies@a...>
Subject: [Caml-list] Using OcamlMakefile on Debian Woody
I am trying out OcamlMakefile and did not have any sucess at all so
far - even with the examples.

My system is Debian Woody with Ocaml 3.02. The following illustrates
my problem:

$locate OcamlMakefile
/usr/share/ocaml-tools/OcamlMakefile

$cat Makefile
OCAMLMAKEFILE = /usr/share/ocaml-tools/OcamlMakefile
SOURCES=paaiement3.ml
RESULT=paaiement3
#all: native-code
-include OCAMLMAKEFILE

$make
make: *** No targets specified and no makefile found.  Stop.

$ocamlopt paaiement3.ml -o paaiement3
$
-----------------------------------------
And with one of the examples:

$cd /usr/share/doc/ocaml-tools/examples.ocamlmake/calc
$make
camlidl -header  \
			 test.idl
make: camlidl: Command not found
make: *** [test.mli] Error 127
-----------------------------------------

Is there a bug in the installation or do I not understand the
instructions for the use of OcamlMakefile?

Regards

Johann Spies
-- 
J.H. Spies - Tel. 021-982 2694 / 082 782 0336 / 021-808 4036(w)  
             Posbus 4668, Tygervallei 7536
     "And we know that all things work together for good to 
      them that love God, to them who are the called  
      according to his purpose."            
                                   Romans 8:28 
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr