From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by sympa.inria.fr (Postfix) with ESMTPS id BF3B77ED33 for ; Wed, 20 Jun 2012 18:45:48 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EALP94U+uedqy/2dsb2JhbABFtU+BB4IYAQEEATo/BQsLRlcGhiSBdQW5VosuhTtgA4hGkjqKK4J/gT8 X-IronPort-AV: E=Sophos;i="4.77,445,1336341600"; d="scan'208";a="148270412" Received: from pse.psellos.com ([174.121.218.178]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 20 Jun 2012 18:45:38 +0200 Received: from [192.168.0.100] (c-67-168-129-50.hsd1.wa.comcast.net [67.168.129.50]) (authenticated bits=0) by pse.psellos.com (8.13.8/8.13.8) with ESMTP id q5KGjO4L024207 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 20 Jun 2012 11:45:30 -0500 Mime-Version: 1.0 (Apple Message framework v1280) Content-Type: text/plain; charset=us-ascii From: Jeffrey Scofield In-Reply-To: <20120620074533.GA5827@annexia.org> Date: Wed, 20 Jun 2012 09:45:24 -0700 Cc: Jeffrey Scofield , Caml List Content-Transfer-Encoding: 7bit Message-Id: <9BD38C00-4929-40A6-B13E-AC5403F998D8@psellos.com> References: <20120620074533.GA5827@annexia.org> To: "Richard W.M. Jones" X-Mailer: Apple Mail (2.1280) X-Validation-by: jeffsco@psellos.com Subject: Re: [Caml-list] OCaml on Amazon EC2 Instance Hi Rich, > I'm not clear what "Amazon Linux" is, but RHEL 5 and up and all > derivatives should have an 'ocaml' package in the base distribution, > and a small collection of libraries. In RHEL 6 (and forthcoming > RHEL 7) they are all in the "Optional" channel. When I create a new EC2 instance, I get a menu of machine image options. I've been taking the top one because it's marked as fitting inside the "Free Tier": Amazon Linux AMI 2012.03 The Amazon Linux AMI 2012.03 is an EBS-backed, PV-GRUB image. It includes Linux 3.2, AWS tools, and repository access to multiple versions of MySQL, PostgreSQL, Python, Ruby, and Tomcat. Root Device Size: 8 GB So, this is what I mean by "Amazon Linux". Other than what it says above I don't know what it is, either. As far as I can see, there's no OCaml package in its default repositories. However, it also includes configuration info for EPEL 6, disabled by default. I enabled the EPEL repository and was really hoping OCaml would be in there. There are quite a few OCaml libraries in the EPEL repository, but OCaml itself isn't there. I don't really know anything about EPEL, but I thought maybe there was an additional repository I could add to get OCaml support. It seems tantalizingly close to working. While googling I read about the Optional channel of Red Hat. As far as I can determine, this is part of RHN, a subscriber service. Is this right? It would definitely be worth some money to get good OCaml support on Linux, but at the moment I'm just running some cloud computing feasibility studies and am looking to go on the cheap side. At any rate, the trick may be to choose a machine image from further down the list! (I did get OCaml working by using packages from CentOS 6.2, as I wrote in another message.) Thanks for the help. Jeffrey