Dear P.O.:
On 28.11.2017 21:43, P.O. Jonsson wrote:
> there is no urgency from my side, I am working on other parts at the moment,
> I just stumbled on
> the Korn shell while using the ADDRESS instruction, hence the question.
>
> In relation to this: What is the output from rexxtry if you enter time()
> alone on a line? I get this
>
> say 1/0
> Oooops ! ... try again. Arithmetic overflow/underflow.
> Arithmetic overflow; divisor must not be zero.
> rc = 42.3 .................................... rexxtry.REX on DARWIN
> say time()
> 21:34:27
> .............................................. rexxtry.REX on DARWIN
> time
> rc = 0 ....................................... rexxtry.REX on DARWIN
> time()
> Message Catalog System: corrupt file.Message Catalog System: corrupt
> file.Message Catalog System:
> corrupt file.ksh: 21:35:42: not found
> rc = 127 ..................................... rexxtry.REX on DARWIN
> quit
> Message Catalog System: corrupt file.Message Catalog System: corrupt
> file.Message Catalog System:
> corrupt file.ksh: QUIT: not found
> rc = 127 ..................................... rexxtry.REX on DARWIN
> exit
> POs-Mac-Pro:~ po$
>
> As you can see some errors are handled but some are not. I think because the
> file rexx.cat is in
> the wrong place.
Yes, rexx.cat is not necessarily in the place ooRexx looks for it and therefore
sometimes is not
able to locate it. ooRexx should look in the same directory where the rexx
binary is located as
rexx.cat accompanies it, if it does not find it (as a fallback solution).
Because of this my installation of BSF4ooRexx with ooRexx included sets the
environment variable
"NLSPATH" to read:
NLSPATH=$NLSPATH:/usr/local/bin/rexx.cat
Because of this in my case executing "time()" will yield the proper error
message on MacOSX:
time()
ksh: 14:17:30: not found
I thought that I have had a bug opened against ooRexx, but just saw that I
closed it in 2012.
> If it is the same on Win or Linux it is a general problem but I think it is a
> MAC problem only. I
> use the latest build from BSF4ooRexx and it is the same on several machines.
That is strange, as BSF4ooRexx for MacOSX would set NLSPATH as described above.
Maybe try the following:
export NLSPATH=$NLSPATH:/usr/local/bin/rexx.cat
and rerun your test in that shell.
---
Also, on MacOSX the hash-bang line in the Rexx scripts need to change from
"#!/usr/bin/rexx" to
"#!/usr/local/bin/rexx" in order to function. In this context it would also be
interesting to learn
whether on Linux installing (creating symbolic links) should be done to
"/usr/local/*" as well or to
keep it to "/usr/*".
HTH,
---rony
>
>
>> Am 28.11.2017 um 20:58 schrieb Rony G. Flatscher <rony.flatsc...@wu.ac.at
>> <mailto:rony.flatsc...@wu.ac.at>>:
>>
>> On 28.11.2017 20:30, Erich Steinböck wrote:
>>>
>>> Can you tell me the date r11331 went into "Production"?
>>>
>>> Hi P.O.
>>> I just had committed r11331 to trunk on Nov 26 night.
>>> Should you be looking for a Mac build which already includes r11331, I
>>> can't be of much help.
>>> I don't build on Mac, and until now no-one has connected a Mac slave (which
>>> then would make the
>>> built image available publicly) to our Jenkins build machine.
>>>
>>> Options are
>>>
>>> * pull the latest trunk with `svn update` and build yourself
>>> * ask Rony
>>> * donate a Jenkins slave
>>>
>>
>> If a new version for MacOSX is needed, I would be able to work on one
>> tomorrow.
>>
>> Please let me know, as I otherwise would wait with a new release for a
>> former student's work
>> ("ooRexxTryFX", a JavaFX implementation of "ooRexxTry" that will run on any
>> platform, being much
>> faster and much leaner and has one particlular *nice* feature that should
>> come as a little
>> surprise to anyone checking it out :) ) which I would like to be included in
>> future distributions
>> of BSF4ooRexx (needs changes in various de/installation scripts, hence
>> additional tests and might
>> therefore take a little while before it can be released to the public; also
>> note that ooRexxTryFX
>> will need the latest versions of ooRexx 5.0).
>>
>> ---rony
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel