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 JAA21476; Thu, 13 Jun 2002 09:12:23 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 JAA21470 for ; Thu, 13 Jun 2002 09:12:22 +0200 (MET DST) Received: from kurims.kurims.kyoto-u.ac.jp (kurims.kurims.kyoto-u.ac.jp [130.54.16.1]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g5D7CK903830 for ; Thu, 13 Jun 2002 09:12:20 +0200 (MET DST) Received: from localhost (suiren.kurims.kyoto-u.ac.jp [130.54.16.25]) by kurims.kurims.kyoto-u.ac.jp (8.9.3/3.7W) with ESMTP id LAA27803; Thu, 13 Jun 2002 11:45:34 +0900 (JST) To: zhudp@cs.bu.edu Cc: caml-list@inria.fr Subject: Re: [Caml-list] compile problem In-Reply-To: References: X-Mailer: Mew version 1.94.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20020613114534L.garrigue@kurims.kyoto-u.ac.jp> Date: Thu, 13 Jun 2002 11:45:34 +0900 From: Jacques Garrigue X-Dispatcher: imput version 20000228(IM140) Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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