My guess is that he has debian stable’s system ocaml (which seems to be ocaml-4.05) also installed. In any event, using opam to provide ocaml-4.08 should solve it. Uninstalling debian’s ocaml package would also be a good idea, irrespective of that.
That would explain the problem, Stdlib is new in 4.08 so the newly installed toplevel doesn’t find it. With a version pre 4.08 magic number errors would likely have been output.
No idea, I don’t use debian. It was the fact that Stdlib was reported missing which made me think of clashing compilers. In any event, having two versions of the ocaml compiler installed, one in the /usr prefix and one in the /usr/local prefix, is asking for trouble, if that is what has happened. The person concerned would not, I hope, try the same thing with gcc/g++.
Leaving it to opam will solve these problems as it sets up multiple compilers for you correctly.
These permissions look right no ? Is it the ocaml dir that is not traversable ?
Regarding error reporting by ocaml it’s a pity it doesn’t report a better error message. I’m almost sure this can be blamed on use of Sys.file_exists which does not raise on permission errors but returnsfalse on these which is a very bad idea.