From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p3L5w7f3032398 for ; Thu, 21 Apr 2011 07:58:07 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkwCANfGr03RVaE2kGdsb2JhbACEUJMvjUMIFAEBAQEJCQ0HFAQhiG+iHYo4PIIlhQEziF4BAQMGgSODUH0EhW6INoUDgmKCHjo X-IronPort-AV: E=Sophos;i="4.64,249,1301868000"; d="scan'208";a="106375583" Received: from mail-fx0-f54.google.com ([209.85.161.54]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 21 Apr 2011 07:58:02 +0200 Received: by fxm11 with SMTP id 11so1745665fxm.27 for ; Wed, 20 Apr 2011 22:58:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:subject:message-id:in-reply-to :references:x-mailer:mime-version:content-type :content-transfer-encoding; bh=Q3NHJIuHYHeHMmI6HBVsbSYqvyWbEotioK6UFCSNn74=; b=T2ZLT1q5n/3vOTIBuv83nAO7LuvFRoYBoRIZLnHe8amoHXilG/7Wcfmn4GSABGfBtK ss0QQ5tZ9mWjA5xuJcAUCjPf5AQvAumI2lIFxIml2FhwHWVzDy7m0YH5Qf9nLNntRdLj z7EgdxMJN/0obsajIc/7JAQEVstlZqh5bci20= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=okEHzCrMEvDzMKvmwZ94LCWXJVFlQODu2xtG8K22ZJUd/236eQz2C3smPi4HajfSHP qM4ewNjj3Tyn6Kq0JAKlMbpCicz4iRyzF5LLhl+o0MzON65/a+aP7PNJFeuvVSD3VEuP sm0/+9sAtFK+3ZXau+UQw99c5NQmsIRpvIDMk= Received: by 10.223.43.197 with SMTP id x5mr2903642fae.27.1303365481947; Wed, 20 Apr 2011 22:58:01 -0700 (PDT) Received: from lemon.local.tld (18-16-133-95.pool.ukrtel.net [95.133.16.18]) by mx.google.com with ESMTPS id c21sm486171fac.46.2011.04.20.22.58.00 (version=SSLv3 cipher=OTHER); Wed, 20 Apr 2011 22:58:00 -0700 (PDT) Date: Thu, 21 Apr 2011 08:58:21 +0300 From: ygrek To: caml-list@inria.fr Message-Id: <20110421085821.4ae01de4.ygrekheretix@gmail.com> In-Reply-To: References: X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [Caml-list] oasis & macosx On Wed, 20 Apr 2011 13:36:45 -0300 Andrei Formiga wrote: > On Wed, Apr 20, 2011 at 1:12 PM, Daniel Bünzli > wrote: > > > > Anyway, taking the source and following the steps under the Installing > > section of INSTALL.txt fails (cf. the end of this email). > > > > I expected oasis to be able to bootstrap itself based on the ocaml > > toolchain (at least IIRC that's what Sylvain advertised during his > > talk at the meeting). > > > > If I first need to install manually all what is listed in the > > Dependency section, it's going to be rather painful. Currently yes - in order to use OASIS (the program) as a developer you need a handful of dependencies. But Sylvain was working on oasis bundling - i.e. enabling oasis-powered packages to be distributed in a single bundle with all the deps, and once this goal is reached OASIS the program will be distributed as a bundle too. Note that in order to use OASIS (the build system) as a consumer of an existing package no dependencies (except those of the package itself) are required - ocaml setup.ml drives everything. I for one want to see OASIS widely used primarily as a way to achieve portability of build systems for ocaml libraries. It is rather ridiculous to see ocaml libraries (written in portable language) not installable out of the box on windows or bsd just because the author used some dubious bash tricks or relied on external binaries (with some specific cmdline flags handling). Also simple C binding libs get build system right out of the box (and these proved to be a problem for a newbies in the past). > > Btw. it is unclear from the documentation how and where oasis installs > > packages. > > > > I believe it is based on the path returned by ocamlc -where OASIS uses findlib to install. So the path is `ocamlfind printconf destdir` -- ygrek http://ygrek.org.ua