caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Derek Schutt <derek.schutt@colostate.edu>
To: Andrew Psaltis <ampsaltis@gmail.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] build problem with 3.12.0; no ocamlrun in /usr/local/bin
Date: Mon, 27 Jun 2011 15:24:27 -0600	[thread overview]
Message-ID: <4E08F50B.8030308@colostate.edu> (raw)
In-Reply-To: <4E08ED5B.4070103@gmail.com>

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
>

  reply	other threads:[~2011-06-27 21:24 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-27 20:39 derek.schutt
2011-06-27 20:51 ` Andrew Psaltis
2011-06-27 21:24   ` Derek Schutt [this message]
2011-06-28  4:47 ` Mihamina Rakotomandimby
2011-06-28  7:58   ` Fabrice Le Fessant
2011-06-28 12:17     ` [Caml-list] beginners or not (Was: build problem with 3.12.0; no ocamlrun in /usr/local/bin) Mihamina Rakotomandimby
2011-06-28 12:30       ` Philippe Wang
2011-06-28 12:35         ` Gabriel Scherer
2011-06-28 13:38           ` Mihamina Rakotomandimby
2011-06-28 13:47             ` Edgar Friendly
2011-06-28 13:41           ` Philippe Wang
2011-06-28 13:53             ` Paolo Donadeo
2011-06-28 19:39               ` Martin Jambon
2011-06-29  8:58                 ` Dario Teixeira
2011-06-28 12:40       ` Mehdi Dogguy
2011-06-28 12:59         ` Wojciech Meyer
2011-06-28 13:04         ` Christophe Raffalli
2011-06-28 13:25         ` [Caml-list] beginners or not Matteo Frigo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E08F50B.8030308@colostate.edu \
    --to=derek.schutt@colostate.edu \
    --cc=ampsaltis@gmail.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).