From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: weis Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id SAA07082 for caml-redistribution@pauillac.inria.fr; Mon, 15 Nov 1999 18:14:46 +0100 (MET) Resent-Message-Id: <199911151714.SAA07082@pauillac.inria.fr> Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id KAA04192 for ; Mon, 15 Nov 1999 10:20:16 +0100 (MET) Received: from ruby (pm1-8.triode.net.au [203.63.235.24]) by nez-perce.inria.fr (8.8.7/8.8.7) with ESMTP id KAA17570 for ; Mon, 15 Nov 1999 10:20:11 +0100 (MET) Received: from maxtal.com.au (IDENT:root@localhost [127.0.0.1]) by ruby (8.9.3/8.9.3) with ESMTP id AAA17790; Tue, 16 Nov 1999 00:17:07 +1100 Sender: root@ruby Message-ID: <383007D3.86119CF2@maxtal.com.au> Date: Tue, 16 Nov 1999 00:17:07 +1100 From: skaller Organization: Maxtal X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.12 i586) X-Accept-Language: en MIME-Version: 1.0 To: Fabien FLEUTOT CC: caml-list@inria.fr Subject: Re: Install problem References: <382C6E80.7E4E6A31@esiee.fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Resent-From: weis@pauillac.inria.fr Resent-Date: Mon, 15 Nov 1999 18:14:46 +0100 Resent-To: caml-redistribution@pauillac.inria.fr Fabien FLEUTOT wrote: > > I made an unofficial install of ocaml on my user account (no way to get > it installed by root...) Is there a way to force ocamlc to put > '#!/user/fleutotf/pub/ocaml/bin/ocamlrun' as a first line in the > executables it generates instead of '#!/usr/local/bin/ocamlrun' ? I'm no expert, but I'm told this is the wrong way to do it and that the correct technique is: #!/usr/bin/env ocamlc since this finds the relevant version of ocamlc from your PATH. -- John Skaller, mailto:skaller@maxtal.com.au 1/10 Toxteth Rd Glebe NSW 2037 Australia homepage: http://www.maxtal.com.au/~skaller downloads: http://www.triode.net.au/~skaller