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 D095B820A1 for ; Wed, 21 Aug 2013 17:13:06 +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.128.41; 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.128.41 as permitted sender) identity=mailfrom; client-ip=209.85.128.41; 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-qe0-f41.google.com) identity=helo; client-ip=209.85.128.41; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="caseybasichis@gmail.com"; x-sender="postmaster@mail-qe0-f41.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlcBAKnXFFLRVYApm2dsb2JhbABXA4M6RQytH4lxiEuBFwgWDgEBAQEBBgsLCRQogiQBAQQBJxkBFAcRAQsBAwELBgULDQ0hIQEBEQEFAQoSGQgKh2sBAwkGDJZvjFCDAkuDdwoZJwMKZIEWAQUMjVGCaAwEBxGEAwOJLYxPgWmBLYsBg0MWKYRiHA X-IPAS-Result: AlcBAKnXFFLRVYApm2dsb2JhbABXA4M6RQytH4lxiEuBFwgWDgEBAQEBBgsLCRQogiQBAQQBJxkBFAcRAQsBAwELBgULDQ0hIQEBEQEFAQoSGQgKh2sBAwkGDJZvjFCDAkuDdwoZJwMKZIEWAQUMjVGCaAwEBxGEAwOJLYxPgWmBLYsBg0MWKYRiHA X-IronPort-AV: E=Sophos;i="4.89,928,1367964000"; d="scan'208";a="29969129" Received: from mail-qe0-f41.google.com ([209.85.128.41]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 21 Aug 2013 17:13:05 +0200 Received: by mail-qe0-f41.google.com with SMTP id x7so325798qeu.28 for ; Wed, 21 Aug 2013 08:13:04 -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=NumOArbJhZ5Pya0kurvV849tNw3ePQhYL8tQ99ByhKM=; b=P+EZ9GxlZ2MlJ084xKSuO8rNosSEtwCshX6KvmFRoZVFa/FICsKT8j05nHWaTkp5hw 0WNN0Ch94mgvFj9k7VWBywNfTk66qIPBLeryrIZvivXweSY4zM9D8gNS0KcjoKNBDPCR CVIoXd8wyrx+gboRffgHKtnWgm3tWQP27SWkeuGMWZvN7iv/JwLe0qI+XFQjOiBkk4/P uXSNBquf2wRrxnNRup3awkZwMOKwlxotxgcsPZ9dFJbQqv83g4rcoAWSqR5GW0dSEzw8 /pC1tr6tequFczFCBKpOsEUuiFBygM1yz2uEzFvVEs30GZnQy4th1e2ob3ZM5VT6yBTY NjZA== MIME-Version: 1.0 X-Received: by 10.49.12.70 with SMTP id w6mr9263383qeb.70.1377097984617; Wed, 21 Aug 2013 08:13:04 -0700 (PDT) Received: by 10.224.127.132 with HTTP; Wed, 21 Aug 2013 08:13:04 -0700 (PDT) In-Reply-To: References: <95B851B6-93AF-47A2-9C65-95E169B1DA07@ocamlpro.com> <20130820.223527.351659178592840423.Christophe.Troestler@umons.ac.be> <87ob8sovp7.fsf@study.localdomain> <87k3jgou93.fsf@study.localdomain> Date: Wed, 21 Aug 2013 08:13:04 -0700 Message-ID: From: Casey Basichis To: romerun@gmail.com Cc: OCaml Mailing List Content-Type: multipart/alternative; boundary=047d7b6d936632314404e4769c6a Subject: Re: [Caml-list] Setting up OcaIDE --047d7b6d936632314404e4769c6a Content-Type: text/plain; charset=ISO-8859-1 May I ask what you are using in place of Eclipse? I've never used emacs, but after several days trying to get Eclipse to work its learning curve is starting to look like a better use of time. What tools are folks commonly using to wrangle ocaml. I'm on osx here, if it makes any difference. On Tue, Aug 20, 2013 at 11:32 PM, Komtanoo Pinpimai wrote: > I never get ocaide working with ocaml 4. Anyone knows for sure if it > works or not. I always get the error "include project and resource > name: /:" on "managed project". > > On Tue, Aug 20, 2013 at 5:16 PM, Casey Basichis > wrote: > > Moving #thread allowed ocaml to run in the terminal. It was still not > > working in Eclipse so I changed the paths to: > > /Users/caseybasichis/.opam/4.00.1/bin/ocaml etc > > > > It seems to get further along in the loading process but there are some > > errors: > > > > 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/threads: added to search path > > > > /Users/caseybasichis/.opam/4.00.1/lib/ocaml/unix.cma: loaded > > > > /Users/caseybasichis/.opam/4.00.1/lib/ocaml/threads/threads.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 > > > > Cannot load required shared library dllbin_prot_stubs. > > > > Reason: dllbin_prot_stubs.so: dlopen(dllbin_prot_stubs.so, 138): image > not > > found. > > > > /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 > > > > Cannot load required shared library dllcore_kernel_stubs. > > > > Reason: dllcore_kernel_stubs.so: dlopen(dllcore_kernel_stubs.so, 138): > image > > not found. > > > > /Users/caseybasichis/.opam/4.00.1/lib/core: added to search path > > > > /Users/caseybasichis/.opam/4.00.1/lib/core/core.cma: loaded > > > > Cannot load required shared library dllcore_stubs. > > > > Reason: dllcore_stubs.so: dlopen(dllcore_stubs.so, 138): image not found. > > > > /Users/caseybasichis/.opam/4.00.1/lib/core/core_top.cma: loaded > > > > File "/Users/caseybasichis/.ocamlinit", line 1: > > > > Error: Reference to undefined global `Core' > > > > > > Here is my .ocamlinit: > > > > (* Added by OPAM. *) > > > > let () = > > > > try Topdirs.dir_directory (Sys.getenv "OCAML_TOPLEVEL_PATH") > > > > with Not_found -> () > > > > ;; > > > > > > #use "topfind" > > > > #camlp4o > > > > #thread > > > > #require "core.top" > > > > #require "core.syntax" > > > > #require "core_extended" > > > > #require "async" > > > > open Core.Std > > > > > > > > > > On Tue, Aug 20, 2013 at 3:46 PM, Leo White wrote: > >> > >> > 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 '#thread' directive needs to come before the '#require "core.top"' > >> directive. > >> > >> Regards, > >> > >> Leo > > > > > > > > > > -- > > Casey James Basichis > > Composer - Adventure Time - Cartoon Network > > http://www.caseyjamesbasichis.com > > caseybasichis@gmail.com > > 310.387.7540 > > > > -- > In accordance with U.S. Treasury regulations, if this message contains > advice concerning one or more Federal tax issues, it is not a formal > legal opinion and may not be used by any person for the avoidance of > Federal tax penalties. > > -- > Caml-list mailing list. Subscription management and archives: > https://sympa.inria.fr/sympa/arc/caml-list > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > -- Casey James Basichis Composer - Adventure Time - Cartoon Network http://www.caseyjamesbasichis.com caseybasichis@gmail.com 310.387.7540 --047d7b6d936632314404e4769c6a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

May I ask what you are usin= g in place of Eclipse?

I've never used emacs, but after several days tryi= ng to get Eclipse to work its learning curve is starting to look like a bet= ter use of time.

What tools = are folks commonly using to wrangle ocaml. =A0I'm on osx here, if it ma= kes any difference.


On Tue, Aug 20, 2013 at 11:32 PM, Komtanoo Pinpimai <<= a href=3D"mailto:romerun@gmail.com" target=3D"_blank">romerun@gmail.com= > wrote:
I never get ocaide working with ocaml 4. Anyone knows for sure if it
works or not. I always get the error "include project and resource
name: /:" on "managed project".

On Tue, Aug 20, 2013 at 5:16 PM, Casey Basichis <caseybasichis@gmail.com> wrote:
> Moving #thread allowed ocaml to run in the terminal. =A0It was still n= ot
> working in Eclipse so I changed the paths to:
> /Users/caseybasichis/.opam/4.00.1/bin/ocaml =A0etc
>
> It seems to get further along in the loading process but there are som= e
> errors:
>
> =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 available = 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 camlp4 (revised = syntax)
>
> =A0 #predicates "p,q,...";; =A0 to set these predicates
>
> =A0 Topfind.reset();; =A0 =A0 =A0 =A0 to force that packages will be r= eloaded
>
> =A0 #thread;; =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 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 pa= th
>
> /Users/caseybasichis/.opam/4.00.1/lib/ocaml/camlp4/camlp4o.cma: loaded=
>
> /Users/caseybasichis/.opam/4.00.1/lib/ocaml/threads: added to search p= ath
>
> /Users/caseybasichis/.opam/4.00.1/lib/ocaml/unix.cma: loaded
>
> /Users/caseybasichis/.opam/4.00.1/lib/ocaml/threads/threads.cma: loade= d
>
> /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
>
> Cannot load required shared library dllbin_prot_stubs.
>
> Reason: dllbin_prot_stubs.so: dlopen(dllbin_prot_stubs.so, 138): image= not
> found.
>
> /Users/caseybasichis/.opam/4.00.1/lib/variantslib: added to search pat= h
>
> /Users/caseybasichis/.opam/4.00.1/lib/variantslib/variantslib.cma: loa= ded
>
> /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<= br> >
> /Users/caseybasichis/.opam/4.00.1/lib/fieldslib/fieldslib.cma: loaded<= br> >
> /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: loade= d
>
> /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 pat= h
>
> /Users/caseybasichis/.opam/4.00.1/lib/core_kernel/core_kernel.cma: loa= ded
>
> Cannot load required shared library dllcore_kernel_stubs.
>
> Reason: dllcore_kernel_stubs.so: dlopen(dllcore_kernel_stubs.so, 138):= image
> not found.
>
> /Users/caseybasichis/.opam/4.00.1/lib/core: added to search path
>
> /Users/caseybasichis/.opam/4.00.1/lib/core/core.cma: loaded
>
> Cannot load required shared library dllcore_stubs.
>
> Reason: dllcore_stubs.so: dlopen(dllcore_stubs.so, 138): image not fou= nd.
>
> /Users/caseybasichis/.opam/4.00.1/lib/core/core_top.cma: loaded
>
> File "/Users/caseybasichis/.ocamlinit", line 1:
>
> Error: Reference to undefined global `Core'
>
>
> Here is my .ocamlinit:
>
> (* Added by OPAM. *)
>
> let () =3D
>
> =A0 try Topdirs.dir_directory (Sys.getenv "OCAML_TOPLEVEL_PATH&qu= ot;)
>
> =A0 with Not_found -> ()
>
> ;;
>
>
> #use "topfind"
>
> #camlp4o
>
> #thread
>
> #require "core.top"
>
> #require "core.syntax"
>
> #require "core_extended"
>
> #require "async"
>
> open Core.Std
>
>
>
>
> On Tue, Aug 20, 2013 at 3:46 PM, Leo White <lpw25@cam.ac.uk> wrote:
>>
>> > I added #thread and I also tried adding a ";;" afte= r 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_TOPLEVE= L_PATH")
>> > =A0 with Not_found -> ()
>> > ;;
>> >
>> > #use "topfind"
>> > #camlp4o
>> > #require "core.top"
>> > #require "core.syntax"
>> > #require "core_extended"
>> > #require "async"
>> > #thread
>> > open Core.Std
>>
>> The '#thread' directive needs to come before the '#req= uire "core.top"'
>> directive.
>>
>> Regards,
>>
>> Leo
>
>
>
>
> --
> Casey James Basichis
> Composer - Adventure Time - Cartoon Network
> http:/= /www.caseyjamesbasichis.com
> caseybasichis@gmail.com=
> 310.387.7540


--
In accordance with U.S. Treasury regulations, if this message contains
advice concerning one or more Federal tax issues, it is not a formal
legal opinion and may not be used by any person for the avoidance of
Federal tax penalties.

--
Caml-list mailing list. =A0Subscription management and archives:
ht= tps://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs



--
Casey James Basichis
Composer - Adventure Time - Cart= oon Network
http://www.caseyjamesbasichis.com
caseybasichis@= gmail.com
310.387.7540
--047d7b6d936632314404e4769c6a--