From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p2T2iuwe014453 for ; Tue, 29 Mar 2011 04:44:56 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AskAAIVHkU1V2gB4mWdsb2JhbAClXQEBAQEBCAsLBxQlxRENhV0EkGY X-IronPort-AV: E=Sophos;i="4.63,259,1299452400"; d="scan'208";a="95260916" Received: from emailfrontal1.citycable.ch ([85.218.0.120]) by mail2-smtp-roc.national.inria.fr with SMTP; 29 Mar 2011 04:44:50 +0200 X-Alinto-smtpauth-localdomain: Yes Received: from seldon (unknown [85.218.93.111]) (Authenticated sender: guillaume.yziquel@citycable.ch) by emailfrontal1.citycable.ch (Postfix) with ESMTPA id AB73D12CBF1; Tue, 29 Mar 2011 04:44:48 +0200 (CEST) Received: from yziquel by seldon with local (Exim 4.72) (envelope-from ) id 1Q4Ouh-0006Gj-DR; Tue, 29 Mar 2011 04:44:11 +0200 Date: Tue, 29 Mar 2011 04:44:11 +0200 From: Guillaume Yziquel To: Joel Reymont Cc: caml-list Message-ID: <20110329024411.GI20598@localhost> References: <4E84BA17-E496-4039-842C-B54E18B22E86@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <4E84BA17-E496-4039-842C-B54E18B22E86@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by walapai.inria.fr id p2T2iuwe014453 Subject: Re: [Caml-list] oasis and camlp4 Le Monday 28 Mar 2011 à 22:19:34 (+0100), Joel Reymont a écrit : > How do you integrate Oasis with camlp4, for example, to make the following comment at the beginning of a file take effect? > > (* pp camlp4o pa_labelscope.cmo pa_openin.cmo *) > > Thanks, Joel Hi. Clearly, I'm quite a newbie when it comes to oasis. I've mostly been using customised ocamlbuild stuff for my own purposes, so I'd appreciate some advice. Basically, I've been busy this evening implementing the zmq_poll() functionality into the ZeroMQ binding. Oasis has been installed with the installer from ocamlcore. Somehow not the best way, judging by the output below. Is there a quick way out of that, or should I recompile oasis from the source tarball? yziquel@seldon:~/git/ocaml-zmq$ /home/yziquel/oasis-0.2.0/bin/oasis /home/yziquel/oasis-0.2.0/bin/../libexec/oasis: error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory yziquel@seldon:~/git/ocaml-zmq$ locate libpcre.so.0 yziquel@seldon:~/git/ocaml-zmq$ locate libpcre.so /lib/libpcre.so.3 /lib/libpcre.so.3.12.1 /usr/lib32/libpcre.so.3 /usr/lib32/libpcre.so.3.12.1 /usr/lib/libpcre.so yziquel@seldon:~/git/ocaml-zmq$ -- Guillaume Yziquel