From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA21077; Fri, 14 Jun 2002 17:05:38 +0200 (MET DST) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA20945 for ; Fri, 14 Jun 2002 17:05:37 +0200 (MET DST) Received: from cs.bu.edu (cs.bu.edu [128.197.12.2]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g5EF5aP18982 for ; Fri, 14 Jun 2002 17:05:36 +0200 (MET DST) Received: from csa.bu.edu (zhudp@csa [128.197.12.3]) by cs.bu.edu (8.12.2/8.12.2) with ESMTP id g5EF5YF2000174; Fri, 14 Jun 2002 11:05:34 -0400 (EDT) Received: from localhost (zhudp@localhost) by csa.bu.edu (8.10.1/8.10.1) with ESMTP id g5EF5VR20278; Fri, 14 Jun 2002 11:05:31 -0400 (EDT) X-Authentication-Warning: csa.bu.edu: zhudp owned process doing -bs Date: Fri, 14 Jun 2002 11:05:31 -0400 (EDT) From: dengping zhu X-Sender: zhudp@csa.bu.edu To: Jacques Garrigue cc: caml-list@inria.fr Subject: Re: [Caml-list] compile problem In-Reply-To: <20020613114534L.garrigue@kurims.kyoto-u.ac.jp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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 > >> 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