[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Sys.getenv bug?

After complaining that I can not compile Pierre Weiss' htmlc he asked
me to test Sys.getenv in the toplevel and this is what I get:

# Sys.getenv "HOST";;
Exception: Not_found.

According to him an error like this indicates a "strange" ocaml

I have, following his suggestion, purged ocaml, deleted /usr/lib/ocaml
and reinstalled ocaml (the Sid packages) but the same error occurs
with the new installation.

In zsh:

zsh % echo $HOST

Now my question:  How do I correct this problem?

Johann Spies          Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

     "For what shall it profit a man, if he shall gain the 
      whole world, and lose his own soul?"      Mark 8:36 

Reply to: