From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p5RLOtHv013720 for ; Mon, 27 Jun 2011 23:24:55 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArICAN70CE6BUnAygWdsb2JhbABShEmjAQEBFiYluAmIGoh6gSuDeYEMBIcsmxE X-IronPort-AV: E=Sophos;i="4.65,434,1304287200"; d="scan'208";a="102086493" Received: from mochila.cnr.colostate.edu (HELO mail.cnr.colostate.edu) ([129.82.112.50]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 27 Jun 2011 23:24:33 +0200 Received: from manitou.warnercnr.colostate.edu (manitou [129.82.112.74]) (authenticated bits=0) by mail.cnr.colostate.edu (8.14.3/8.14.3) with ESMTP id p5RLORvf027296 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 27 Jun 2011 15:24:29 -0600 Message-ID: <4E08F50B.8030308@colostate.edu> Date: Mon, 27 Jun 2011 15:24:27 -0600 From: Derek Schutt Reply-To: derek.schutt@colostate.edu Organization: Colorado State University User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Thunderbird/3.1.10 MIME-Version: 1.0 To: Andrew Psaltis CC: caml-list@inria.fr References: <4E08ED5B.4070103@gmail.com> In-Reply-To: <4E08ED5B.4070103@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Caml-list] build problem with 3.12.0; no ocamlrun in /usr/local/bin Thanks Andrew, that is good to know. I had looked on the ocaml web page, but didn't think to look in the usual repositories. Incidentally, with the kind help of Matthieu Dubuget, my problem has been solved. It was rather embarassing: I forgot to do "make install". All is well. Thanks everyone! -Derek On 06/27/2011 02:51 PM, Andrew Psaltis wrote: > On 2011-06-27 16:39, derek.schutt@colostate.edu wrote: >> Hi, I'm a new user of ocaml, and having some difficulties that are probably due >> to my own ignorance. Namely, ocamlrun doesn't seem to get produced when I >> compile the code. >> >> I've downloaded and tried to compile ocaml 3.12.0 on a 64-bit linux system >> (Fedora 14, kernel 2.6.35.6-45.fc14.x86_64). make world and make bootstrap >> seem to work fine; here's the last bit of output from 'make bootstrap'. >> >> make compare >> make[1]: Entering directory `/usr/local/ocaml-3.12.0' >> Fixpoint reached, bootstrap succeeded. >> make[1]: Leaving directory `/usr/local/ocaml-3.12.0' >> >> However, if I type 'ocaml', I get this response: >> bash: /usr/local/bin/ocaml: /usr/local/bin/ocamlrun: bad interpreter: No such >> file or directory >> >> This is no surprise, because only ocaml and ocamlc are installed in >> /usr/local/bin. As far as I can tell, ocamlrun is never created, nor are many >> of the executable files listed in the INSTALL document, ocamlrun, ocamlyacc, >> ocamllex, etc. >> >> The output from 'configure' says these should be installed in /usr/local/bin: >> >> Directories where Objective Caml will be installed: >> binaries.................. /usr/local/bin >> standard library.......... /usr/local/lib/ocaml >> manual pages.............. /usr/local/man (with extension .1) >> >> Can anyone help me? I have to say I can't quite figure out what to try next. >> Thanks for your help. >> > If you just want to skip compiling ocaml, you can install ocaml from the > Fedora repositories. A simple > > yum install ocaml > > as root should do it. There also are a large number of ocaml libraries > available in the repositories. Check them out with > > yum search ocaml > > ~Andrew >