From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id UAA18183; Thu, 15 Apr 2004 20:36:01 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA17160 for ; Thu, 15 Apr 2004 20:36:00 +0200 (MET DST) Received: from mz2.forethought.net (mzpi4.forethought.net [216.241.36.13]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i3FIZwYM017652 for ; Thu, 15 Apr 2004 20:35:58 +0200 Received: from [216.241.35.41] (helo=swordfish) by mz2.forethought.net with esmtp (Exim 4.30) id 1BEBiO-0007mb-QR for caml-list@pauillac.inria.fr; Thu, 15 Apr 2004 12:35:56 -0600 Received: from matt by swordfish with local (Exim 3.35 #1 (Debian)) id 1BEBiP-00018e-00 for ; Thu, 15 Apr 2004 12:35:57 -0600 Date: Thu, 15 Apr 2004 12:35:56 -0600 From: Matt Gushee To: caml-list@pauillac.inria.fr Subject: Re: [Caml-list] Adding libraries to mod_caml Message-ID: <20040415183556.GA4352@swordfish> Reply-To: Matt Gushee Mail-Followup-To: caml-list@pauillac.inria.fr References: <20040414193002.GC29676@swordfish> <20040414131053.6813f2d5.hoisie@berkeley.edu> <20040414204257.GD29676@swordfish> <20040415090007.GA32281@redhat.com> <20040415093447.GA26365@bourg.inria.fr> <20040414193002.GC29676@swordfish> <20040414131053.6813f2d5.hoisie@berkeley.edu> <20040414204257.GD29676@swordfish> <20040415090007.GA32281@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040415093447.GA26365@bourg.inria.fr> <20040415090007.GA32281@redhat.com> User-Agent: Mutt/1.3.27i X-Miltered: at concorde by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; gushee:01 mgushee:01 havenrock:01 caml-list:01 2004:99 2004:99 0600,:01 gushee:01 site-lib:01 ocre:99 ocre:99 stdlib:01 facetious:01 cmas:01 restarting:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Thu, Apr 15, 2004 at 10:00:07AM +0100, Richard Jones wrote: > On Wed, Apr 14, 2004 at 02:42:57PM -0600, Matt Gushee wrote: > > Ah! Well, that's a start. But now when I restart Apache, I get: > > > > Failure("error while linking /opt/ocaml/lib/site-lib/ocre/ocre.cma") > > Undefined global 'Stream'. > > I'm not really familiar with Stream. Is that included in the standard > library (ie. stdlib.cma)? Oh, yes. That's why I made that facetious remark about CamlLoading the standard library. > I'm not sure why the ALL_CMAS trick you mention in your original > posting doesn't work. Perhaps you didn't install the new version of > mod_caml or restart Apache? The above error was triggered by restarting Apache. However, I was in fact not using the latest version (it was 1.0.6). I must confess I have this semi-philosophical, semi-emotional resistance to *blindly* upgrading things in the hope that it will fix the problem of the moment. But if you think it will help I'll try it. On Thu, Apr 15, 2004 at 11:34:47AM +0200, Basile Starynkevitch wrote: > > There is a Stream module inside the standard library. It is mostly > useful when using the stream syntactic extension (provided by camlp4). Almost true, but not quite: we are specifically admonished *not* to use Stream module streams (e.g. Stream.of_string "abcde") with literal streams ([< 'foo; 'bar >])--which limits the usefulness of the Stream module. But it can be helpful for tasks that involve scanning a string character-by-character. Many thanks to all who responded. I'll report back after trying the latest mod_caml. -- Matt Gushee When a nation follows the Way, Englewood, Colorado, USA Horses bear manure through mgushee@havenrock.com its fields; http://www.havenrock.com/ When a nation ignores the Way, Horses bear soldiers through its streets. --Lao Tzu (Peter Merel, trans.) ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners