From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: caml-list@inria.fr
Subject: Sys.getenv does not work under OS X?
Date: Thu, 11 Sep 2008 14:51:06 +0200 [thread overview]
Message-ID: <20774845-C8B3-478A-A5A1-398AFDD0F319@polytechnique.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 479 bytes --]
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.
Is Sys.getenv supposed to work under OS X?
Thanks a lot,
Alan Schmitt
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 186 bytes --]
next reply other threads:[~2008-09-11 12:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-11 12:51 Alan Schmitt [this message]
2008-09-11 12:54 ` [Caml-list] " Christian Sternagel
2008-09-11 12:58 ` 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=20774845-C8B3-478A-A5A1-398AFDD0F319@polytechnique.org \
--to=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;
as well as URLs for NNTP newsgroup(s).