From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 36214BBAF for ; Tue, 11 Jul 2006 22:35:23 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id k6BKZMlQ031464 for ; Tue, 11 Jul 2006 22:35:22 +0200 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id WAA17320 for ; Tue, 11 Jul 2006 22:35:22 +0200 (MET DST) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by nez-perce.inria.fr (8.13.6/8.13.6) with ESMTP id k6BKZLMG010897 for ; Tue, 11 Jul 2006 22:35:21 +0200 Received: by ug-out-1314.google.com with SMTP id o2so1610420uge for ; Tue, 11 Jul 2006 13:35:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=QJ0Qf/S8oHFZlVJfhSGQtUbYl0vMU8cYdjDbHLXZ7GT1yEP4CsM45rk503H0AozDs0Rwfp+k0rV5D9ekxSKP7AgMmfRr4325x0Tr4XV2BGGN04aq8P9Mayo4gItqXg3geg0mxljpMMR0b3/bFvx7+DkcebyDsBTjtJYrnrq9hZs= Received: by 10.78.170.17 with SMTP id s17mr33053hue; Tue, 11 Jul 2006 13:35:20 -0700 (PDT) Received: by 10.78.116.20 with HTTP; Tue, 11 Jul 2006 13:35:20 -0700 (PDT) Message-ID: Date: Tue, 11 Jul 2006 16:35:20 -0400 From: "Jonathan Hayward http://JonathansCorner.com" To: "Christophe TROESTLER" Subject: Re: [Caml-list] "Hello web" please Cc: caml-list@inria.fr In-Reply-To: <20060711.201429.245541912.Christophe.Troestler@umh.ac.be> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6440_24151275.1152650120425" References: <20060711.164249.72518146.Christophe.Troestler@umh.ac.be> <20060711.201429.245541912.Christophe.Troestler@umh.ac.be> X-j-chkmail-Score: MSGID : 44B40B89.000 on nez-perce : j-chkmail score : X : 0/20 1 X-Miltered: at concorde with ID 44B40B8A.002 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 44B40B89.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; ocaml:01 beginners:01 usr:01 lib:01 ocaml:01 3.08.3:01 netstring:01 netstring:01 mismatch:01 usr:01 lib:01 3.08.3:01 mismatch:01 pcre:01 pcre:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.5 required=5.0 tests=HTML_20_30,HTML_MESSAGE, RCVD_BY_IP autolearn=disabled version=3.0.3 ------=_Part_6440_24151275.1152650120425 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline > > I propose to continue this conversation on the beginner mailing list > (http://groups.yahoo.com/group/ocaml_beginners/) to which I also sent > this message. Sounds like a good idea; I'm waiting for my registration to be processed. In the meantime, I'd really like to have this working soon, and am having more trouble than I've had getting a first basic program working (in Python, Perl, Java, etc.), and be on to asking real questions instead of "How do I get this to run?" At the moment I get: jonathan@inner-sanctum:~/csi/ml$ !. ./demo.ml Error while loading "/usr/lib/ocaml/3.08.3/netstring/netstring.cma": interface mismatch on Filename Error while loading "/usr/lib/ocaml/3.08.3/netstring/netstring.cma": interface mismatch on Filename. Preprocessor error The segment of the script that I think is responsible for this is: #directory "/usr/lib/ocaml/3.08.3/pcre";; #load "pcre.cma";; #directory "/usr/lib/ocaml/3.08.3";; #load "unix.cma";; #directory "/usr/lib/ocaml/3.08.3/netstring";; #load "netstring.cma";; #directory "/usr/lib/ocaml/3.08.3/cgi/";; #load "netcgi.cma";; The directory it's looking for netstring contains the following files (and many others): jonathan@inner-sanctum:~/csi/ml$ ls /usr/lib/ocaml/3.08.3/netstring/|grep netstring netstring.a netstring.cma netstring.cmxa netstring_mt.cmi netstring_mt.cmo netstring_mt.cmx netstring_mt.mli netstring_mt.o netstring_pcre.cmi netstring_pcre.mli netstring_str.cmi netstring_str.mli netstring_top.cmi netstring_top.cmo netstring_top.mli jonathan@inner-sanctum:~/csi/ml$ What should I be doing next to get it to work? -- ++ Jonathan Hayward, jonathan.hayward@pobox.com ** To see an award-winning website with stories, essays, artwork, ** games, and a four-dimensional maze, why not visit my home page? ** All of this is waiting for you at http://JonathansCorner.com ** If you'd like a Google Mail (gmail.com) account, please tell me! ------=_Part_6440_24151275.1152650120425 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

I propose to continue this conversation on the beginner mailing list
( http://groups.yahoo.com/group/ocaml_beginners/) to which I also sent
this message.

Sounds like a good idea; I'm waiting for my registration to be processed. In the meantime, I'd really like to have this working soon, and am having more trouble than I've had getting a first basic program working (in Python, Perl, Java, etc.), and be on to asking real questions instead of "How do I get this to run?"

At the moment I get:

jonathan@inner-sanctum:~/csi/ml$ !.
./demo.ml
Error while loading "/usr/lib/ocaml/3.08.3/netstring/netstring.cma": interface mismatch on Filename
Error while loading "/usr/lib/ocaml/3.08.3/netstring/netstring.cma": interface mismatch on Filename.
Preprocessor error

The segment of the script that I think is responsible for this is:

#directory "/usr/lib/ocaml/3.08.3/pcre";;
#load "pcre.cma";;
#directory "/usr/lib/ocaml/3.08.3";;
#load "unix.cma";;
#directory "/usr/lib/ocaml/3.08.3/netstring";;
#load "netstring.cma";;
#directory "/usr/lib/ocaml/3.08.3/cgi/";;
#load "netcgi.cma";;

The directory it's looking for netstring contains the following files (and many others):

jonathan@inner-sanctum:~/csi/ml$ ls /usr/lib/ocaml/3.08.3/netstring/|grep netstring
netstring.a
netstring.cma
netstring.cmxa
netstring_mt.cmi
netstring_mt.cmo
netstring_mt.cmx
netstring_mt.mli
netstring_mt.o
netstring_pcre.cmi
netstring_pcre.mli
netstring_str.cmi
netstring_str.mli
netstring_top.cmi
netstring_top.cmo
netstring_top.mli
jonathan@inner-sanctum:~/csi/ml$

What should I be doing next to get it to work?

--
++ Jonathan Hayward, jonathan.hayward@pobox.com
** To see an award-winning website with stories, essays, artwork,
** games, and a four-dimensional maze, why not visit my home page?
** All of this is waiting for you at http://JonathansCorner.com

** If you'd like a Google Mail ( gmail.com) account, please tell me! ------=_Part_6440_24151275.1152650120425--