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 291C0820A1 for ; Tue, 20 Aug 2013 20:51:07 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of dra-news@metastack.com) identity=pra; client-ip=62.13.137.138; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="dra-news@metastack.com"; x-sender="dra-news@metastack.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of dra-news@metastack.com designates 62.13.137.138 as permitted sender) identity=mailfrom; client-ip=62.13.137.138; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="dra-news@metastack.com"; x-sender="dra-news@metastack.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@outmail137138.authsmtp.net) identity=helo; client-ip=62.13.137.138; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="dra-news@metastack.com"; x-sender="postmaster@outmail137138.authsmtp.net"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AoQLAHa5E1I+DYmKdGdsb2JhbABXA4JBI1ZRqy2ULIEkFg4BDBUINQeCJAEBAQQnBig0AgEIEQQBAQsdByERFAkIAgQTCId2AxADCKs0DYIAjV2CRyEWARGDCnkDlXyBaYwuiESCKg X-IPAS-Result: AoQLAHa5E1I+DYmKdGdsb2JhbABXA4JBI1ZRqy2ULIEkFg4BDBUINQeCJAEBAQQnBig0AgEIEQQBAQsdByERFAkIAgQTCId2AxADCKs0DYIAjV2CRyEWARGDCnkDlXyBaYwuiESCKg X-IronPort-AV: E=Sophos;i="4.89,921,1367964000"; d="scan'208,217";a="24353036" Received: from outmail137138.authsmtp.net ([62.13.137.138]) by mail3-smtp-sop.national.inria.fr with ESMTP; 20 Aug 2013 20:51:05 +0200 Received: from mail-c235.authsmtp.com (mail-c235.authsmtp.com [62.13.128.235]) by punt10.authsmtp.com (8.14.2/8.14.2) with ESMTP id r7KIp43h082563 for ; Tue, 20 Aug 2013 19:51:04 +0100 (BST) Received: from romulus.metastack.com (cpc1-cmbg5-0-0-cust241.5-4.cable.virginmedia.com [81.98.252.242]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2/) with ESMTP id r7KIp25G000989 for ; Tue, 20 Aug 2013 19:51:02 +0100 (BST) Received: from remus.metastack.local (remus.metastack.com [172.16.0.1]) by romulus.metastack.com (8.14.2/8.14.2) with ESMTP id r7KIp1qj018847 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Tue, 20 Aug 2013 19:51:01 +0100 Received: from Remus.metastack.local ([fe80::547c:3c42:e1da:eda2]) by Remus.metastack.local ([fe80::547c:3c42:e1da:eda2%10]) with mapi id 14.03.0158.001; Tue, 20 Aug 2013 19:51:01 +0100 From: David Allsopp To: "caml-list@inria.fr" Thread-Topic: [Caml-list] Setting up OcaIDE Thread-Index: AQHOndRfIutdVKS/qUuBjW7pQKH/B5mecKwg Date: Tue, 20 Aug 2013 18:51:00 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [91.47.31.145] Content-Type: multipart/alternative; boundary="_000_E51C5B015DBD1348A1D85763337FB6D9CCB374FDRemusmetastackl_" MIME-Version: 1.0 Organization: MetaStack Solutions Ltd. X-Scanned-By: MIMEDefang 2.65 on 172.16.0.20 X-Server-Quench: 76072a36-09c9-11e3-b5c5-002590a15da7 X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCd1ZAARAlZZVg1f DC4bFwdFRBksPQFF ChxFJgxfNlEAUAAU NkdBMnJSNkcdTBdX QSgJW0slFQpuW2N0 aBpQZA9YY0BOXUti UVZASkxQEQd2AxgD GRwbTRk8NQI9AT5y YDFiXnBSVE00dER1 QE0aEmsGYmUxa2YC UEkLfh5VcVZJY01A OVViVHMPZGwHN3tl EwZsKQocb31sAy1Q RkQJLEkOdA4wEyIg RhYNVSg3VWoOTgQf AnQA X-Authentic-SMTP: 61633634383431.1023:706 X-AuthFastPath: 0 (Was 255) X-AuthSMTP-Origin: 81.98.252.242/25 X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system. Subject: RE: [Caml-list] Setting up OcaIDE --_000_E51C5B015DBD1348A1D85763337FB6D9CCB374FDRemusmetastackl_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable It looks like you haven't installed findlib (i.e. the ocamlfind command). f= indlib installs a script called topfind into your ocaml lib dir which loads= findlib into the toplevel and provides the camlp4o directive. I've not used opam, but I expect it's something along the lines of opam ins= tall findlib ... David From: caml-list-request@inria.fr [mailto:caml-list-request@inria.fr] On Beh= alf Of Casey Basichis Sent: 20 August 2013 20:38 To: caml-list@inria.fr Subject: [Caml-list] Setting up OcaIDE Hi, I'm just getting started with ocaml, following along with the new "Real Wor= ld Ocaml" book. I built the latest dev on osx and also installed the ocaml binaries. I am = getting errors with OcaIDE. Eclipse: OCaml version 4.00.1 Cannot find file topfind. Unknown directive `camlp4o'. # I've tried a number of things to get it going to no avail. I added the following to ~/.ocamlinit : let () =3D try Topdirs.dir_directory (Sys.getenv "OCAML_TOPLEVEL_PATH") with Not_found -> () to ~/.bash_profile I added : export OCAML_TOPLEVEL_PATH=3D/Users/caseybasichis/.opam/4.01.0dev+trunk/lib= /toplevel eval `opam config env` I also tried adding those to ~/.profile I also tried building and make installing findlib-1.4 If you have any ideas of how I might get this running I would greatly appre= ciate it, I am very much looking forward to hello world hallelujah. Thanks, Casey -- Casey James Basichis Composer - Adventure Time - Cartoon Network http://www.caseyjamesbasichis.com caseybasichis@gmail.com 310.387.7540 --_000_E51C5B015DBD1348A1D85763337FB6D9CCB374FDRemusmetastackl_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

It looks like you haven’t install= ed findlib (i.e. the ocamlfind command). findlib installs a script called t= opfind into your ocaml lib dir which loads findlib into the toplevel and provides the camlp4o directive.

 

I’ve not used opam, but I expect = it’s something along the lines of opam install findlib …

 

 

David

 

From: caml-list-request@inria.fr [mailto:caml-list-request@= inria.fr] On Behalf Of Casey Basichis
Sent: 20 August 2013 20:38
To: caml-list@inria.fr
Subject: [Caml-list] Setting up OcaIDE

 

Hi,

 

I'm just getting started with ocaml, foll= owing along with the new "Real World Ocaml" book.

 

I built the latest dev on osx and also in= stalled the ocaml binaries.  I am getting errors with OcaIDE. Eclipse:=

OCaml version 4.00.1

Cannot find file topfind.

Unknown directive `camlp4o'.

I've tried a number of things to get it g= oing to no avail.

 

I added the following to ~/.ocamlinit :

let () =3D

  try Topdirs.dir_directory (Sys.get= env "OCAML_TOPLEVEL_PATH")

  with Not_found -> ()=

 

to ~/.bash_profile I added :

 

export OCAML_TOPLEVEL_PATH=3D/Users/casey= basichis/.opam/4.01.0dev+trunk/lib/toplevel

eval `opam config env`<= /p>

 

I also tried adding those to ~/.profile

 

I also tried building and make installing= findlib-1.4 

 

If you have any ideas of how I might get = this running I would greatly appreciate it, I am very much looking forward = to hello world hallelujah.

 

Thanks,

Casey

 

--

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

--_000_E51C5B015DBD1348A1D85763337FB6D9CCB374FDRemusmetastackl_--