caml-list - the Caml user's mailing list
 help / color / Atom feed
From: Ian Zimmerman <itz@very.loosely.org>
To: caml-list@inria.fr
Subject: Re: [Caml-list] cannot create new opam switches
Date: Thu, 19 Mar 2020 13:25:07 -0700
Message-ID: <20200319202507.xukj4fxwsk72a6gp@matica> (raw)
In-Reply-To: <20200319194406.fd234fbnnqowt34b@matica>

On 2020-03-19 12:44, Ian Zimmerman [i.e. myself] wrote:

> # [...]
> # echo '#!/home/itz/.local/packages/opam/4.10.0/bin/ocamlruni' > target_camlheaderi
> # ../boot/ocamlrun ../boot/ocamlc -use-prims ../runtime/primitives -strict-sequence -absname -w +a-4-9-41-42-44-45-48 -g -warn-error A -bin-annot -nostdlib -safe-string -strict-formats  -nopervasives -c camlinternalFormatBasics.ml
> # ../boot/ocamlrun ../boot/ocamlc -use-prims ../runtime/primitives -strict-sequence -absname -w +a-4-9-41-42-44-45-48 -g -warn-error A -bin-annot -nostdlib -safe-string -strict-formats  -nopervasives -no-alias-deps -w -49  -pp "$AWK -f expand_module_aliases.awk" -c stdlib.mli
> # gawk: fatal: can't open source file `expand_module_aliases.awk' for reading (No such file or directory)

Ok, I got it.  Being on the paranoid side, I have an AWKPATH in my
environment that doesn't include ".".  I must be really unusual in that
respect. :-P

That script or makefile should probably say "awk -f
./expand_module_aliases.awk".  Or it should set its own AWKPATH
locally.  Is a bug report desired?

-- 
Ian

  reply index

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-19 19:44 Ian Zimmerman
2020-03-19 20:25 ` Ian Zimmerman [this message]
2020-03-20 16:05   ` Florian Angeletti
2020-03-20 19:01     ` Ian Zimmerman

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=20200319202507.xukj4fxwsk72a6gp@matica \
    --to=itz@very.loosely.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

caml-list - the Caml user's mailing list

Archives are clonable:
	git clone --mirror http://inbox.vuxu.org/caml-list
	git clone --mirror https://inbox.ocaml.org/caml-list

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.caml-list


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git