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-14 (15:05)
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.


On Thu, 13 Jun 2002, Jacques Garrigue wrote:

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