From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 42EDDBC57 for ; Mon, 1 Mar 2010 14:14:31 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgIDACtMi0tRZ90wkWdsb2JhbACbDxUBAQEBCQsKBxMDH7k5hHsE X-IronPort-AV: E=Sophos;i="4.49,560,1262559600"; d="scan'208";a="45686581" Received: from mtaout02-winn.ispmail.ntl.com ([81.103.221.48]) by mail2-smtp-roc.national.inria.fr with ESMTP; 01 Mar 2010 14:14:29 +0100 Received: from aamtaout04-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20100301131429.HNEB4474.mtaout02-winn.ispmail.ntl.com@aamtaout04-winn.ispmail.ntl.com>; Mon, 1 Mar 2010 13:14:29 +0000 Received: from romulus.metastack.com ([81.102.132.77]) by aamtaout04-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20100301131429.EQGH22934.aamtaout04-winn.ispmail.ntl.com@romulus.metastack.com>; Mon, 1 Mar 2010 13:14:29 +0000 Received: from Tenor ([212.183.140.34]) (authenticated bits=0) by romulus.metastack.com (8.14.2/8.14.2) with ESMTP id o21DDXQg017878 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 1 Mar 2010 13:13:37 GMT From: "David Allsopp" To: "'Marco Maggi'" , References: <877hpw9om6.fsf@rapitore.luna> In-Reply-To: <877hpw9om6.fsf@rapitore.luna> Subject: RE: [Caml-list] [newbie] miscellaneous on installation and web site Date: Mon, 1 Mar 2010 13:13:30 -0000 Message-ID: <001b01cab941$00c6c5c0$02545140$@romulus.metastack.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQJQdUD0mUaLnPHwhOXx4B3xd+IqQQH3EGp6 Content-Language: en-gb Organization: MetaStack Solutions Ltd. X-Scanned-By: MIMEDefang 2.65 on 81.102.132.77 X-Cloudmark-Analysis: v=1.1 cv=W3tOLUehizD4qj6VhtReFuw5MKb8d+XqjIxlDsIazEA= c=1 sm=0 a=6JkZVF_UMmsA:10 a=t0ZsSdnvAAAA:8 a=Kv0hFBD2UjvPYxN5zsUA:9 a=Hpc4jOceIJbMpwI_k7YA:7 a=DRCeiVnyCalpB73pA6oWh6OLPKUA:4 a=0kprdSZ7O3sA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 X-Spam: no; 0.00; o'caml:01 ocaml:01 beginners':01 ocaml-:01 destdir:01 ocaml:01 -prefix:01 distro:01 o'caml:01 bug:01 beginners:01 wrote:01 compile:01 caml-list:01 lazy:02 Marco Maggi wrote: > Ciao, > > I am a True Beginner taking a look at O'Caml; I hope not to be > abusing by posting here rather than the beginners list. Building OCaml from source is definitely not a beginners' question! :o) > I think I successfully compiled ocaml-3.11.2 on my > i686-pc-linux-gnu, but there seems to be no way to install the package > in a temporary location via the Linux de facto standard DESTDIR > environment variable; is there a way to do it? (I am used to build > custom packages.) I've not come across that way before (by which I mean "you learn a new thing every day"!), the more usual way, which will work with OCaml, is to specify a different root for the -prefix option when you run configure. make install will then install OCaml there. I used to use that when compiling uses OCaml on a machine for which I didn't have root and I used it just the other day to compile OCaml 3.12.0 on Maemo so the switch definitely works. All that said, what distro are you using? Debian and Fedora (and *BSD) all have native packages for OCaml. > The web site[1] is beautiful (no irony) but a lot of > informations look outdated, 4/5 years old; I see many O'Caml related > sites on the Net. Is there one that I can take as reference for the > latest news, for example about still maintained library packages? The Caml Hump I believe has up-to-date information as long as it's submitted. I'm quite lazy and tend only to look for updates to libraries I use when either I hit a bug or am installing on a new machine ... www.ocamlcore.org is a pretty good place to start, I think. David