Browse thread
[Caml-list] compile problem
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | dengping zhu <zhudp@c...> |
| Subject: | Re: [Caml-list] compile problem |
Thanks. After changing the permission, it works now. By the way, can somebody send a template of Makefile to me? I need to compile camlp4 and ocaml files together. Thanks, On Thu, 13 Jun 2002, Jacques Garrigue wrote: >From: dengping zhu <zhudp@cs.bu.edu> > >> 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? > >Looks like the answer is already in you message: what are the >permissions on the camlp4o executable? If you installed it as root >with a wrong umask, it might be executable only by root. Easy fix: >su root, and chmod +rx camlp4o. > >Jacques Garrigue > ------------------- 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