Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

You can be replaced by this computer.


devel / comp.lang.mumps / Building Reference Standard M on Termux

SubjectAuthor
* Building Reference Standard M on TermuxSeth Trojacek
`- Re: Building Reference Standard M on TermuxDavid Wicksell

1
Building Reference Standard M on Termux

<32e6554a-200c-4267-ac26-3ec9a242c617n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=276&group=comp.lang.mumps#276

  copy link   Newsgroups: comp.lang.mumps
X-Received: by 2002:a37:9d44:: with SMTP id g65mr10097110qke.495.1639595920275;
Wed, 15 Dec 2021 11:18:40 -0800 (PST)
X-Received: by 2002:ac8:58ca:: with SMTP id u10mr13775534qta.44.1639595920122;
Wed, 15 Dec 2021 11:18:40 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.mumps
Date: Wed, 15 Dec 2021 11:18:39 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=165.95.80.250; posting-account=F4wdzAoAAADTtptsVZdRB7Mak8FnEwnc
NNTP-Posting-Host: 165.95.80.250
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <32e6554a-200c-4267-ac26-3ec9a242c617n@googlegroups.com>
Subject: Building Reference Standard M on Termux
From: trojacekseth@gmail.com (Seth Trojacek)
Injection-Date: Wed, 15 Dec 2021 19:18:40 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 21
 by: Seth Trojacek - Wed, 15 Dec 2021 19:18 UTC

Hello,
I am currently trying to build Reference Standard M on Termux.
I have done the following:

1. As Termux does not support 'sys/sem.h', I have used ack to replace the library with 'linux/sem.h', which Termux supports.
2. I replaced values.h in the file "runtime/func.c" with the corresponding libraries of <float.h> and <limits.h> to be compatible with Termux.
3. As Android does not support bzero, bcmp, or bcopy, I have created some defines to convert the operators to use their memcopy equivalents:
#define bcmp(a,b,n) memcmp(a,b,n)
#define bcopy(s, d, siz) memcpy((d), (s), (siz))
#define bzero(d, siz) memset((d), '\0', (siz))

I am currently able to get the system to build, and am able to run the command: rsm -v TST -b 16 -s 4096 tst.dat
From the examples, without any issue.
However, after trying to run: rsm -j 12 tst.dat
I get the error of: bad system call.

I believe once this error is fixed, RSM will be usable on the Termux platform.
If someone is able to provide some assistance, I would greatly appreciate it.
I am rather new to the Termux platform, and even more so to M/MUMPS, but I am happy to help out as best as I can, to have an M/MUMPS database running on Android.

Thank you,
Seth

Re: Building Reference Standard M on Termux

<e8d049a8-72d7-4558-a61d-88dd7af31cafn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=277&group=comp.lang.mumps#277

  copy link   Newsgroups: comp.lang.mumps
X-Received: by 2002:a05:620a:1991:: with SMTP id bm17mr12905330qkb.459.1639681102049;
Thu, 16 Dec 2021 10:58:22 -0800 (PST)
X-Received: by 2002:a05:620a:25c8:: with SMTP id y8mr13371088qko.455.1639681101861;
Thu, 16 Dec 2021 10:58:21 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.mumps
Date: Thu, 16 Dec 2021 10:58:21 -0800 (PST)
In-Reply-To: <32e6554a-200c-4267-ac26-3ec9a242c617n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:8c1:8400:b130:c287:c8b3:4e9b:66c1;
posting-account=PsiyswoAAAC8oeIre1Ec56jiRFgjerM6
NNTP-Posting-Host: 2601:8c1:8400:b130:c287:c8b3:4e9b:66c1
References: <32e6554a-200c-4267-ac26-3ec9a242c617n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e8d049a8-72d7-4558-a61d-88dd7af31cafn@googlegroups.com>
Subject: Re: Building Reference Standard M on Termux
From: dlwicksell@gmail.com (David Wicksell)
Injection-Date: Thu, 16 Dec 2021 18:58:22 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 15
 by: David Wicksell - Thu, 16 Dec 2021 18:58 UTC

Hi Seth,

I'm the developer and maintainer of RSM. I have never heard of Termux before, but I can see
that it is an Android terminal emulator. If I have some time, after the holidays, maybe I can get
an Android emulator going, and try to build and run RSM on that platform. But at the moment
I have no access to such an environment to look at this. It currently builds and runs quite well on
Mobian, another mobile phone platform, and it runs on multiple ARM chips without issue, so I
agree with you that it should be able to run on Termux.

So again, if I have a chance to get such an environment up and running, either natively, or in an
emulator, then I can get it working for you. But officially, that is not a supported platform for RSM
at this time. Thank you for your interest in RSM. You can contact me directly if you have any
questions.

David Wicksell
Fourth Watch Software LC

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor