From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id pAF9hjhH028439 for ; Tue, 15 Nov 2011 10:43:45 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqUBAKMzwk5KfVIqi2dsb2JhbABDhQGVJQGMX4EPgU0IIgEBAQoLCwcSBiGCCwIPfA8CJgIkEgEFAQ4BSKJgglwKixqSLIEwhT+Bf4EWBJQwjU09g3E X-IronPort-AV: E=Sophos;i="4.69,514,1315173600"; d="scan'208";a="119032635" Received: from mail-ww0-f42.google.com ([74.125.82.42]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 15 Nov 2011 10:43:39 +0100 Received: by wwi18 with SMTP id 18so6438315wwi.3 for ; Tue, 15 Nov 2011 01:43:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.180.106.104 with SMTP id gt8mr29887302wib.6.1321350219366; Tue, 15 Nov 2011 01:43:39 -0800 (PST) Received: by 10.180.100.39 with HTTP; Tue, 15 Nov 2011 01:43:39 -0800 (PST) Date: Tue, 15 Nov 2011 10:43:39 +0100 Message-ID: From: Andrej Bauer To: caml-list@inria.fr Content-Type: text/plain; charset=UTF-8 Subject: [Caml-list] How to fail to install Ocaml in 18 steps I would like to report on a recent experience of a student of mine who is starting to learn Ocaml. His first taks was to get Ocaml installed on his Windows 7. The student previously had no trouble installing Java, Eclipse, erlang, and an erlang plugin for Eclipse. 1. He tried to install with the binary installer for Windows. Norton Antivirus told him the installer has too low a reputation and deleted it. 2. He installed the source, which meant he just unpacked it someplace. 3. He installed one of the Ocaml plugins for Eclipse, I think it was the fpeclipse one. 4. The plugin complained that it can't find Ocaml, even though he told it where he unpacked the source. Then I came in. I realized he just unpacked the source, asked him if he tried the binary installer, and he told me the antivirus story. So we went on: 5. We deleted the source. 6. We installed Mingw. 7. We disabled Norton Antivirus and installed Ocaml with the binary installer. 8. Eclipse stopped working. 9. I diagoned the problem relatively quickly: the Ocaml installer or maybe MinGW destroyed the PATH environment variable. 10. We spent some time restoring PATH to a correct value. 11. We deleted the Eclipse plugins because they didn't work somehow. 12. We installed OcaIDE into Eclipse. 13. OcaIDE told us it won't work without Cygwin. 14. We installed Cygwin, but did not know what packages OcaIDE wanted, so we just installed whatever was turned on by default. 15. I felt stupid for having installed Mingw in step 5, now that we had Cygwin. 16. We followed the video tutorial for OcaIDE to create a HelloWorld project. 17. OcaIDE did not work because there was some error in some XML file. 18. I told the student to check forums, check that OcaIDE works with Eclipse 3.7, and to generally pray to the gods of software. I am waiting for him to come back. Does it really have to be that hard? It's not a stupid student, you know. And he has the right to use Eclipse, so don't tell me he should learn Emacs. Emacs is for old people like you and me. With kind regards, Andrej