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 4137D820A1 for ; Wed, 21 Aug 2013 00:18:12 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of caseybasichis@gmail.com) identity=pra; client-ip=209.85.220.172; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="caseybasichis@gmail.com"; x-sender="caseybasichis@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of caseybasichis@gmail.com designates 209.85.220.172 as permitted sender) identity=mailfrom; client-ip=209.85.220.172; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="caseybasichis@gmail.com"; x-sender="caseybasichis@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-vc0-f172.google.com) identity=helo; client-ip=209.85.220.172; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="caseybasichis@gmail.com"; x-sender="postmaster@mail-vc0-f172.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgACAPbpE1LRVdysm2dsb2JhbABXAw6DLFGwc45ngR8IFg4BAQEBAQYLCwkUKIIkAQEEAScZARQHHQEDAQsGBQsDOCEBAREBBQEcBhOHfQEDCQYMln+MUIMChDgKGScNZIEWAQUMjVGCaBAHEYQDA4ktjE+BaYwug0MWKYJfgSRfHA X-IPAS-Result: AgACAPbpE1LRVdysm2dsb2JhbABXAw6DLFGwc45ngR8IFg4BAQEBAQYLCwkUKIIkAQEEAScZARQHHQEDAQsGBQsDOCEBAREBBQEcBhOHfQEDCQYMln+MUIMChDgKGScNZIEWAQUMjVGCaBAHEYQDA4ktjE+BaYwug0MWKYJfgSRfHA X-IronPort-AV: E=Sophos;i="4.89,923,1367964000"; d="scan'208";a="29890004" Received: from mail-vc0-f172.google.com ([209.85.220.172]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 21 Aug 2013 00:18:11 +0200 Received: by mail-vc0-f172.google.com with SMTP id m17so784171vca.3 for ; Tue, 20 Aug 2013 15:18:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Z93NufqwiKGGkjuYhkJFf1t2doOQgP6/FmyB6+xWILU=; b=O7FqAXUJo0roy/PwLZu/+K1+0AAVJfUBXaV7pZoZiwIntbQQpsZ64FUCEDjwsowLDo gmToIFuspFj4YJsjD3jR4J07iA+ZeuKGeVXvYvDyY3Ng0FrGwd07GCxOaECZhXh3C4Nh AvPUPyLOWhZE0JjUhHVELxlHEbKphX+GtGdf9RxLyj2AcCcu2KmGIHGdVpGx3d+MGDVk VKeAz1nwKM8lfDJ1J8t8pqP//TUpgR8Df53UthLLk97rFVv5G+qLjCb1eWzm3cUVINdz XgMASizgWwJcU5pfaDN3IxJAGk52x5apDKebnEK9HLfpb5yWD0b4/j+lqv3PHNwi5bk3 VuJQ== MIME-Version: 1.0 X-Received: by 10.58.155.68 with SMTP id vu4mr3091762veb.21.1377037090340; Tue, 20 Aug 2013 15:18:10 -0700 (PDT) Received: by 10.52.65.201 with HTTP; Tue, 20 Aug 2013 15:18:10 -0700 (PDT) In-Reply-To: <87ob8sovp7.fsf@study.localdomain> References: <95B851B6-93AF-47A2-9C65-95E169B1DA07@ocamlpro.com> <20130820.223527.351659178592840423.Christophe.Troestler@umons.ac.be> <87ob8sovp7.fsf@study.localdomain> Date: Tue, 20 Aug 2013 15:18:10 -0700 Message-ID: From: Casey Basichis To: Leo White Cc: Christophe TROESTLER , OCaml Mailing List Content-Type: multipart/alternative; boundary=047d7b604d029cc90d04e4686e33 Subject: Re: [Caml-list] Setting up OcaIDE --047d7b604d029cc90d04e4686e33 Content-Type: text/plain; charset=ISO-8859-1 I added #thread and I also tried adding a ";;" after all of the lines starting with # . Here is what my .ocamlinit looks like right now. (* Added by OPAM. *) let () = try Topdirs.dir_directory (Sys.getenv "OCAML_TOPLEVEL_PATH") with Not_found -> () ;; #use "topfind" #camlp4o #require "core.top" #require "core.syntax" #require "core_extended" #require "async" #thread open Core.Std The output in the terminal is: OCaml version 4.00.1 Findlib has been successfully loaded. Additional directives: #require "package";; to load a package #list;; to list the available packages #camlp4o;; to load camlp4 (standard syntax) #camlp4r;; to load camlp4 (revised syntax) #predicates "p,q,...";; to set these predicates Topfind.reset();; to force that packages will be reloaded #thread;; to enable threads /Users/caseybasichis/.opam/4.00.1/lib/ocaml/dynlink.cma: loaded /Users/caseybasichis/.opam/4.00.1/lib/ocaml/camlp4: added to search path /Users/caseybasichis/.opam/4.00.1/lib/ocaml/camlp4/camlp4o.cma: loaded /Users/caseybasichis/.opam/4.00.1/lib/ocaml/unix.cma: loaded /Users/caseybasichis/.opam/4.00.1/lib/ocaml/bigarray.cma: loaded /Users/caseybasichis/.opam/4.00.1/lib/bin_prot: added to search path /Users/caseybasichis/.opam/4.00.1/lib/bin_prot/bin_prot.cma: loaded /Users/caseybasichis/.opam/4.00.1/lib/variantslib: added to search path /Users/caseybasichis/.opam/4.00.1/lib/variantslib/variantslib.cma: loaded /Users/caseybasichis/.opam/4.00.1/lib/ocaml/nums.cma: loaded /Users/caseybasichis/.opam/4.00.1/lib/num-top: added to search path /Users/caseybasichis/.opam/4.00.1/lib/num-top/num_top.cma: loaded Camlp4 Parsing version 4.00.1 /Users/caseybasichis/.opam/4.00.1/lib/num: added to search path /Users/caseybasichis/.opam/4.00.1/lib/sexplib: added to search path /Users/caseybasichis/.opam/4.00.1/lib/sexplib/sexplib.cma: loaded /Users/caseybasichis/.opam/4.00.1/lib/fieldslib: added to search path /Users/caseybasichis/.opam/4.00.1/lib/fieldslib/fieldslib.cma: loaded /Users/caseybasichis/.opam/4.00.1/lib/oUnit: added to search path /Users/caseybasichis/.opam/4.00.1/lib/oUnit/oUnit.cma: loaded /Users/caseybasichis/.opam/4.00.1/lib/pa_ounit: added to search path /Users/caseybasichis/.opam/4.00.1/lib/pa_ounit/pa_ounit_lib.cma: loaded /Users/caseybasichis/.opam/4.00.1/lib/res: added to search path /Users/caseybasichis/.opam/4.00.1/lib/res/res.cma: loaded /Users/caseybasichis/.opam/4.00.1/lib/core_kernel: added to search path /Users/caseybasichis/.opam/4.00.1/lib/core_kernel/core_kernel.cma: loaded /Users/caseybasichis/.opam/4.00.1/lib/core: added to search path /Users/caseybasichis/.opam/4.00.1/lib/core/core.cma: loaded File ".ocamlinit", line 1: Error: Reference to undefined global `Condition' Thanks, Casey On Tue, Aug 20, 2013 at 3:15 PM, Leo White wrote: > > typing ocaml into the terminal yields: > > > > OCaml version 4.00.1 > > > > Findlib has been successfully loaded. Additional directives: > > #require "package";; to load a package > [...] > > /Users/caseybasichis/.opam/4.00.1/lib/core/core.cma: loaded > > File ".ocamlinit", line 1: > > Error: Reference to undefined global `Condition' > > It looks like your .ocamlinit may be missing a "#thread" directive > (required by Core). > > Regards, > > Leo > -- Casey James Basichis Composer - Adventure Time - Cartoon Network http://www.caseyjamesbasichis.com caseybasichis@gmail.com 310.387.7540 --047d7b604d029cc90d04e4686e33 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I added #thread and I also tried adding a ";;" a= fter all of the lines starting with # . =A0Here is what my .ocamlinit looks= like right now.

(* Added by OPAM. *)
let= () =3D
=A0 try Topdirs.dir_directory (Sys.getenv "OCAML_TOPLEVEL_PATH&qu= ot;)
=A0 with Not_found -> ()
;;

#use "topfind"
#camlp4o
#require "= core.top"
#require "core.syntax"
#require "core_extende= d"
#require "async"
#thread
op= en Core.Std


The output in the= terminal is:

=A0 =A0 =A0 =A0 OCaml version 4.00.1
Findlib has been successfully loaded. Additional directives:
=A0 #require "package";; =A0 =A0 =A0to load a package
=A0 #list;; =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 to list the availabl= e packages
=A0 #camlp4o;; =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0to load camlp4 (standard= syntax)
=A0 #camlp4r;; =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0to load ca= mlp4 (revised syntax)
=A0 #predicates "p,q,...";; =A0 t= o set these predicates
=A0 Topfind.reset();; =A0 =A0 =A0 =A0 to f= orce that packages will be reloaded
=A0 #thread;; =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 to enable threads
<= div>
/Users/caseybasichis/.opam/4.00.1/lib/ocaml/dynlink.cma:= loaded
/Users/caseybasichis/.opam/4.00.1/lib/ocaml/camlp4: added= to search path
/Users/caseybasichis/.opam/4.00.1/lib/ocaml/camlp4/camlp4o.cma: loaded=
/Users/caseybasichis/.opam/4.00.1/lib/ocaml/unix.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/ocaml/bigarray.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/bin_prot: added to search path
/Users/caseybasichis/.opam/4.00.1/lib/bin_prot/bin_prot.cma: loade= d
/Users/caseybasichis/.opam/4.00.1/lib/variantslib: added to sea= rch path
/Users/caseybasichis/.opam/4.00.1/lib/variantslib/variantslib.cma: loa= ded
/Users/caseybasichis/.opam/4.00.1/lib/ocaml/nums.cma: loaded<= /div>
/Users/caseybasichis/.opam/4.00.1/lib/num-top: added to search pa= th
/Users/caseybasichis/.opam/4.00.1/lib/num-top/num_top.cma: loaded
Camlp4 Parsing ver= sion 4.00.1

/Users/caseybasichis/.opam/4.00.1/lib/= num: added to search path
/Users/caseybasichis/.opam/4.00.1/lib/sexplib: added to search path
/Users/caseybasichis/.opam/4.00.1/lib/sexplib/sexplib.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/fieldslib: added to search p= ath
/Users/caseybasichis/.opam/4.00.1/lib/fieldslib/fieldslib.cma: loaded<= /div>
/Users/caseybasichis/.opam/4.00.1/lib/oUnit: added to search path=
/Users/caseybasichis/.opam/4.00.1/lib/oUnit/oUnit.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/pa_ounit: added to search path
/Users/caseybasichis/.opam/4.00.1/lib/pa_ounit/pa_ounit_lib.cma: l= oaded
/Users/caseybasichis/.opam/4.00.1/lib/res: added to search = path
/Users/caseybasichis/.opam/4.00.1/lib/res/res.cma: loaded
/U= sers/caseybasichis/.opam/4.00.1/lib/core_kernel: added to search path
=
/Users/caseybasichis/.opam/4.00.1/lib/core_kernel/core_kernel.cma: loa= ded
/Users/caseybasichis/.opam/4.00.1/lib/core: added to search path
=
/Users/caseybasichis/.opam/4.00.1/lib/core/core.cma: loaded
= File ".ocamlinit", line 1:
Error: Reference to undefine= d global `Condition'

Thanks,
Casey

=


On Tue, Aug 20, 2013 at 3:15 PM, Leo White <lpw25@cam.ac.uk> wrote:
> typing ocaml into the= terminal yields:
>
> =A0 =A0 =A0 =A0 OCaml version 4.00.1
>
> Findlib has been successfully loaded. Additional directives:
> =A0 #require "package";; =A0 =A0 =A0to load a package
[...]
> /Users/caseybasichis/.opam/4.00.1/lib/core/core.cma:= loaded
> File ".ocamlinit", line 1:
> Error: Reference to undefined global `Condition'

It looks like your .ocamlinit may be missing a "#thread" di= rective (required by Core).

Regards,

Leo



--
Casey James Basichis
Composer - Adventure Time - Cartoon Networkhttp://www= .caseyjamesbasichis.com
caseybasichis@= gmail.com
310.387.7540
--047d7b604d029cc90d04e4686e33--