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 72042820A1 for ; Tue, 20 Aug 2013 21:09:51 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of thomas.gazagnaire@gmail.com) identity=pra; client-ip=209.85.212.170; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="thomas.gazagnaire@gmail.com"; x-sender="thomas.gazagnaire@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of thomas.gazagnaire@gmail.com designates 209.85.212.170 as permitted sender) identity=mailfrom; client-ip=209.85.212.170; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="thomas.gazagnaire@gmail.com"; x-sender="thomas.gazagnaire@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-wi0-f170.google.com) identity=helo; client-ip=209.85.212.170; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="thomas.gazagnaire@gmail.com"; x-sender="postmaster@mail-wi0-f170.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Al8CADW+E1LRVdSqjmdsb2JhbABXA4M6wCqBJhYOAQEBAQcNCQkSBiSCJAEBBAEnEwYBFCQBAwELAQUFRiETAQUBHAYTh34DCQYECJZaj1KEWycNgXoBBQyNUYJFS4MKeQOVfIgShgWDQz+BXYJn X-IPAS-Result: Al8CADW+E1LRVdSqjmdsb2JhbABXA4M6wCqBJhYOAQEBAQcNCQkSBiSCJAEBBAEnEwYBFCQBAwELAQUFRiETAQUBHAYTh34DCQYECJZaj1KEWycNgXoBBQyNUYJFS4MKeQOVfIgShgWDQz+BXYJn X-IronPort-AV: E=Sophos;i="4.89,921,1367964000"; d="scan'208";a="24353940" Received: from mail-wi0-f170.google.com ([209.85.212.170]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 20 Aug 2013 21:09:50 +0200 Received: by mail-wi0-f170.google.com with SMTP id hi8so5262305wib.5 for ; Tue, 20 Aug 2013 12:09:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=IRFxTsu05qvPpmDD98gKHA20QCwZaq8EO1Cf17GPhXA=; b=c3nceCORT7YKOjqY6VuXdAHYAZZNz+S4xuBYwFb3nkf/FX6uACh1aLyl1ZlGsIUJ4i StsGU1uTrEglb7glff+r+dIg9/WuVq9B2qjHRmj18uf0HMzMbMfEQ42l7IuBsZbWUoAh 2KiuySy62rTdxMH0l80epfYzuTSvKqvSOVjoPRoif9LML/3xcreHga2crf8x+oW0U9ZJ SQqRZWDzBumjYx8CFa5JbMEzaGDwh7g2TNLfWovyqVbtGR2W+X9MpQAFklnE2fy610iw k/pHiV6whCYA3Meb+SchXxFn+YPNkDyu1ByKwCwuObGVsiwj/6PPJlJRVdHqB+8eWdan +OSQ== X-Received: by 10.180.13.210 with SMTP id j18mr13519620wic.51.1377025790290; Tue, 20 Aug 2013 12:09:50 -0700 (PDT) Received: from [192.168.0.12] (gou06-3-88-170-165-56.fbx.proxad.net. [88.170.165.56]) by mx.google.com with ESMTPSA id eb3sm26119731wic.10.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 20 Aug 2013 12:09:49 -0700 (PDT) Sender: Thomas Gazagnaire Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Thomas Gazagnaire In-Reply-To: Date: Tue, 20 Aug 2013 21:09:47 +0200 Cc: caml-list@inria.fr Content-Transfer-Encoding: quoted-printable Message-Id: <95B851B6-93AF-47A2-9C65-95E169B1DA07@ocamlpro.com> References: To: Casey Basichis X-Mailer: Apple Mail (2.1085) Subject: Re: [Caml-list] Setting up OcaIDE > I built the latest dev on osx and also installed the ocaml binaries. I a= m getting errors with OcaIDE. Eclipse: You need to tell Eclipse/OcaIDE to load the right environment variables (to= locate your OPAM installation). I am not very used to OcaIDE so I can't help you much there, but I can sugg= est few workaround: - start Eclipse on the command-line -- be sure to have "eval `opam config e= nv`" before. It it works that means that your application is not run with t= he right environment variables -- dunno how to fix this properly on OSX. - copy paste: > let () =3D > try Topdirs.dir_directory (Sys.getenv "OCAML_TOPLEVEL_PATH") > with Not_found -> () directly in the Eclipse top-level, and run "#load "topfind" again. If it wo= rks, that means that OCaIDE is not loading ~/.ocamlinit (a bug worth report= ing upstream)=20 - change the path of ocaml& ocamlc/ocamlopt in some OcaIDE menus to hard-co= de /Users/caseybasichis/.opam/4.01.0dev+trunk/bin/ocaml{,c,opt} Hope this help, Thomas > OCaml version 4.00.1 > Cannot find file topfind. >=20 > Unknown directive `camlp4o'. >=20 > #=20 >=20 > I've tried a number of things to get it going to no avail. >=20 > I added the following to ~/.ocamlinit : > let () =3D > try Topdirs.dir_directory (Sys.getenv "OCAML_TOPLEVEL_PATH") > with Not_found -> () >=20 > to ~/.bash_profile I added : >=20 > export OCAML_TOPLEVEL_PATH=3D/Users/caseybasichis/.opam/4.01.0dev+trunk/l= ib/toplevel > eval `opam config env` >=20 > I also tried adding those to ~/.profile >=20 > I also tried building and make installing findlib-1.4=20 >=20 > If you have any ideas of how I might get this running I would greatly app= reciate it, I am very much looking forward to hello world hallelujah. >=20 > Thanks, > Casey >=20 > --=20 > Casey James Basichis > Composer - Adventure Time - Cartoon Network > http://www.caseyjamesbasichis.com > caseybasichis@gmail.com > 310.387.7540