ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <j.hagen@xs4all.nl>
To: "Jairo A. del Rio" <jairoadelrio6@gmail.com>,
	mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Install script not working
Date: Fri, 25 Jun 2021 00:23:26 +0200	[thread overview]
Message-ID: <5dad0a41-9ac9-97f2-8bd9-a777e99e8a99@xs4all.nl> (raw)
In-Reply-To: <CAKyqqaZU4LsCsvBrj_D94-OYbP8Vq0U5_FbTE1SZroAU4qx_KQ@mail.gmail.com>

On 6/24/2021 11:58 PM, Jairo A. del Rio wrote:
> 
> 
> El jue, 24 de jun. de 2021 a la(s) 16:55, Hans Hagen (j.hagen@xs4all.nl 
> <mailto:j.hagen@xs4all.nl>) escribió:
> 
>     On 6/24/2021 11:47 PM, Jairo A. del Rio wrote:
>      >
>      >
>      > El jue, 24 de jun. de 2021 a la(s) 16:42, Hans Hagen
>     (j.hagen@xs4all.nl <mailto:j.hagen@xs4all.nl>
>      > <mailto:j.hagen@xs4all.nl <mailto:j.hagen@xs4all.nl>>) escribió:
>      >
>      >     On 6/24/2021 11:35 PM, Jairo A. del Rio wrote:
>      >      >
>      >      >
>      >      > El jue, 24 de jun. de 2021 a la(s) 16:30, Hans Hagen
>      >     (j.hagen@xs4all.nl <mailto:j.hagen@xs4all.nl>
>     <mailto:j.hagen@xs4all.nl <mailto:j.hagen@xs4all.nl>>
>      >      > <mailto:j.hagen@xs4all.nl <mailto:j.hagen@xs4all.nl>
>     <mailto:j.hagen@xs4all.nl <mailto:j.hagen@xs4all.nl>>>) escribió:
>      >      >
>      >      >     On 6/24/2021 11:20 PM, Jairo A. del Rio wrote:
>      >      >      > It prints:
>      >      >      >
>      >      >      > uname -m rb
>      >      >     hm, that is a real last resort attempt to determine what
>      >     system it is
>      >      >     running on (we try to avoid such calls)
>      >      >
>      >      >     -- on linux if HOSTNAME is not known (did that change?)
>      >      >     -- on sunos always  (does anyone know an env var?)
>      >      >     -- on freebsd always (does anyone know an env var?)
>      >      >
>      >      >
>      >      > Tbh I don't know. I'm on Ubuntu 20.04 and I haven't made any
>      >     important
>      >      > changes on the OS. In case it helps, only the latest LMTX
>      >     produces this
>      >      > error.
>      >      >
>      >      >     (the 'rb' looks suspicious ... i'll check that)
>      >     what does
>      >
>      >     echo $HOSTTYPE
>      >
>      >
>      > The same as uname -m: x86_64
> 
>     weird, so can you add a print (around 4037)
> 
>     elseif name=="linux" then
>        function resolvers.platform(t,k)
>     print("!!!!!",os.getenv("HOSTTYPE"))
>         local architecture=os.getenv("HOSTTYPE") or resultof("uname -m")
>     or ""
> 
> 
> It prints "nil" here
i uploaded a version that might do better (lua is picky about the 'rb' 
which i need for binary pipes)

now this nil ... on my opensuse on wsl it does print the expected ... 
puzzling

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2021-06-24 22:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-24 21:02 Jairo A. del Rio
2021-06-24 21:14 ` Hans Hagen
2021-06-24 21:20   ` Jairo A. del Rio
2021-06-24 21:30     ` Hans Hagen
2021-06-24 21:35       ` Jairo A. del Rio
     [not found]         ` <383d8e82-d1cf-dd2b-c6d5-9fe490b43bcf@xs4all.nl>
2021-06-24 21:47           ` Jairo A. del Rio
     [not found]             ` <89534f86-cd67-7e40-9c1b-09f15b50e76e@xs4all.nl>
2021-06-24 21:58               ` Jairo A. del Rio
2021-06-24 22:23                 ` Hans Hagen [this message]
2021-06-24 22:32                   ` Jairo A. del Rio
2021-06-27 22:57       ` Alan Braslau
2021-06-24 21:25   ` Jairo A. del Rio

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=5dad0a41-9ac9-97f2-8bd9-a777e99e8a99@xs4all.nl \
    --to=j.hagen@xs4all.nl \
    --cc=jairoadelrio6@gmail.com \
    --cc=ntg-context@ntg.nl \
    /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).