Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] compile problem
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: dengping zhu <zhudp@c...>
Subject: [Caml-list] compile problem
Hi, all, 
I wrote a file name foo.ml, which included some syntax of camlp4. 
When I use the command:

   ocamlc -pp "camlp4o pa_extend.cmo q_MLast.cmo" -I +camlp4 -c foo.ml

I got the following error message:
   sh: camlp4o: execute permission denied
   Preprocessing error

I run the command under my home directory. I am not the 'root'. Does it
mean that only the user 'root' can execute this command? But, on the other
hand, when I enter the ocaml mode, I can do as follows:

# #load "camlp4.cma";;
# #load "pa_extend.cmo";;
# #load "q_MLast.cmo";;
# #use "foo.ml";;

Can somebody tell me the reason?
Thanks a lot!

Dengping



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