From: "Nicolas Pouillard" <nicolas.pouillard@gmail.com>
To: Alan Schmitt <alan.schmitt@polytechnique.org>
Cc: caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] Sys.getenv does not work under OS X?
Date: Thu, 11 Sep 2008 14:58:42 +0200 [thread overview]
Message-ID: <1221137873-sup-1479@ausone.inria.fr> (raw)
In-Reply-To: <20774845-C8B3-478A-A5A1-398AFDD0F319@polytechnique.org>
[-- Attachment #1: Type: text/plain, Size: 673 bytes --]
Excerpts from Alan Schmitt's message of Thu Sep 11 14:51:06 +0200 2008:
> 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.
Wrong
> # Sys.getenv "HOST";;
> Exception: Not_found.
Should work
> Is Sys.getenv supposed to work under OS X?
I'm guessing some special thing for HOST, since it work for HOME
--
Nicolas Pouillard aka Ertai
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 194 bytes --]
next prev parent reply other threads:[~2008-09-11 12:59 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 ` [Caml-list] " Christian Sternagel
2008-09-11 12:58 ` Nicolas Pouillard [this message]
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=1221137873-sup-1479@ausone.inria.fr \
--to=nicolas.pouillard@gmail.com \
--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