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 mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 40F10820A1 for ; Tue, 20 Aug 2013 23:20:45 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of caseybasichis@gmail.com) identity=pra; client-ip=209.85.128.180; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="caseybasichis@gmail.com"; x-sender="caseybasichis@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of caseybasichis@gmail.com designates 209.85.128.180 as permitted sender) identity=mailfrom; client-ip=209.85.128.180; receiver=mail3-smtp-sop.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 (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-ve0-f180.google.com) identity=helo; client-ip=209.85.128.180; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="caseybasichis@gmail.com"; x-sender="postmaster@mail-ve0-f180.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhICANfcE1LRVYC0m2dsb2JhbABXAw6CM3lRsHKOZ4EfCBYOAQEBAQEGCwsJFCiCJAEBBAFAARQHHQEDAQsGBQsNLiEBAREBBQEcBhOHfQEDCQYMlnqMUIMChDYKGScNZIEWAQUMjVGCaBAHEYQDA4ktjE+BaYwug0MWKYJfgSRfHA X-IPAS-Result: AhICANfcE1LRVYC0m2dsb2JhbABXAw6CM3lRsHKOZ4EfCBYOAQEBAQEGCwsJFCiCJAEBBAFAARQHHQEDAQsGBQsNLiEBAREBBQEcBhOHfQEDCQYMlnqMUIMChDYKGScNZIEWAQUMjVGCaBAHEYQDA4ktjE+BaYwug0MWKYJfgSRfHA X-IronPort-AV: E=Sophos;i="4.89,922,1367964000"; d="scan'208";a="24358808" Received: from mail-ve0-f180.google.com ([209.85.128.180]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 20 Aug 2013 23:20:44 +0200 Received: by mail-ve0-f180.google.com with SMTP id pb11so796538veb.11 for ; Tue, 20 Aug 2013 14:20:43 -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=LidC2b7UrEmSqCxMEyZ9qVVyNbAujslcsSZ7aPPjRjU=; b=S25VEG2btZGA8O7RFx6mzr2FNW9FZqwI1CttEwtjGh0wj9yxqitFD2SiU9rNJYaxqO rdDJLE6fnjiB2fSnqO9FsqsrZza6v4pYt7erK3Eh+B/pvi4weXzRpZLIQOqjDi5vx8BX hXESe8zx85CiZcN0oLdK+hvUzAbhZ0UZMt10Hyq1wnYaRVNvtr48Hej+EjavzYheI3Bf nNQGlwAH6e9Jysg8898TLWl/bA/4zS02ZBKAF1SMSDw4Wi0qL26NLBpuRJ6aiaka6+og SAdohQVNuVoLyj62JkZ8/jF1HyiWkbyFaJ52SpoSKMEgnadykcgpbM0vbamus0g99oCj zGWQ== MIME-Version: 1.0 X-Received: by 10.220.105.199 with SMTP id u7mr2865927vco.1.1377033643050; Tue, 20 Aug 2013 14:20:43 -0700 (PDT) Received: by 10.52.65.201 with HTTP; Tue, 20 Aug 2013 14:20:42 -0700 (PDT) In-Reply-To: <20130820.223527.351659178592840423.Christophe.Troestler@umons.ac.be> References: <95B851B6-93AF-47A2-9C65-95E169B1DA07@ocamlpro.com> <20130820.223527.351659178592840423.Christophe.Troestler@umons.ac.be> Date: Tue, 20 Aug 2013 14:20:42 -0700 Message-ID: From: Casey Basichis To: Christophe TROESTLER Cc: OCaml Mailing List Content-Type: multipart/alternative; boundary=047d7b343eca234d4904e467a13e Subject: Re: [Caml-list] Setting up OcaIDE --047d7b343eca234d4904e467a13e Content-Type: text/plain; charset=ISO-8859-1 The plot thickens... I was able to instal view opan install ocamlfind. Now typing ocaml into the terminal gives me a different error, though eclipse still reports the same: OCaml version 4.00.1 Cannot find file topfind. Unknown directive `camlp4o'. # opam config env yields: CAML_LD_LIBRARY_PATH=/Users/caseybasichis/.opam/4.00.1/lib/stublibs; export CAML_LD_LIBRARY_PATH; OCAML_TOPLEVEL_PATH=/Users/caseybasichis/.opam/4.00.1/lib/toplevel; export OCAML_TOPLEVEL_PATH; MANPATH=/Users/caseybasichis/.opam/4.00.1/man:; export MANPATH; PATH=/Users/caseybasichis/.opam/4.00.1/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/git/bin; export PATH; ls $OCAML_TOPLEVEL_PATH topfind typing ocaml into the terminal yields: 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' I've been running - eval `opam config env` at every turn On Tue, Aug 20, 2013 at 1:35 PM, Christophe TROESTLER < Christophe.Troestler@umons.ac.be> wrote: > On Tue, 20 Aug 2013 13:23:15 -0700, Casey Basichis wrote: > > > > I just realized this isn't specific to Eclipse at all. Typing ocaml in > the > > terminal gives the same error: > > > > OCaml version 4.00.1 > > > > Cannot find file topfind. > > Unknown directive `camlp4o'. > > > > I am definitely running "eval `opam config env`" as well it is in my > > .bash_profile > > Can you return the output of > > opam config env > > and > > ls $OCAML_TOPLEVEL_PATH > > > When I try: opam install findlib > > findlib is not a valid versioned package name > > 'opam install findlib' failed. > > opan install ocamlfind > > Hope it helps, > C. > -- Casey James Basichis Composer - Adventure Time - Cartoon Network http://www.caseyjamesbasichis.com caseybasichis@gmail.com 310.387.7540 --047d7b343eca234d4904e467a13e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
The plot thickens...

I was a= ble to instal view opan install ocamlfind. =A0Now typing ocaml into the ter= minal gives me a different error, though eclipse still reports the same:

=A0 =A0 =A0 =A0=A0OCaml version 4.00.1


Cannot find file topfind.

Unknown directive `camlp4o'.

#=A0

opam config env yields:=A0


CAML_LD_LIBRARY_PATH=3D/Users/caseybasichis/.opam/4.00.1/= lib/stublibs; export CAML_LD_LIBRARY_PATH;
OCAML_TOPLEVEL_PATH=3D= /Users/caseybasichis/.opam/4.00.1/lib/toplevel; export OCAML_TOPLEVEL_PATH;=
MANPATH=3D/Users/caseybasichis/.opam/4.00.1/man:; export MANPATH;
PATH=3D/Users/caseybasichis/.opam/4.00.1/bin:/opt/local/bin:/opt/loca= l/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local= /git/bin; export PATH;

ls $OCAML_TOPLEVEL_PATH
topfind

typing ocaml into the terminal yields:
=A0 =A0 =A0 =A0 OCaml version 4.00.1

<= div> 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 (stan= dard syntax)
=A0 #camlp4r;; =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0to load camlp4 (revised = syntax)
=A0 #predicates "p,q,...";; =A0 to set these pr= edicates
=A0 Topfind.reset();; =A0 =A0 =A0 =A0 to force that pack= ages will be reloaded
=A0 #thread;; =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 to enable threads
<= br>
/Users/caseybasichis/.opam/4.00.1/lib/ocaml/dynlink.cma: load= ed
/Users/caseybasichis/.opam/4.00.1/lib/ocaml/camlp4: added to s= earch 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'

I've been running - eval `opam config env` at= every turn



On Tue, Aug 20, 2013 at 1:35 PM, Christophe TROEST= LER <Christophe.Troestler@umons.ac.be> wrote:=
On Tue, 20 Aug 2013 13:23:= 15 -0700, Casey Basichis wrote:
>
> I just realized this isn't specific to Eclipse at all. =A0Typing o= caml in the
> terminal gives the same error:
>
> =A0 =A0 =A0 =A0 OCaml version 4.00.1
>
> Cannot find file topfind.
> Unknown directive `camlp4o'.
>
> I am definitely running "eval `opam config env`" as well it = is in my
> .bash_profile

Can you return the output of

=A0 =A0 opam config env

and

=A0 =A0 ls $OCAML_TOPLEVEL_PATH

> When I try: opam install findlib
> findlib is not a valid versioned package name
> 'opam install findlib' failed.

=A0 =A0 opan install ocamlfind

Hope it helps,
C.



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