From: Christian Sternagel <christian.sternagel@uibk.ac.at>
To: Alan Schmitt <alan.schmitt@polytechnique.org>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Sys.getenv does not work under OS X?
Date: Thu, 11 Sep 2008 14:54:30 +0200 [thread overview]
Message-ID: <48C91506.2060900@uibk.ac.at> (raw)
In-Reply-To: <20774845-C8B3-478A-A5A1-398AFDD0F319@polytechnique.org>
Alan Schmitt wrote:
> Hello,
>
> I'm using OS X (Leopard, up to date), with ocaml 3.10.2 (compiled with
> godi), and I was trying to use htmlc which fails for some reason. it
> boils down to the following:
>
> schmitta@charm compiler % echo $HOST
> charm.inrialpes.fr
> schmitta@charm compiler % ledit ocaml
> Objective Caml version 3.10.2
>
> # Sys.getenv "$HOST";;
> Exception: Not_found.
> # Sys.getenv "HOST";;
> Exception: Not_found.
Maybe you ment
Sys.getenv "HOSTNAME"
?
cheers
christian
>
>
> Is Sys.getenv supposed to work under OS X?
>
> Thanks a lot,
>
> Alan Schmitt
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
next prev parent reply other threads:[~2008-09-11 12:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-11 12:51 Alan Schmitt
2008-09-11 12:54 ` Christian Sternagel [this message]
2008-09-11 12:58 ` [Caml-list] " Nicolas Pouillard
2008-09-11 14:22 ` Eric Cooper
2008-09-11 14:42 ` Alan Schmitt
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=48C91506.2060900@uibk.ac.at \
--to=christian.sternagel@uibk.ac.at \
--cc=alan.schmitt@polytechnique.org \
--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