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
[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: 2002-06-13 (07:12)
From: Jacques Garrigue <garrigue@k...>
Subject: Re: [Caml-list] compile problem
From: dengping zhu <>

> I wrote a file name, which included some syntax of camlp4. 
> When I use the command:
>    ocamlc -pp "camlp4o pa_extend.cmo q_MLast.cmo" -I +camlp4 -c
> 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 Archives:
Bug reports: FAQ:
Beginner's list: