caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Jonathan Hayward http://JonathansCorner.com" <christos.jonathan.hayward@gmail.com>
To: "Christophe TROESTLER" <Christophe.Troestler@umh.ac.be>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] "Hello web" please
Date: Tue, 11 Jul 2006 16:35:20 -0400	[thread overview]
Message-ID: <fdc31b650607111335m9d72179l512607c4674e6b02@mail.gmail.com> (raw)
In-Reply-To: <20060711.201429.245541912.Christophe.Troestler@umh.ac.be>

[-- Attachment #1: Type: text/plain, Size: 1917 bytes --]

>
> 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!

[-- Attachment #2: Type: text/html, Size: 2583 bytes --]

  reply	other threads:[~2006-07-11 20:35 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-08 15:05 Jonathan Hayward http://JonathansCorner.com
2006-07-08 20:47 ` [Caml-list] " Christophe TROESTLER
2006-07-10 15:02   ` Jonathan Hayward http://JonathansCorner.com
2006-07-10 15:48     ` Christophe TROESTLER
2006-07-11 14:23       ` Jonathan Hayward http://JonathansCorner.com
2006-07-11 14:33         ` Maxence Guesdon
2006-07-11 14:42         ` Christophe TROESTLER
2006-07-11 17:40           ` Jonathan Hayward http://JonathansCorner.com
2006-07-11 18:14             ` Christophe TROESTLER
2006-07-11 20:35               ` Jonathan Hayward http://JonathansCorner.com [this message]
2006-07-12 11:20                 ` Jonathan Roewen
2006-07-10 15:51     ` Jonathan Roewen
2006-07-10 14:49 ` Jonathan Hayward http://JonathansCorner.com
2006-07-10 15:14   ` [Caml-list] " Christophe TROESTLER

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fdc31b650607111335m9d72179l512607c4674e6b02@mail.gmail.com \
    --to=christos.jonathan.hayward@gmail.com \
    --cc=Christophe.Troestler@umh.ac.be \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).