[
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: | Jacques Garrigue <garrigue@k...> |
| Subject: | Re: [Caml-list] compile problem |
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