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 mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id EAE347F611 for ; Thu, 12 May 2016 08:32:25 +0200 (CEST) IronPort-PHdr: 9a23:zxmnzRxYe+w88LvXCy+O+j09IxM/srCxBDY+r6Qd0eIfIJqq85mqBkHD//Il1AaPBtWKrasUwLuO+4nbGkU+or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6anHS+4HYoFwnlMkItf6KuSt+U1pT8hrj60qaQSjsLrQL1Wal1IhSyoFeZnegtqqwmFJwMzADUqGBDYeVcyDAgD1uSmxHh+pX4p8Y7oGwD884moudGXb/3YOwDTb0dDCsve0s16cuj4RDFQRGC+WADemoTmxtMRQPC6Ue+Fpz4ty+/sutmxAGbO9f3RPY6Q2eM9aBuHVX2kiAbPiQktmTbosN1haNf5hmmolY3l5DOZ52cLuc4e6/1ctYTRG4HVcFUAX8SSrigZpcCWrJSdd1TqJPw8gMD Authentication-Results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=vrotaru.md@gmail.com; spf=Pass smtp.mailfrom=vrotaru.md@gmail.com; spf=None smtp.helo=postmaster@mail-lf0-f48.google.com Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of vrotaru.md@gmail.com) identity=pra; client-ip=209.85.215.48; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="vrotaru.md@gmail.com"; x-sender="vrotaru.md@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of vrotaru.md@gmail.com designates 209.85.215.48 as permitted sender) identity=mailfrom; client-ip=209.85.215.48; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="vrotaru.md@gmail.com"; x-sender="vrotaru.md@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-lf0-f48.google.com) identity=helo; client-ip=209.85.215.48; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="vrotaru.md@gmail.com"; x-sender="postmaster@mail-lf0-f48.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0BgBQDAIjRXjzDXVdFeg1Y3faV2gRqHdIVWhQWBNkAahXoCgTM5EwEBAQEBAQEBEQEBAQEHCwsJIS+CLYIWAQEDARIRHQEbHgMBCwYDAgs3AgIhAQERAQUBHAYBEggah3IBAw8IjRGPQoExPjGLO4FqgliHRwoZJw1Sg1EBAQEHAQEBAQEVAQUKBYUZeIRMgkOEfIJZAQSXdjEBhX2GJ4F5gWlOhAGIYYdchicwgQ4iAoI2HoFVPDKIMQEBAQ X-IPAS-Result: A0BgBQDAIjRXjzDXVdFeg1Y3faV2gRqHdIVWhQWBNkAahXoCgTM5EwEBAQEBAQEBEQEBAQEHCwsJIS+CLYIWAQEDARIRHQEbHgMBCwYDAgs3AgIhAQERAQUBHAYBEggah3IBAw8IjRGPQoExPjGLO4FqgliHRwoZJw1Sg1EBAQEHAQEBAQEVAQUKBYUZeIRMgkOEfIJZAQSXdjEBhX2GJ4F5gWlOhAGIYYdchicwgQ4iAoI2HoFVPDKIMQEBAQ X-IronPort-AV: E=Sophos;i="5.24,609,1454972400"; d="scan'208,217";a="217953625" Received: from mail-lf0-f48.google.com ([209.85.215.48]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/AES128-GCM-SHA256; 12 May 2016 08:32:04 +0200 Received: by mail-lf0-f48.google.com with SMTP id j8so66017014lfd.2 for ; Wed, 11 May 2016 23:32:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=x7UbbxM9XpG1BZF/x5+QN4On2SXiK1e4bfmxX6TkO2s=; b=MZzz2DRyx1kZWiepYie8nPUJuUgtRN+rmHNGhvLeLPyvub8DIwTLex3xPHFcU5umSy eTYxrGLSscRDjthZjR/GbinCmuE8RvN3lJrRzPA3tUJGC/tVeZa2S0UgqlduGZS393Ev I341/0RURQdEdyQcTUXi2tSfZm2Gw2YHG8rcHwm5wi4j/iFi1V2XvpVKpmgq4oYxDXgq qXsHwdkKOMUBSvrm9vDj5DaJN4UsbUGrg/SsWL82u67iPWAOrMVBZbJtNN1KA2aBHZdE BMR6HxNfk09NHJoFUvG9b/eFku3rKIJ3e6wkWVBOyadXpSDeKd2Obq6euupdnciaoqUe iC4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=x7UbbxM9XpG1BZF/x5+QN4On2SXiK1e4bfmxX6TkO2s=; b=STg6e7QlOdIRUXtZp4dAfZVFNsBxIKd3tGFBt7n7sQa45Wu2CNIEo0f1H2rGVK2MRA obZp6pspRZZcXZqN499HgFzb6iCh6suqyKseX2syCzjq5HsnFXC2QqHtxiF8b3To6BE0 NdzhH0snONqfHcBFz9mRxj4rjBYKrHqwOg0jtIv++/o4eD0zHj4DglLnmg9tdw/vZ7Ny IfGvnltJnwTQFniOaKMEey3C4Op6oWP6bHceHEdcKqddWuLPIMb8z4tERlJ02f1OoKzA KbPxxLjRblAQ7cvZragDfGhCU67vcX0bamrHzhq08jBvNoAtuvJsynYXGwk6KuQQJQwP NnbQ== X-Gm-Message-State: AOPr4FVqxZ8Qf2TfgdKHhfqtGbM0E3D5NZNOyOoPcwL/6hYyiScUdZv4VevbSyzGabkSwFGBoPaYiUTkTfvkcg== X-Received: by 10.25.155.195 with SMTP id d186mr3196060lfe.141.1463034724102; Wed, 11 May 2016 23:32:04 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "vrotaru.md@gmail.com" Date: Thu, 12 May 2016 06:31:54 +0000 Message-ID: To: Andrew Shi-hwa Chen , caml-list@inria.fr Content-Type: multipart/alternative; boundary=001a114020ea063a5405329f5167 Subject: Re: [Caml-list] ocaml-top on 4.03.0 ? --001a114020ea063a5405329f5167 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sorry to disappoint you, but there is no multicore support in OCaml, yet. At least, in a form which which is suitable for beginners. (Cause you can span a thread from C, or use a very-very devel branch which supports it) As for ocaml-top you either switch to a version where it compiles (4.02.3) or wait until ocp-index get fixed. =C3=8En joi, 12 mai 2016 la 02:19, Andrew Shi-hwa Chen = a scris: > I'm new to OCaml and trying to get started by getting ocaml-top installed. > > I really want to use 4.03.0 because I really want to have all my > experience with OCaml be with multicore OCaml (I had a list of criteria > that I was looking for in my next language, and OCaml was almost perfect > until multicore support came along - when it came along, that made it > perfect and worth overcoming the inertia of trying to switch from my > current language of daily use). > > Unfortunately, ocaml-top has ocp-indent as a dependency, and when I try to > install ocp-indent, I get the following error. If this is due to a known > issue, let me know and I'll wait for a fix. If this is due to some issue > with my build environment, please direct me to appropriate resources for > figuring out how to remedy this problem. > > Furthermore, if there are good resources or tips for helping to determine > when a problem is a build environment issue as opposed to an issue with an > existing package that just needs to be updated, please let me know what > they are. > > Thanks, > Andrew > > > > #=3D=3D=3D ERROR while installing ocp-index.1.1.4 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D# > # opam-version 1.2.2 > # os darwin > # command make > # path /Users/chenan/.opam/4.03.0/build/ocp-index.1.1.4 > # compiler 4.03.0 > # exit-code 2 > # env-file > /Users/chenan/.opam/4.03.0/build/ocp-index.1.1.4/ocp-index-13029-a00279.e= nv > # stdout-file > /Users/chenan/.opam/4.03.0/build/ocp-index.1.1.4/ocp-index-13029-a00279.o= ut > # stderr-file > /Users/chenan/.opam/4.03.0/build/ocp-index.1.1.4/ocp-index-13029-a00279.e= rr > ### stdout ### > # ocp-build -init > # ocp-build ocp-index-lib > ### stderr ### > # [...] > # [33.1] '/Users/chenan/.opam/4.03.0/bin/ocamlc.opt' '-g' '-w' > '+1..39-4-9-37-40' '-safe-string' '-bin-annot' '-c' '-o' > '_obuild/7ee5d0cd3cfec6c5ba81000630d4c060/indexOut.cmo' '-I' > './_obuild/ocp-index-lib' '-I' './src' '-I' > '/Users/chenan/.opam/4.03.0/lib/ocp-indent/utils' '-I' > '/Users/chenan/.opam/4.03.0/lib/ocaml/compiler-libs' '-I' > '/Users/chenan/.opam/4.03.0/lib/ocp-indent/lexer' 'src/indexOut.ml' > # > # File "src/indexOut.ml", line 184, characters 17-25: > # Error: This pattern matches values of type 'a * 'b * 'c > # but a pattern was expected which matches values of type > # Outcometree.out_val_decl > # > # Error: > # Target _obuild/ocp-index-lib/indexOut.cmo not built > # make: *** [ocp-index-lib] Error 2 > > --001a114020ea063a5405329f5167 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Sorry to disappoint you, but there is no multicore support= in OCaml, yet.
At least, in a form which which is suitable for beginne= rs. (Cause you can span a thread from C, or use a very-very devel branch wh= ich supports it)

As for ocaml-top you either switc= h to a version where it compiles (4.02.3) or wait until ocp-index get fixed= .


=C3=8En joi, 12 mai 2016 la 02:19, Andrew Shi-hwa Chen <andrewsw@gmail.com> a scris:
I'm new to OCam= l and trying to get started by getting ocaml-top installed.

I really want to use 4.03.0 because I really want to have all my experie= nce with OCaml be with multicore OCaml (I had a list of criteria that I was= looking for in my next language, and OCaml was almost perfect until multic= ore support came along - when it came along, that made it perfect and worth= overcoming the inertia of trying to switch from my current language of dai= ly use).

Unfortunately, ocaml-top has ocp-indent as= a dependency, and when I try to install ocp-indent, I get the following er= ror. If this is due to a known issue, let me know and I'll wait for a f= ix. If this is due to some issue with my build environment, please direct m= e to appropriate resources for figuring out how to remedy this problem.
=
Furthermore, if there are good resources or tips for helping= to determine when a problem is a build environment issue as opposed to an = issue with an existing package that just needs to be updated, please let me= know what they are.

Thanks,
Andrew


#=3D=3D=3D ERROR while installing ocp-index.1.1.4 =3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D#
# opam-version 1.2.2
# os=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 darwin
# command=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 make
# path=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 /Users/chenan/.opam/4.03.0/build/ocp-index.1.1.4
# compiler=C2=A0= =C2=A0=C2=A0=C2=A0 4.03.0
# exit-code=C2=A0=C2=A0=C2=A0 2
# env-file= =C2=A0=C2=A0=C2=A0=C2=A0 /Users/chenan/.opam/4.03.0/build/ocp-index.1.1.4/o= cp-index-13029-a00279.env
# stdout-file=C2=A0 /Users/chenan/.opam/4.03.0= /build/ocp-index.1.1.4/ocp-index-13029-a00279.out
# stderr-file=C2=A0 /U= sers/chenan/.opam/4.03.0/build/ocp-index.1.1.4/ocp-index-13029-a00279.err### stdout ###
# ocp-build -init
# ocp-build ocp-index-lib
###= stderr ###
# [...]
# [33.1] '/Users/chenan/.opam/4.03.0/bin/ocam= lc.opt' '-g' '-w' '+1..39-4-9-37-40' '-safe= -string' '-bin-annot' '-c' '-o' '_obuild/7e= e5d0cd3cfec6c5ba81000630d4c060/indexOut.cmo' '-I' './_obuil= d/ocp-index-lib' '-I' './src' '-I' '/Users/= chenan/.opam/4.03.0/lib/ocp-indent/utils' '-I' '/Users/chen= an/.opam/4.03.0/lib/ocaml/compiler-libs' '-I' '/Users/chena= n/.opam/4.03.0/lib/ocp-indent/lexer' 'src/indexOut.ml'
# # File "src/indexOut.ml", line 184, characters 17-25:
# Error= : This pattern matches values of type 'a * 'b * 'c
#=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 but a pattern was expected which match= es values of type
#=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 Outcometree.out_val_decl
#
# Error:
# Target _obuild/ocp-inde= x-lib/indexOut.cmo not built
# make: *** [ocp-index-lib] Error 2

=
--001a114020ea063a5405329f5167--