Article View: fa.caml
Article #152Re: [Caml-list] ocamlfind + sexplib + bin_io
From: Markus Mottl
Date: Sat, 28 Apr 2012 18:46
Date: Sat, 28 Apr 2012 18:46
61 lines
5809 bytes
5809 bytes
On Sat, Apr 28, 2012 at 14:12, Matej Košík <5764c029b688c1c0d24a2e97cd764f@gmail.com> wrote: > On 04/27/2012 08:29 PM, Markus Mottl wrote: >> Hi, >> >> even the following should work if everything is installed correctly: >> >> ocamlfind ocamlc -linkpkg -package sexplib.syntax,bin_prot.syntax >> -syntax camlp4o main.ml > > If I try this command, I get the same error: > > Camlp4: Uncaught exception: Not_found > > File "main.ml", line 1, characters 0-1: > Error: Preprocessor error > > Now, I am not sure what should be the conclusion. Well, the conclusion would be that there is something wrong with the installation ;-) > I hesitate to claim that versions of (sexplib+bin_prot) libraries > published in GODI are faulty---if I do not use ocamlfind, I can use > those libraries just fine. It could be that there is more than one installation of these libraries on your system and that they are in conflict. E.g. if you ever installed type_conv outside of Godi. > Do not you think that camlp4 is never expected (for any kind of input) > throw an exception? Are we sure that the reported steps do not simply > trigger a camlp4 bug? There is surely a reason for this exception. It might indeed be due to incompatible preprocessing modules. To make sure that things compile, please delete any potential other installations of the above libraries from your system. One problem that seems to have happened for some people is that they previously installed type-conv and bin-prot. These packages have been renamed to type_conv and bin_prot (complex reason). If they have been previously installed, you may now have both packages on your system. It seems Godi cannot determine renamed packages and will leave old ones in place. Please make sure to manually delete all files and directories in your Godi installation that match "*type-conv*" or "*bin-prot*". If in doubt, just completely reinstall Godi. I've just tested the current release, and it works for me. Regards, Markus -- Markus Mottl http://www.ocaml.info markus.mottl@gmail.com -- Caml-list mailing list. Subscription management and archives: https://sympa-roc.inria.fr/wws/info/caml-list Beginner's list: http://groups.yahoo.com/group/ocaml_beginners Bug reports: http://caml.inria.fr/bin/caml-bugs
Technical Details
Message-ID:
<fa.EizTp530N/XklK7FznTfhdm3y6o@ifi.uio.no>Path:
arc1-ca.pugleaf.net!r9ni109159pbh.0!nntp.google.com!news1.google.com!goblin1!goblin.stu.neva.ru!uio.no!nntp.uio.no!.POSTED!not-for-mailReferences:
<fa.2mrpL20h0c0thL5y7GGoRONNaz4@ifi.uio.no> <fa.ILLAqmgURsISo5mQ8YiM6ik8c50@ifi.uio.no> <fa.hR3Hm7ucWPK8aFVMxLGm7paPrUw@ifi.uio.no> <fa.Ot3SuUYw8JFyjyCwrG1Vtg1q3ak@ifi.uio.no> <fa.Cox/zeCxtBSDBoHuxhxTD6xr890@ifi.uio.no>Show Full Headers
Complete Article Headers
X-Google-Thread: ff861,17a08b99de7d2d3c
X-Google-NewGroupId: yes
X-Google-Attributes: gidc0fe4b917e,domainid0,public,usenet
X-Google-Language: ENGLISH,UTF8
Received: by 10.68.230.98 with SMTP id sx2mr8023749pbc.1.1335638793281;
Sat, 28 Apr 2012 11:46:33 -0700 (PDT)
Path: arc1-ca.pugleaf.net!r9ni109159pbh.0!nntp.google.com!news1.google.com!goblin1!goblin.stu.neva.ru!uio.no!nntp.uio.no!.POSTED!not-for-mail
From: Markus Mottl <markus.mottl@gmail.com>
Newsgroups: fa.caml
Subject: Re: [Caml-list] ocamlfind + sexplib + bin_io
Date: Sat, 28 Apr 2012 18:46:32 UTC
Organization: Internet mailing list
Lines: 62
Message-ID: <fa.EizTp530N/XklK7FznTfhdm3y6o@ifi.uio.no>
References: <fa.2mrpL20h0c0thL5y7GGoRONNaz4@ifi.uio.no> <fa.ILLAqmgURsISo5mQ8YiM6ik8c50@ifi.uio.no> <fa.hR3Hm7ucWPK8aFVMxLGm7paPrUw@ifi.uio.no> <fa.Ot3SuUYw8JFyjyCwrG1Vtg1q3ak@ifi.uio.no> <fa.Cox/zeCxtBSDBoHuxhxTD6xr890@ifi.uio.no>
NNTP-Posting-Host: mail-jess.uio.no
Mime-Version: 1.0
X-Trace: readme.uio.no 1335638792 7974 129.240.7.9 (28 Apr 2012 18:46:32 GMT)
X-Complaints-To: abuse@uio.no
NNTP-Posting-Date: Sat, 28 Apr 2012 18:46:32 +0000 (UTC)
Cc: Caml List <caml-list@inria.fr>
To: Matej Košík <5764c029b688c1c0d24a2e97cd764f@gmail.com>
X-IronPort-AV: E=Sophos;i="4.75,497,1330902000";
d="scan'208";a="156036964"
X-Authentication-Warning: walapai.inria.fr: sympa set sender to caml-list-owner@inria.fr using -f
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AkUBABM6nE/RVdS0kGdsb2JhbABEhWisKQgiAQEBAQkJDQcUBCOCCQEBAQMBEgIPHQEbHQEDAQsGAwILDQICJgICIQEBEQEFARwGEwgah1wBAwYFmmQKi1NQgnOEQAoZJw1XiHYBBQuBJIhdhX6BGASVfoERiEmBZYMjPYQn
X-IronPort-AV: E=Sophos;i="4.75,497,1330902000";
d="scan'208";a="141967203"
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:content-transfer-encoding;
bh=x0amiWX9vw9fpjtOIMIqUOWkleujErN+Qgk1P+o+NcM=;
b=JZlhkDX/NhVRtI7FTxkbXtkaPaKLaPAg1yDHkGufA30yuNXFA2d2cyLV8WamaWYLAZ
aPhXG7yILGYxH1eSJJL35J78mKJg7k+ObR0fbJu/miKOMmDP6zHO7fminYdo6sgxszPV
IHk+qLRGRBg9cPIoA0dNDNAGipifinHYlzzCgNjmcXIo3MV3QY5zwP2J6Q+DBiOdgPfr
gva0WueewQHMGLcldK7QEpKtt+U/v8llMn1uzPAPc/lNSF9S8+9X2e8i2LwSKppZAZP8
vFO4pgJTpF9+q0O5P+p0cBPK6i/2YVg47C4lUrbyqzA9gkI15hJ2Y+z/WKwN2PZ37V0V
RDtA==
In-Reply-To: <4F9C3326.6010900@gmail.com>
X-MIME-Autoconverted: from quoted-printable to 8bit by walapai.inria.fr id q3SIkG4G003267
X-Sequence: 3982
List-Id: <caml-list.inria.fr>
List-Archive: <https://sympa-roc.inria.fr/wws/arc/caml-list>
List-Help: <mailto:sympa@inria.fr?subject=help>
List-Owner: <mailto:caml-list-request@inria.fr>
List-Post: <mailto:caml-list@inria.fr>
List-Subscribe: <mailto:sympa@inria.fr?subject=subscribe%20caml-list>
List-Unsubscribe: <mailto:sympa@inria.fr?subject=unsubscribe%20caml-list>
Original-Date: Sat, 28 Apr 2012 14:46:10 -0400
Original-Message-Id: <CAP_800rAh_h20bGc5Mk07XeqH1M7dw9ZZ27eQOMP8nxZbFkL4g@mail.gmail.com>
Original-References: <4F9AE39B.8010500@gmail.com>
<CE03BFB3-8F84-4AA4-A536-48E8DAC0DF22@metastack.com>
<4F9AE764.4060409@gmail.com>
<CAP_800oybKMq2BrS5D-bAPaAxxDNzHdjv6obJ-0YS8jOyu1BUw@mail.gmail.com>
<4F9C3326.6010900@gmail.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit