Re: [Oorexx-devel] Question ad CMake and MacOS ("rxapi" related)

2018-11-26 Thread P.O. Jonsson
Running High Sierra I can run all tests (-API) with my own installation to /opt 
AND with the version made by Enrico for USB. On three different (but very 
similar)  machines.

I think that the reason for the incompatibility may indeed be „Mojave“. Later 
this week I will wipe one machine and install Mojave and see what differences 
this makes. This may well cause us som pain. I think of all the „deprecated“ 
things and other warnings coming out of the build process.

@Rony: you do not need to do anything for the moment, once I have some 
different OS version it will be easier to compare installations.

Hälsningar/Regards/Grüsse,
P.O. Jonsson
oor...@jonases.se




> Am 26.11.2018 um 13:55 schrieb Rony G. Flatscher :
> 
> Just a brief update on this list (and a private e-Mail to Enrico with more 
> infos).
> 
> On 26.11.2018 00:04, Rony wrote:
>> Thank you very much, will test it tomorrow when back at the office!
> My Apple machine got updated to Mojave, should that make a difference as I 
> was only able to run
> "rexx -e" from everywhere, but when trying to run a Rexx script on my machine 
> I get some "Failure
> loading required base library“

> There might be something different/wrong on my Apple machine as P.O. reported 
> that he cannot get all
> ooRexx test units execute successfully with the BSF4ooRexx installation 
> (whereas I can), but now he
> has been able to succeed with the stick version.
> 
> ---rony
> 
> 
> 
> ___
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel

___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] Question ad CMake and MacOS ("rxapi" related)

2018-11-26 Thread Rony G. Flatscher
Just a brief update on this list (and a private e-Mail to Enrico with more 
infos).

On 26.11.2018 00:04, Rony wrote:
> Thank you very much, will test it tomorrow when back at the office!
My Apple machine got updated to Mojave, should that make a difference as I was 
only able to run
"rexx -e" from everywhere, but when trying to run a Rexx script on my machine I 
get some "Failure
loading required base library".

There might be something different/wrong on my Apple machine as P.O. reported 
that he cannot get all
ooRexx test units execute successfully with the BSF4ooRexx installation 
(whereas I can), but now he
has been able to succeed with the stick version.

---rony



___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] Installers for ooRexx on macOS

2018-11-26 Thread P.O. Jonsson
Dear all,

I have uploaded Enricos USB-with-no-sudo installation to my dropbox; please try 
it out. I have scrapped my own one since this one is so much better.

Hälsningar/Regards/Grüsse,
P.O. Jonsson
oor...@jonases.se




> Am 26.11.2018 um 01:30 schrieb P.O. Jonsson :
> 
> Dear all,
> 
> This is just to inform that I have updated my standalone installers for 
> ooRexx 5.0.0 on Mac, they can be found here:
> 
> https://www.dropbox.com/sh/p66c7g01h4jz5ss/AAAZd_Q2yQddrTHagxPo_UiTa?dl=0 
> 
> 
> There is one command line installer in a dmg file, and one proper installer 
> with all the bells & whistles. There is also an uninstall script that can be 
> used for both.
> 
> Both are from build 11525 from yesterday and both install to /opt. Both now 
> also include rxapi support and both pass all the tests with the exception of 
> the API stuff (8 failing tests).   
> 
> Both are build with the default CMakelists.txt (with redirection of the build 
> to /opt).
> 
> Hälsningar/Regards/Grüsse,
> P.O. Jonsson
> oor...@jonases.se 
> 
> 
> 
> 
> ___
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel

___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] Question ad CMake and MacOS ("rxapi" related)

2018-11-26 Thread P.O. Jonsson
Dear all,

I can confirm that Enricos installation runs (blazingly fast!) from a USB stick 
on a MAC without any elevated user rights whatsoever. I have run the complete 
test case suite (except the API) and they all work, see below. The USB 
installation (running from a not-so-fast USB2 stick) performs just as fast as 
my own installation in /opt on a SSD disk! WOW!

Enricos installation also come with some sugar that I would love to have in the 
official builds, the indication of the build revision, see below. When I build 
some days later than the SVN Update I get the current date (but a build from 
some days ago). Build revision would help when checking installers against 
eachother (BSF4ooRexx versus standalone for instance).

Also I can confirm that rexx AND rxapi run as user „po“ in the USB build,  in a 
normal installation rxapi run as "root".

rxapi seems to start only once the rexx process launches (intended I guess) and 
I have to use kill to stop rxapi before ejecting.

The first time after I had killed rxapi and reinstalled my own installation I 
had a glitch:

Searching for test containers.Segmentation fault: 11

But redoing the command it worked and the entire test suite ran without 
problem, so not sure what happened. Maybe Enrico gets some idea? How should one 
stop running the USB build in the most unintrusive way?

This is a leap forward!

Last login: Mon Nov 26 10:34:35 on ttys001

cd /Volumes/4GB

source ooRexx_vars

rexx -v
Open Object Rexx Version 5.0.0 Rev:11523
Build date: Nov 22 2018
Addressing mode: 64
Copyright (c) 1995, 2004 IBM Corporation. All rights reserved.
Copyright (c) 2005-2018 Rexx Language Association. All rights reserved.
This program and the accompanying materials are made available under the terms
of the Common Public License v1.0 which accompanies this distribution or at
http://www.oorexx.org/license.html

rexx rexxcps

- REXXCPS 2.1 -- Measuring REXX clauses/second -
 REXX version is: REXX-ooRexx_5.0.0(MT)_64-bit 6.05 22 Nov 2018
   System is: DARWIN
   Averaging: 100 measures of 30 iterations

Total (full DO): 0.00459054 secs (average of 100 measures of 30 iterations)
Time for one iteration (1000 clauses) was: 0.000153018 seconds

 Performance: 6535179 REXX clauses per second

./pathfind 1417

proc 1417: /Volumes/4GB/bin/rxapi

Executing tests from .../ooRexx/utilities/rxqueue/rxQueue.testGroup

ooTest Framework - Automated Test of the ooRexx Interpreter

Interpreter:REXX-ooRexx_5.0.0(MT)_64-bit 6.05 22 Nov 2018
OS Name:DARWIN
SysVersion: Darwin Darwin Kernel Version 16.7.0: Wed Oct 10 20:06:00 
PDT 2018; root:xnu-3789.73.24~1/RELEASE_X86_64.16.7.0

Tests ran:  22398
Assertions: 375164
Failures:   0
Errors: 0

File search:00:00:01.603582
Suite construction: 00:00:01.395994
Test execution: 00:03:05.549436
Total time: 00:03:09.001582

Hälsningar/Regards/Grüsse,
P.O. Jonsson
oor...@jonases.se




> Am 25.11.2018 um 18:26 schrieb Enrico Sorichetti via Oorexx-devel 
> :
> 
> 
>> I have just started work on a solution that no longer requires a single 
>> daemon for the platform but rather use a single process per Rexx user. Right 
>> now, I'm working on refactoring the code a bit to make it easier to plug in 
>> different management schemes, and the next step will be to convert Windows, 
>> which is the version that will require the most new code, then will address 
>> the *ix variants after that. I'll need so assistance from somebody on that 
>> step as I don't have a Linux setup any more. When this is all done, all of 
>> this daemon stuff, including the writing of the PID files should go away and 
>> things will get a lot simpler. 
> 
> As already told the only reason rxapi needs to be run as sudo is that it 
> writes to /var/run 
> 
> I have already - in my sandbox - modified rxapi
> To get the OOREXX_PIDFILE environment variable and use it 
> I use export OOREXX_PIDFILE=/tmp/ooRexx.pid 
> 
> And since SysLocalAPIManager starts the rxapi process 
> Nothing has to be done 
> 
> I have been running for a few days with this setup and everything works as a 
> charm
> 
> I run successfully the test suite ( the native api section needs a few 
> adjustments )
> rexx testOORexx -s -X native_api with 0 errors 
> 
> I was able also  to build a fully relocatable binary that can run from a usb 
> stick with just a couple of exports
> The new PATH for the bin directory of rexx, the NLSPATH for the rexx.cat and 
> the OOREXX_PIDFILE  for the rxapi thing
> 
> I have sent my binaries to P.O and Rony to have a confirmation of my findings 
> As soon as they confirm I will post a patch for wider testing
> 
> Cheers
> 
> Enrico 
> 
> 
> 
> 
> 
> 
> 
> ___
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel

___