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