🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fa.caml
Article #151

Re: [Caml-list] ocamlfind + sexplib + bin_io

#151
From: Matej Košík
Date: Sat, 28 Apr 2012 18:13
30 lines
4419 bytes
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.

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.

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?

-- 
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.Cox/zeCxtBSDBoHuxhxTD6xr890@ifi.uio.no>
Path: arc1-ca.pugleaf.net!r9ni109072pbh.0!nntp.google.com!news2.google.com!news.glorb.com!uio.no!nntp.uio.no!.POSTED!not-for-mail
References: <fa.2mrpL20h0c0thL5y7GGoRONNaz4@ifi.uio.no> <fa.ILLAqmgURsISo5mQ8YiM6ik8c50@ifi.uio.no> <fa.hR3Hm7ucWPK8aFVMxLGm7paPrUw@ifi.uio.no> <fa.Ot3SuUYw8JFyjyCwrG1Vtg1q3ak@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,ASCII-7-bit
Received: by 10.68.236.170 with SMTP id uv10mr12367608pbc.4.1335636803423;
        Sat, 28 Apr 2012 11:13:23 -0700 (PDT)
Path: arc1-ca.pugleaf.net!r9ni109072pbh.0!nntp.google.com!news2.google.com!news.glorb.com!uio.no!nntp.uio.no!.POSTED!not-for-mail
From: Matej Košík
 <5764c029b688c1c0d24a2e97cd764f@gmail.com>
Newsgroups: fa.caml
Subject: Re: [Caml-list] ocamlfind + sexplib + bin_io
Date: Sat, 28 Apr 2012 18:13:23 UTC
Organization: Internet mailing list
Lines: 31
Message-ID: <fa.Cox/zeCxtBSDBoHuxhxTD6xr890@ifi.uio.no>
References: <fa.2mrpL20h0c0thL5y7GGoRONNaz4@ifi.uio.no> <fa.ILLAqmgURsISo5mQ8YiM6ik8c50@ifi.uio.no> <fa.hR3Hm7ucWPK8aFVMxLGm7paPrUw@ifi.uio.no> <fa.Ot3SuUYw8JFyjyCwrG1Vtg1q3ak@ifi.uio.no>
NNTP-Posting-Host: mail-jess.uio.no
Mime-Version: 1.0
X-Trace: readme.uio.no 1335636803 5962 129.240.7.9 (28 Apr 2012 18:13:23 GMT)
X-Complaints-To: abuse@uio.no
NNTP-Posting-Date: Sat, 28 Apr 2012 18:13:23 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1
Cc: Caml List <caml-list@inria.fr>
To: Markus Mottl <markus.mottl@gmail.com>
X-IronPort-AV: E=Sophos;i="4.75,497,1330902000"; 
   d="scan'208";a="156035474"
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: AqYDAGIxnE9KfVK2kGdsb2JhbABEgiAEeYJLrCkIIgEBAQEJCQ0HFAQjggkBAQEEEgIPHQEbHAEBAwwGBQsNAgIFFgsCAgkDAgECARERAQUBHAYNAQcBAR6HXAEDCwSaaQqLU1CCc4RHChknDVeIdgEFC4EkjluBGASVfoERhGWDZIUIPYQM
X-IronPort-AV: E=Sophos;i="4.75,497,1330902000"; 
   d="scan'208";a="141965923"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=message-id:date:from:user-agent:mime-version:to:cc:subject
         :references:in-reply-to:x-enigmail-version:content-type
         :content-transfer-encoding;
        bh=pl3Un98aoJPNam7M4J5jmi2wiMyv76HvEZzE5mjmW5s=;
        b=Xs8PH6p6xkau9d481ZJpI7ulqxeFdS68NHfsIgBNptMJd6HkgjcKuRmG7+g9W4jh77
         eZCC1mF77Qt4dHFViAMaNyZpReVJQkiLqUhGTR7RNKMNX0eXnojc4SV/3nha7wuMyfjq
         hvEhOMLZSMJd3QWe+SaXAlH5Dd7rd0f0P2R5ZarkMFfe0yAJqEblOpR6wdinUz+8ByCa
         mUb11SHq380m+lk8RUYIiDAP/uQNVlbTHqkwVB7FEtSXlSItdRTTfySjAThLh8gMNtMH
         Rowr6et0BGaliWq7yT/7F9ZH/WknaQaF/DEZ0dRw5WrpEDzu0tFDWQqs6HG+YZ4bT+im
         QWfA==
In-Reply-To: <CAP_800oybKMq2BrS5D-bAPaAxxDNzHdjv6obJ-0YS8jOyu1BUw@mail.gmail.com>
X-Enigmail-Version: 1.4.1
X-Sequence: 3981
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 19:12:54 +0100
Original-Message-Id: <4F9C3326.6010900@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>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit