Re: [Oorexx-devel] ooRexx on Windows 8

2021-07-14 Thread Jason Martin

https://en.wikipedia.org/wiki/Uptime

That is really good with programming, testing and running new applications.

Thanks again.





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


Re: [Oorexx-devel] ooRexx on Windows 8

2021-07-14 Thread Jason Martin

Does the machine have a six month uptime?

Is it connected to the internet?

Just curious.

Thanks,

On 2021-07-14 12:15, Mike Cowlishaw wrote:

last reboot was in January, or thereabouts,
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] Fwd: Failing build on FreeBSD12

2020-03-20 Thread Jason Martin

Same goes on OpenBSD.

Patching required in multiple places.



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


Re: [Oorexx-devel] Questions ad generating the documentation (publican, pandoc)

2019-10-30 Thread Jason Martin

Maybe pandoc to get docs into a format that can be used by:

http://www.sphinx-doc.org/en/master/index.html

I had problems getting ghc up to standards on OpenIndiana and Haiku OS?

Needed it for http://www.rastersoft.com/programas/autovala.html

Do not know if it is that way on OS/2?

I know these are weird platforms but python like perl is everywhere.

Sorry, if this does not make it into the right thread. Already cleared 
out mail today.





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


Re: [Oorexx-devel] Segmentation fault when running test suite on Ubuntu

2019-05-19 Thread Jason Martin

Does on OpenBSD 6.5 also, have not checked OpenIndiana or Haiku in awhile.



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


Re: [Oorexx-devel] At revision r11865

2019-04-20 Thread Jason Martin

Same for OpenIndiana.


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


[Oorexx-devel] OpenIndiana new test errors.

2019-04-10 Thread Jason Martin

Open Object Rexx Version 5.0.0 r11858

agrellum@openindiana:~/tests$ rexx testOORexx.rex -X native_api
Searching for test containers...
Executing automated test suite... 
...

...
.Error 97.1:  Object "a SUPERTESTER" does not understand 
message "TESTOVERRIDEXXX".

..
.

ooTest Framework - Automated Test of the ooRexx Interpreter

Interpreter:    REXX-ooRexx_5.0.0(MT)_64-bit 6.05 10 Apr 2019
OS Name:    SUNOS
SysVersion: SunOS 5.11

Tests ran:  22657
Assertions: 377624
Failures:   9
Errors: 0

[failure] [20190411 00:11:07.026440]
  svn:    r11626   Change date: 2018-12-16 16:05:44 -0500
  Test:   TEST_NEWFILE_CONTEXT_FLOATINGMETHOD
  Class:  Routine.testGroup
  File:   .../ooRexx/base/class/Routine.testGroup
  Line:   310
  Failed: assertEquals
    Expected: [[ClassPublic RoutinePublic Class Routine], 
identityHash="-77790625"]

    Actual:   [[], identityHash="-7028017"]

[failure] [20190411 00:11:07.029537]
  svn:    r11626   Change date: 2018-12-16 16:05:44 -0500
  Test:   TEST_NEWFILE_CONTEXT_METHOD
  Class:  Routine.testGroup
  File:   .../ooRexx/base/class/Routine.testGroup
  Line:   296
  Failed: assertEquals
    Expected: [[ClassPublic RoutinePublic Class Routine], 
identityHash="-77790625"]

    Actual:   [[], identityHash="-7028017"]

[failure] [20190411 00:11:07.032662]
  svn:    r11626   Change date: 2018-12-16 16:05:44 -0500
  Test:   TEST_NEWFILE_CONTEXT_METHODPUBLIC
  Class:  Routine.testGroup
  File:   .../ooRexx/base/class/Routine.testGroup
  Line:   282
  Failed: assertEquals
    Expected: [[ClassPublic RoutinePublic Class Routine], 
identityHash="-77790625"]

    Actual:   [[], identityHash="-7028017"]

[failure] [20190411 00:11:07.037007]
  svn:    r11626   Change date: 2018-12-16 16:05:44 -0500
  Test:   TEST_NEWFILE_CONTEXT_ROUTINE
  Class:  Routine.testGroup
  File:   .../ooRexx/base/class/Routine.testGroup
  Line:   316
  Failed: assertEquals
    Expected: [[ClassPublic RoutinePublic Class Routine], 
identityHash="-77790625"]

    Actual:   [[], identityHash="-7028017"]

[failure] [20190411 00:11:07.038780]
  svn:    r11626   Change date: 2018-12-16 16:05:44 -0500
  Test:   TEST_NEWFILE_CONTEXT_THISPACKAGE
  Class:  Routine.testGroup
  File:   .../ooRexx/base/class/Routine.testGroup
  Line:   276
  Failed: assertEquals
    Expected: [[ClassPublic RoutinePublic Class Routine], 
identityHash="-77790625"]

    Actual:   [[], identityHash="-7028017"]

[failure] [20190411 00:11:54.410653]
  svn:    r11734   Change date: 2019-02-08 15:41:41 -0500
  Test:   TEST_NO_FILE
  Class:  SysFileSearch.testgroup
  File:   .../ooRexx/base/rexxutil/SysFileSearch.testGroup
  Line:   84
  Failed: assertSame
    Expected: [[3], identityHash="-7134289"]
    Actual:   [[0], identityHash="-411615025"]

[failure] [20190411 00:12:03.751013]
  svn:    r11562   Change date: 2018-12-03 23:45:29 +0100
  Test:   TEST_REXXC_ONE_ARG
  Class:  rexxc.testGroup
  File:   .../ooRexx/utilities/rexxc/rexxc.testGroup
  Line:   100
  Failed: assertTrue
    Expected: [1]
    Actual:   [[0], identityHash="-7002433"]
    Message:  rexxc test_rexxc.rex is expected to produce a few lines 
of output


[failure] [20190411 00:12:03.919202]
  svn:    r11562   Change date: 2018-12-03 23:45:29 +0100
  Test:   TEST_REXXC_ONE_ARG_SYNTAX
  Class:  rexxc.testGroup
  File:   .../ooRexx/utilities/rexxc/rexxc.testGroup
  Line:   91
  Failed: assertTrue
    Expected: [1]
    Actual:   [[0], identityHash="-7002433"]
    Message:  rexxc is expected to produce a few lines of output

[failure] [20190411 00:12:03.993469]
  svn:    r11562   Change date: 2018-12-03 23:45:29 +0100
  Test:   TEST_REXXC_TWO_ARGS
  Class:  rexxc.testGroup
  File:   .../ooRexx/utilities/rexxc/rexxc.testGroup
  Line:   125
  Failed: assertTrue
    Expected: [1]
    Actual:   [[0], identityHash="-7002433"]
    Message:  a few lines of output expected from rexxc 'EMPTY 0'

Interpreter:    REXX-ooRexx_5.0.0(MT)_64-bit 6.05 10 Apr 2019
OS Name:    SUNOS
SysVersion: SunOS 5.11

Tests ran:  22657
Assertions: 377624
Failures:   9
Errors: 0

File search:    00:00:05.875845
Suite construction: 00:00:02.487561
Test execution: 00:03:43.750435
Total time: 00:03:52.367597



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


[Oorexx-devel] New test failure after r11845

2019-03-21 Thread Jason Martin

Open Object Rexx Version 5.0.0 r11846

agrellum@openindiana:~/test$ rexx testOORexx.rex -X native_api
Searching for test containers
Executing automated test suite 
..

...
...
.3623
20001


ooTest Framework - Automated Test of the ooRexx Interpreter

Interpreter:    REXX-ooRexx_5.0.0(MT)_64-bit 6.05 21 Mar 2019
OS Name:    SUNOS
SysVersion: SunOS 5.11

Tests ran:  22642
Assertions: 377533
Failures:   4
Errors: 0

[failure] [20190321 12:04:52.976675]
  svn:    r11734   Change date: 2019-02-08 15:41:41 -0500
  Test:   TEST_SEARCH_FILE
  Class:  SysFileXXX.testgroup
  File:   .../ooRexx/base/rexxutil/SysFileXXX.testGroup
  Line:   272
  Failed: assertEquals
    Expected: 
[[yyX], 
identityHash="-491349985"]
    Actual: 

Re: [Oorexx-devel] What is a realistic memory requirement for ooRexx?

2019-03-12 Thread Jason Martin

ok, did get core just now on run 48





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


[Oorexx-devel] What is a realistic memory requirement for ooRexx?

2019-03-12 Thread Jason Martin

I am on run 39 of the full testsuite r11839:

It has not cored so far. BEAUTIFUL!!!

But I have seen:

Normal:
Test execution: 00:03:42.821366
Total time: 00:03:48.579206

Extended:
17 minutes
back to normal for awhile
26 minutes
back to normal again
15 minutes
back to normal again

Memory hangs around 920M and I have seen it go up to 1032M

11149 agrellum    3  59    0  920M  915M sleep    0:10  0.31% rexx



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


Re: [Oorexx-devel] OpenIndiana r11836 new testGroup error

2019-03-12 Thread Jason Martin

Test works correctly on r11839.
Thank you for fixing it so quicky.


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


Re: [Oorexx-devel] OpenIndiana r11836 new testGroup error

2019-03-11 Thread Jason Martin

agrellum@openindiana:~$ readlink -f /proc/$$/path/a.out
/usr/bin/bash




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


Re: [Oorexx-devel] OpenIndiana r11836 new testGroup error

2019-03-11 Thread Jason Martin

May help and I think answer 0 may apply to OpenIndiana

https://stackoverflow.com/questions/47472762/on-solaris-how-to-get-the-full-path-of-executable-of-running-process-programatic?rq=1




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


Re: [Oorexx-devel] OpenIndiana r11836 new testGroup error

2019-03-11 Thread Jason Martin

Using realpath from recommended in man page.

agrellum@openindiana:~$ echo /proc/$$/path/usr/bin/rexx
/proc/5163/path/usr/bin/rexx
agrellum@openindiana:~$ realpath -e /proc/$$/usr/bin/rexx
realpath: /proc/5163/usr/bin/rexx: No such file or directory





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


Re: [Oorexx-devel] OpenIndiana r11836 new testGroup error

2019-03-11 Thread Jason Martin

agrellum@openindiana:~$ echo /proc/$$/usr/bin/rexx
/proc/5144/usr/bin/rexx
agrellum@openindiana:~$ readlink -f /proc/$$/usr/bin/rexx
agrellum@openindiana:~$




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


Re: [Oorexx-devel] OpenIndiana r11836 new testGroup error

2019-03-11 Thread Jason Martin

-- Looking for getexecname
-- Looking for getexecname - not found

Will have to research, remember WindowMaker complaining when opening apps.



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


[Oorexx-devel] OpenIndiana r11836 new testGroup error

2019-03-11 Thread Jason Martin

[error] [20190311 14:24:09.936679]
  svn:    r11829   Change date: 2019-03-09 14:55:54 -0500
  Test:   TEST_REXXINFO_EXECUTABLE
  Class:  RexxInfo.testGroup
  File:   .../ooRexx/base/class/RexxInfo.testGroup
  Event:  [SYNTAX 97.1] raised unexpectedly.
    Object "The NIL object" does not understand message "ENDSWITH".
    Line:    182
   182 *-* self~assertTrue(.RexxInfo~executable~endsWith("/rexx"), 
".RexxInfo~executable '" || .RexxInfo~executable || "' should end in 
'/rexx'")

   *-* Compiled method "SEND" with scope "Message".
  1641 *-* .message~new(self, methodName)~send
  1616 *-* self~doTheTest(fName, aTestResult)  -- carry out the testmethod
   552 *-*   test~execute(testResult, verbose)
   552 *-*   test~execute(testResult, verbose)
   110 *-* suite~execute(testResult)
    79 *-* retCode = 'worker.rex'(arguments)



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


[Oorexx-devel] UTF-8?

2019-03-05 Thread Jason Martin
https://sourceforge.net/p/oorexx/code-0/HEAD/tree/main/trunk/interpreter/platform/unix/SysFileSystem.cpp

Line 1636 char 32 maybe more.
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] rxapi queues

2019-03-05 Thread Jason Martin

Over 1 hour stopping...


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


[Oorexx-devel] Have cores but no beers.

2019-03-04 Thread Jason Martin

OpenIndiana r11816 debug symbols

361 runs in 37 hours

5 gdb full back trace logs

Not all the same

https://github.com/agrellum/NetRexx-Samples/blob/master/BT.tar.gz



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


Re: [Oorexx-devel] Segmentation fault in rexx executable-2

2019-03-01 Thread Jason Martin
Cored on 6; report to github under 20190301

Cored on 14; debugger open to RexxMemory.cpp line 261

I notice and multiple times today (liveMark unable to resolve variable).

Not used to debuggers though.


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


Re: [Oorexx-devel] Segmentation fault in rexx executable-2

2019-03-01 Thread Jason Martin
r11815 up running in test loop on Haiku.
Really cool OS for beta code.
Debugger lets you jump straight to crash and source when you build pkgs.
Just do not know C++ and ooRexx code that well.
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


[Oorexx-devel] Segmentation fault in rexx executable-2

2019-03-01 Thread Jason Martin

On Haiku it cored again on run 25.

I built r11814 for OpenIndiana.

Got to run 22 before it cored.

At run 39, I pushed the machine a little.

Started rexx testOORexx.rex -X native_api in next tab.

Then another.

Then another.

Then another... Froze OS but no cores.

It's stable with just some weird quirk left.




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


Re: [Oorexx-devel] Segmentation fault in rexx executable

2019-02-28 Thread Jason Martin
core on 18 and 19 reports at github.

Both:

state: Exception (Segment violation)

Frame   IP  Function Name
---
0x7f954dae3ce0  0x9b13ee
MemoryObject::markObjectsMain(RexxInternalObject*)
+ 0xbe (/sources/oorexx-5.0.0/interpreter/memory/RexxMemory.cpp:51)
Disassembly:

MemoryObject::markObjectsMain(RexxInternalObject*):


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


Re: [Oorexx-devel] Segmentation fault in rexx executable

2019-02-28 Thread Jason Martin
r11814 builds, crash on run 12.
Did not even look at report, will leave running.
Look at next one.


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


Re: [Oorexx-devel] Segmentation fault in rexx executable

2019-02-28 Thread Jason Martin

Segfaults under OpenIndiana and Haiku running rexx rexxcps.rex


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


Re: [Oorexx-devel] Segmentation fault in rexx executable

2019-02-28 Thread Jason Martin
Stopping on run 100 using r11811.

I have exceeded the limits of my medication...

Summary of all completed runs (over 30,000 total testGroups):
~> grep -e Failures: -e Errors: full_run.log | sort | uniq -c
 94 Errors: 0
 94 Failures:   0

At https://github.com/agrellum/NetRexx-Samples

Crash on runs 9 and 72 saved report
rexx-826-debug-27-02-2019-19-20-56.report
rexx-9516-debug-28-02-2019-03-57-52.report

Crash on runs 86, 89, 95 and 96 saved core file
core-rexx-12579 core-rexx-15982 core-rexx-16223 core-rexx-16238

OK, must have been in the fine print.

remote: error: File core-rexx-12579 is 175.33 MB;
this exceeds GitHub's file size limit of 100.00 MB

So it's compress one potato, two potato ...

There are pre-built packages with debug symbols.
oorexx-5.0.0-1-x86_64.hpkg
oorexx_source-5.0.0-1-source.hpkg
Just copy them to /boot/system/packages

There is archive of patchset and recipe used to build in Haikuports.
oorexx.tar.gz

There is archive of my patched test suite with
clean.sh, count.sh and singles.sh.
test.tar.gz

If anybody wants to do Virtualbox and debug, get same image as me.

https://cdn.haiku-os.org/haiku-nightly/x86_64/haiku-master-hrev52939-x86_64-anyboot.zip

You have gdb and nice graphical debugger listed in the Applications Menu


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


Re: [Oorexx-devel] Segmentation fault in rexx executable

2019-02-27 Thread Jason Martin
r11811, OK it is still something.

Crash between run 8 and 9 still running

REMOVED THESE

rm  ooRexx/base/bif/ARG.testGroup
rm  ooRexx/base/bif/CHAROUT.testGroup
rm  ooRexx/base/bif/CONDITION.testGroup
rm  ooRexx/base/bif/LINEIN.testGroup
rm  ooRexx/base/bif/STREAM.testGroup
rm  ooRexx/base/class/Array.testGroup
rm  ooRexx/base/class/File.testGroup
rm  ooRexx/base/class/RexxContext.testGroup
rm  ooRexx/base/class/RexxQueue.testGroup
rm  ooRexx/base/class/Stream.testGroup
rm  ooRexx/base/keyword/ADDRESS.testGroup
rm  ooRexx/base/keyword/CALL.testGroup
rm  ooRexx/base/keyword/PARSE.testGroup
rm  ooRexx/base/keyword/SIGNAL.testGroup
rm  ooRexx/base/runtime.objects/environmentEntries.testGroup
rm  ooRexx/base/security.manager/SecurityManager.testGroup
rm  ooRexx/base/special.variables/RESULT_RC_SIGL.testGroup
rm  ooRexx/utilities/rexxc/rexxc.testGroup
rm  ooRexx/utilities/rxqueue/rxQueue.testGroup

START BASH SCRIPT

counter=0
while true; do
rexx testOORexx.rex -X native_api
counter=$((counter+1))
echo "Counter for rexx testOORexx.rex -X native_api : $counter
time(s); Sleeping for 10"
echo "Press [CTRL+C] to stop.."
sleep 10
done


ooTest Framework - Automated Test of the ooRexx Interpreter

Interpreter:REXX-ooRexx_5.0.0(MT)_64-bit 6.05 27 Feb 2019
OS Name:HAIKU
SysVersion: Haiku 1

Tests ran:  21252
Assertions: 339781
Failures:   0
Errors: 0

File search:00:00:01.728060
Suite construction: 00:00:01.865419
Test execution: 00:03:17.466434
Total time: 00:03:21.759626

Counter for rexx testOORexx.rex -X native_api : 8 time(s); Sleeping for 10
Press [CTRL+C] to stop..
Searching for test containers../count.sh: line 8:   826 Kill Thread
 rexx testOORexx.rex -X native_api
Counter for rexx testOORexx.rex -X native_api : 9 time(s); Sleeping for 10


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


Re: [Oorexx-devel] Segmentation fault in rexx executable

2019-02-27 Thread Jason Martin
Added four more dump reports at https://github.com/agrellum/NetRexx-Samples

All crashes are whatever ties these four groups.  They run one at a time fine.

Array.testGroup
CALL.testGroup
RexxContext.testGroup
SecurityManager.testGroup

Finally get a batch run of 317 without these minus the 15 using shell commands.


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


Re: [Oorexx-devel] Segmentation fault in rexx executable

2019-02-27 Thread Jason Martin
This may help if someone can read these things.

https://github.com/agrellum/NetRexx-Samples/blob/master/rexx-645-debug-27-02-2019-11-25-43.report

https://github.com/agrellum/NetRexx-Samples/blob/master/rexx-742-debug-27-02-2019-11-29-19.report
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] Segmentation fault in rexx executable

2019-02-27 Thread Jason Martin

I get it somtimes on OpenIndiana too.
I think on Haiku but have not got that far yet.
Never have got it on a single file.


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


Re: [Oorexx-devel] Haiku now at full speed.

2019-02-21 Thread Jason Martin

Thanks,

Updated patch I used for you to see:

https://github.com/agrellum/NetRexx-Samples/blob/master/haiku-oorexx.patch

Plus the cmake command I used:

https://github.com/agrellum/NetRexx-Samples/blob/master/haiku-oorexx.sh

Here is last build r11796 test results:

321 test pass running one at a time.

Next 15 have errors or failures.

rexx testOORexx.rex -R ooRexx/base/bif -f ARG
rexx testOORexx.rex -R ooRexx/base/bif -f CHAROUT
rexx testOORexx.rex -R ooRexx/base/bif -f CONDITION
rexx testOORexx.rex -R ooRexx/base/bif -f LINEIN
rexx testOORexx.rex -R ooRexx/base/bif -f STREAM
rexx testOORexx.rex -R ooRexx/base/class -f File
rexx testOORexx.rex -R ooRexx/base/class -f RexxQueue
rexx testOORexx.rex -R ooRexx/base/class -f Stream
rexx testOORexx.rex -R ooRexx/base/keyword -f ADDRESS
rexx testOORexx.rex -R ooRexx/base/keyword -f PARSE
rexx testOORexx.rex -R ooRexx/base/keyword -f SIGNAL
rexx testOORexx.rex -R ooRexx/base/runtime.objects -f environmentEntries
rexx testOORexx.rex -R ooRexx/base/special.variables -f RESULT_RC_SIGL
rexx testOORexx.rex -R ooRexx/utilities/rexxc -f rexxc
rexx testOORexx.rex -R ooRexx/utilities/rxqueue -f rxQueue

Most are just SHELL commands not able to run.



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


Re: [Oorexx-devel] Also, CMakeList.txt same thing or me, tried to override?

2019-02-20 Thread Jason Martin

I meant dupe's or was I not seeing a level of indentation of if's.

I patched once just to remove and was suprised to see gnu++11 come back 
on next compile.


Also Haiku cmake was 3.9.5 but it still picked gnu++11.

Could be Haiku cmake pkg though.



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


Re: [Oorexx-devel] Haiku now at full speed.

2019-02-20 Thread Jason Martin
This is not all the HAIKU patches but I looked at what I had to do to 
fix OpenIndiana build.


GCC or OpenIndiana knew I needed 

For some reason OpenIndiana complained when I did first build but Haiku 
did not.


I compiled latest on OpenIndiana with verbose on gmake build &> 
what_we_do_here.txt


Then Haiku make &> what_we_not_doing_here.txt

Compared what_we_do_here.txt with what_we_not_doing_here.txt

There are some more patches for Haiku related to stat64 file64 around 
_APPLE_ defines


Someone pointed them out with my first patches.

Regina Rexx get most all right here, including enviroment and Address 
statements.


But it is C and ooRexx would be better on Haiku. (C++ OS and C++ GUI)

OpenBSD ok before the 5.0.0 release you be extra GREAT too!

The more OSes the better the code.







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


[Oorexx-devel] After rework is this line still needed

2019-02-19 Thread Jason Martin
./interpreter/platform/unix/SysRexxUtil.cpp:200:#define  MAX256
   /* temporary buffer length*/

I get warning on Haiku about MAX being redifined but see no place it used.
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] How to build external functions using cmake

2019-02-17 Thread Jason Martin

I meant to write /usr/bin not /usr


The end user should NEVER install anything in /usr

And for FreeBSD not even in /usr/local





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


Re: [Oorexx-devel] How to build external functions using cmake

2019-02-17 Thread Jason Martin

For me Line 44 - could be /usr/lib /usr/lib/32 /usr/lib/64 /usr/lib/amd64

Bins can be 64 bit but installed in /usr with 32 bit ones or 64 bit in 
/usr/bin/amd64


or 32 bit in /usr/bin/i86 : Messes with getting right linker flags

Not related but:

I also have old SunPro cc and newer gcc
cmake will find old 32 bit cc but then find 64 bit gcc without command 
line args


    42    if( OOREXX_INSTALL_PREFIX )
    43        set( rexx_INCLUDE_DIRS "${OOREXX_INSTALL_PREFIX}/include" )
    44        set( rexx_LIBDIR "${OOREXX_INSTALL_PREFIX}/lib" )
    45        set( rexx_LIBRARIES "rexx" "rexxapi" )
    46    else( )
    47        include( pkgConfig )
    48        pkg_config( ${REQUIRES_LIBRARIES} )
    49    endif()
    50




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


Re: [Oorexx-devel] OpenIndiana-Been out of the loop awhile

2019-02-17 Thread Jason Martin

r11772 SysFileXXX.testGroup is good here




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


Re: [Oorexx-devel] OpenIndiana-Been out of the loop awhile

2019-02-16 Thread Jason Martin

r11769

agrellum@openindiana:~/test$ rexx testOORexx.rex -X native_api

Interpreter:    REXX-ooRexx_5.0.0(MT)_64-bit 6.05 16 Feb 2019
OS Name:    SUNOS
SysVersion: SunOS 5.11

Tests ran:  22621
Assertions: 377342
Failures:   4
Errors: 0

[failure] [20190216 19:22:29.059332]
  svn:    r11734   Change date: 2019-02-08 15:41:41 -0500
  Test:   TEST_FILE_EXISTS
  Class:  SysFileXXX.testgroup
  File: 
/export/home/agrellum/test/ooRexx/base/rexxutil/SysFileXXX.testGroup

  Line:   133
  Failed: assertTrue
    Expected: [1]
    Actual:   [[0], identityHash="-7002433"]

[failure] [20190216 19:22:39.874218]
  svn:    r11562   Change date: 2018-12-03 23:45:29 +0100
  Test:   TEST_REXXC_ONE_ARG
  Class:  rexxc.testGroup
  File: /export/home/agrellum/test/ooRexx/utilities/rexxc/rexxc.testGroup
  Line:   100
  Failed: assertTrue
    Expected: [1]
    Actual:   [[0], identityHash="-7002433"]
    Message:  rexxc test_rexxc.rex is expected to produce a few lines 
of output


[failure] [20190216 19:22:40.037619]
  svn:    r11562   Change date: 2018-12-03 23:45:29 +0100
  Test:   TEST_REXXC_ONE_ARG_SYNTAX
  Class:  rexxc.testGroup
  File: /export/home/agrellum/test/ooRexx/utilities/rexxc/rexxc.testGroup
  Line:   91
  Failed: assertTrue
    Expected: [1]
    Actual:   [[0], identityHash="-7002433"]
    Message:  rexxc is expected to produce a few lines of output

[failure] [20190216 19:22:40.108900]
  svn:    r11562   Change date: 2018-12-03 23:45:29 +0100
  Test:   TEST_REXXC_TWO_ARGS
  Class:  rexxc.testGroup
  File: /export/home/agrellum/test/ooRexx/utilities/rexxc/rexxc.testGroup
  Line:   125
  Failed: assertTrue
    Expected: [1]
    Actual:   [[0], identityHash="-7002433"]
    Message:  a few lines of output expected from rexxc 'EMPTY 0'

Interpreter:    REXX-ooRexx_5.0.0(MT)_64-bit 6.05 16 Feb 2019
OS Name:    SUNOS
SysVersion: SunOS 5.11

Tests ran:  22621
Assertions: 377342
Failures:   4
Errors: 0

File search:    00:00:04.354424
Suite construction: 00:00:02.060966
Test execution: 00:03:34.256072
Total time: 00:03:41.214593




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


Re: [Oorexx-devel] Testing Open Object Rexx Version 5.0.0 r11766

2019-02-16 Thread Jason Martin

I know, knew, just saying even standards are not standard.




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


Re: [Oorexx-devel] Testing Open Object Rexx Version 5.0.0 r11766

2019-02-16 Thread Jason Martin

agrellum@openindiana:~$ uname -v
illumos-c78b1a4529

Not OpenIndiana and Not SunOS




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


[Oorexx-devel] OpenIndiana-Been out of the loop awhile

2019-02-16 Thread Jason Martin

agrellum@openindiana:~$ rexx -v
Open Object Rexx Version 5.0.0 r11767
Build date: Feb 16 2019
Addressing mode: 64
Copyright (c) 1995, 2004 IBM Corporation. All rights reserved.
Copyright (c) 2005-2019 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

agrellum@openindiana:~$ rexx rexxcps.rex
- REXXCPS 2.1 -- Measuring REXX clauses/second -
 REXX version is: REXX-ooRexx_5.0.0(MT)_64-bit 6.05 16 Feb 2019
   System is: SUNOS
   Averaging: 100 measures of 100 iterations

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

 Performance: 4334825 REXX clauses per second

agrellum@openindiana:~/test$ rexx testOORexx.rex -X native_api
Searching for test containers.
Executing automated test suitePlaying the speaker failed, using a bell 
character

Playing the speaker failed, using a bell character
Playing the speaker failed, using a bell character
... ...
...
.../usr/bin/sh: 
line 1: zxyabc: not found

/usr/bin/sh: line 1: zxyabc: not found



ooTest Framework - Automated Test of the ooRexx Interpreter

Interpreter:    REXX-ooRexx_5.0.0(MT)_64-bit 6.05 16 Feb 2019
OS Name:    SUNOS
SysVersion: SunOS 5.11

Tests ran:  22621
Assertions: 377342
Failures:   4
Errors: 0

[failure] [20190216 09:14:09.462105]
  svn:    r11734   Change date: 2019-02-08 15:41:41 -0500
  Test:   TEST_FILE_EXISTS
  Class:  SysFileXXX.testgroup
  File: 
/export/home/agrellum/test/ooRexx/base/rexxutil/SysFileXXX.testGroup

  Line:   138
  Failed: assertTrue
    Expected: [1]
    Actual:   [[0], identityHash="-7002433"]

[failure] [20190216 09:14:18.626360]
  svn:    r11562   Change date: 2018-12-03 23:45:29 +0100
  Test:   TEST_REXXC_ONE_ARG
  Class:  rexxc.testGroup
  File: /export/home/agrellum/test/ooRexx/utilities/rexxc/rexxc.testGroup
  Line:   100
  Failed: assertTrue
    Expected: [1]
    Actual:   [[0], identityHash="-7002433"]
    Message:  rexxc test_rexxc.rex is expected to produce a few lines 
of output


[failure] [20190216 09:14:18.791390]
  svn:    r11562   Change date: 2018-12-03 23:45:29 +0100
  Test:   TEST_REXXC_ONE_ARG_SYNTAX
  Class:  rexxc.testGroup
  File: /export/home/agrellum/test/ooRexx/utilities/rexxc/rexxc.testGroup
  Line:   91
  Failed: assertTrue
    Expected: [1]
    Actual:   [[0], identityHash="-7002433"]
    Message:  rexxc is expected to produce a few lines of output

[failure] [20190216 09:14:18.862895]
  svn:    r11562   Change date: 2018-12-03 23:45:29 +0100
  Test:   TEST_REXXC_TWO_ARGS
  Class:  rexxc.testGroup
  File: /export/home/agrellum/test/ooRexx/utilities/rexxc/rexxc.testGroup
  Line:   125
  Failed: assertTrue
    Expected: [1]
    Actual:   [[0], identityHash="-7002433"]
    Message:  a few lines of output expected from rexxc 'EMPTY 0'

Interpreter:    REXX-ooRexx_5.0.0(MT)_64-bit 6.05 16 Feb 2019
OS Name:    SUNOS
SysVersion: SunOS 5.11

Tests ran:  22621
Assertions: 377342
Failures:   4
Errors: 0

File search:    00:00:03.905679
Suite construction: 00:00:02.036984
Test execution: 00:03:38.003954
Total time: 00:03:44.495100



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


Re: [Oorexx-devel] Problems with testgroup FUNCTION.testGroup

2019-02-03 Thread Jason Martin

OpenIndiana - r11710

[Framework exception] [20190203 08:58:33.780623]
  Type: Trap Severity: Fatal
  File: /export/home/agrellum/test/ooRexx/API/oo/FUNCTION.testGroup
  Line: 2130
  Initial call of test container failed
  Condition: SYNTAX
    Unable to load library "orxfunction".
    File: /export/home/agrellum/test/ooRexx/API/oo/FUNCTIONPackage.cls
    Line: 40
  40 *-* ::routine TestZeroIntArgs PUBLIC EXTERNAL "LIBRARY 
orxfunction TestZeroIntArgs"

    1747 *-* ::requires "FUNCTIONPackage.cls"
    2130 *-* call (file) self~testTypes
    2078 *-*   container = self~getContainer(fileName)
  81 *-* containers = finder~seek(testResult)
  79 *-* retCode = 'worker.rex'(arguments)

Interpreter:    REXX-ooRexx_5.0.0(MT)_64-bit 6.05 3 Feb 2019
OS Name:    SUNOS
SysVersion: SunOS illumos-022bfefbca.5.11

Tests ran:  22548
Assertions: 376996
Failures:   3
Errors: 1




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


[Oorexx-devel] r11708 - Could not find file "FUNCTIONPACKAGE.CLS"

2019-02-02 Thread Jason Martin

File is there in ooRexx/API/oo/FUNCTIONPackage.cls

agrellum@openindiana:~$ ./testOORexx.rex -X native_api
bash: ./testOORexx.rex: No such file or directory
agrellum@openindiana:~$ cd test/
agrellum@openindiana:~/test$ ./testOORexx.rex -X native_api
Searching for test containers
Executing automated test suite..
 ...
.../usr/bin/sh: line 1: 
zxyabc: not found

./usr/bin/sh: line 1: zxyabc: not found
..

ooTest Framework - Automated Test of the ooRexx Interpreter

Interpreter:    REXX-ooRexx_5.0.0(MT)_64-bit 6.05 2 Feb 2019
OS Name:    SUNOS
SysVersion: SunOS illumos-022bfefbca.5.11

Tests ran:  22548
Assertions: 376996
Failures:   3
Errors: 1

[failure] [20190202 22:29:47.760694]
  svn:    r11562   Change date: 2018-12-03 23:45:29 +0100
  Test:   TEST_REXXC_ONE_ARG
  Class:  rexxc.testGroup
  File: /export/home/agrellum/test/ooRexx/utilities/rexxc/rexxc.testGroup
  Line:   100
  Failed: assertTrue
    Expected: [1]
    Actual:   [[0], identityHash="-7122209"]
    Message:  rexxc test_rexxc.rex is expected to produce a few lines 
of output


[failure] [20190202 22:29:47.925672]
  svn:    r11562   Change date: 2018-12-03 23:45:29 +0100
  Test:   TEST_REXXC_ONE_ARG_SYNTAX
  Class:  rexxc.testGroup
  File: /export/home/agrellum/test/ooRexx/utilities/rexxc/rexxc.testGroup
  Line:   91
  Failed: assertTrue
    Expected: [1]
    Actual:   [[0], identityHash="-7122209"]
    Message:  rexxc is expected to produce a few lines of output

[failure] [20190202 22:29:47.996280]
  svn:    r11562   Change date: 2018-12-03 23:45:29 +0100
  Test:   TEST_REXXC_TWO_ARGS
  Class:  rexxc.testGroup
  File: /export/home/agrellum/test/ooRexx/utilities/rexxc/rexxc.testGroup
  Line:   125
  Failed: assertTrue
    Expected: [1]
    Actual:   [[0], identityHash="-7122209"]
    Message:  a few lines of output expected from rexxc 'EMPTY 0'

[Framework exception] [20190202 22:26:27.840869]
  Type: Trap Severity: Fatal
  File: /export/home/agrellum/test/ooRexx/API/oo/FUNCTION.testGroup
  Line: 2130
  Initial call of test container failed
  Condition: SYNTAX
    Could not find file "FUNCTIONPACKAGE.CLS" for ::REQUIRES.
    File: /export/home/agrellum/test/ooRexx/API/oo/FUNCTION.testGroup
    Line: 1747
    1747 *-* ::requires FUNCTIONPackage.cls
    2130 *-* call (file) self~testTypes
    2078 *-*   container = self~getContainer(fileName)
  81 *-* containers = finder~seek(testResult)
  79 *-* retCode = 'worker.rex'(arguments)

Interpreter:    REXX-ooRexx_5.0.0(MT)_64-bit 6.05 2 Feb 2019
OS Name:    SUNOS
SysVersion: SunOS illumos-022bfefbca.5.11

Tests ran:  22548
Assertions: 376996
Failures:   3
Errors: 1

File search:    00:00:02.135854
Suite construction: 00:00:02.041483
Test execution: 00:03:15.700495
Total time: 00:03:20.662567



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


Re: [Oorexx-devel] What flag to pass to accept #define delimiter '/'

2019-01-19 Thread Jason Martin

r11677

Never could find a fix for this but it is not used in the source files I 
needed.


Updated Haiku patch (Really close now)

https://github.com/agrellum/NetRexx-Samples/blob/master/haiku-oorexx.patch

Could not run all the tests at once. Segfaults at some kernel, thread, 
memory limit.


But when it does the kernel has a nice build in debugger.

It gives you lots of options and a nice 1000 line report. (Really cool!)

So, scripted and run all test groups one at a time.

All of them, even the other platforms and outside the framework.

Tests ran:  17299
Assertions: 392027
Failures:   68
Errors: 91

One on the main problems is Haiku's shell is Unix like but the OS is not.

rexx -e "'rexx -v' > somewhere > here" does not work and things like 
that are all through the test suite.












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


Re: [Oorexx-devel] Welcome to the Haiku shell.

2019-01-15 Thread Jason Martin

I will try that. Just my first few tries.


On 01/15/19 12:37 PM, Enrico Sorichetti via Oorexx-devel wrote:

For a cleaner stat64 and friends handling I would consider trying
Like has been done for apple , something along the lines of

#if defined(__APPLE__) || defined(__HAIKU__)
# define lseek64 lseek
# define open64 open
// avoid warning: '(f)stat64' is deprecated: first deprecated in macOS 10.6
# define stat64 stat
# define fstat64 fstat
…
…

#endif

Less code intrusive

  cheers
E





On 15 Jan 2019, at 18:08, Jason Martin  wrote:

Starting patch for anyone who wants to fool around with it.

https://github.com/agrellum/NetRexx-Samples/blob/master/haiku-oorexx.patch





___
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




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


Re: [Oorexx-devel] Welcome to the Haiku shell.

2019-01-15 Thread Jason Martin

By the way, NetRexx is also running here.


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


Re: [Oorexx-devel] Welcome to the Haiku shell.

2019-01-15 Thread Jason Martin

Starting patch for anyone who wants to fool around with it.

https://github.com/agrellum/NetRexx-Samples/blob/master/haiku-oorexx.patch





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


Re: [Oorexx-devel] Welcome to the Haiku shell.

2019-01-15 Thread Jason Martin

Still working on the CMakeLists patch



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


Re: [Oorexx-devel] Welcome to the Haiku shell.

2019-01-15 Thread Jason Martin
I am running on hardware. 2009 HP G60 laptop, amd64, 3 gigs (Everything 
works)


I was running in Virtual Box on OpenIndiana


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


[Oorexx-devel] Welcome to the Haiku shell.

2019-01-15 Thread Jason Martin

~> rexx -v
Open Object Rexx Version 5.0.0 r11668
Build date: Jan 15 2019
Addressing mode: 64
Copyright (c) 1995, 2004 IBM Corporation. All rights reserved.
Copyright (c) 2005-2019 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.rex
- REXXCPS 2.1 -- Measuring REXX clauses/second -
 REXX version is: REXX-ooRexx_5.0.0(MT)_64-bit 6.05 15 Jan 2019
   System is: HAIKU
   Averaging: 100 measures of 100 iterations

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

 Performance: 485932 REXX clauses per second

~>


9 Files patched

Still has issues.

It's a whole "New World".

Running on slower laptop using Haiku installed on usb drive

Thanks, no more gencat



















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


Re: [Oorexx-devel] Rethinking error messages.

2019-01-09 Thread Jason Martin
Sounds good, I tried building on Haiku OS and missing gencat utility was my
first failure.
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


[Oorexx-devel] Fwd: Re: dynamic linking on macOS

2019-01-03 Thread Jason Martin

Sorry, cannot get use to thunderbird vs web gmail with replies.











cmake is at 3.12.4 for me on OpenIndiana


On 01/03/19 03:16 PM, René Jansen wrote:
Would there be any opposition if we upped the minimal cmake level to 
3.12?





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


Re: [Oorexx-devel] Error compiling 32-bit Windows version, svn rev. 11627

2018-12-21 Thread Jason Martin

r11636 build and tested for both 32 and 64.

Works.

Thanks.

Just left with the 3 rexxc fails on both.

Would be interested in how these three asserts turn out on a Solaris box.







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


Re: [Oorexx-devel] Error compiling 32-bit Windows version, svn rev. 11627

2018-12-18 Thread Jason Martin

Will not be around today.

1) TRY 32-BIT WITHOUT -FPERMISSIVE BOMBS

[ 65%] Building CXX object 
CMakeFiles/rexx.dir/interpreter/platform/unix/SystemCommands.cpp.o
/export/home/agrellum/oi-userland/components/developer/oorexx/oorexx-5.0.0/interpreter/platform/unix/SystemCommands.cpp: 
In function '_RexxObjectPtr* ioCommandHandler(RexxExitContext*, 
RexxStringObject, RexxStringObject, RexxIORedirectorContext*)':
/export/home/agrellum/oi-userland/components/developer/oorexx/oorexx-5.0.0/interpreter/platform/unix/SystemCommands.cpp:928:26: 
error: invalid conversion from 'int*' to 'pid_t* {aka long int*}' 
[-fpermissive]
 if (posix_spawnp(, argv[0], , NULL, argv, 
getEnvironment()) != 0)

  ^~~~
In file included from 
/export/home/agrellum/oi-userland/components/developer/oorexx/oorexx-5.0.0/interpreter/platform/unix/SystemCommands.cpp:50:0:
/usr/include/spawn.h:80:12: note:   initializing argument 1 of 'int 
posix_spawnp(pid_t*, const char*, const posix_spawn_file_actions_t*, 
const posix_spawnattr_t*, char* const*, char* const*'

 extern int posix_spawnp(
    ^~~~
/export/home/agrellum/oi-userland/components/developer/oorexx/oorexx-5.0.0/interpreter/platform/unix/SystemCommands.cpp:1020:30: 
error: invalid conversion from 'int*' to 'pid_t* {aka long int*}' 
[-fpermissive]
 if (posix_spawnp(, argv[0], NULL, NULL, argv, 
getEnvironment()) != 0)

  ^~~~
In file included from 
/export/home/agrellum/oi-userland/components/developer/oorexx/oorexx-5.0.0/interpreter/platform/unix/SystemCommands.cpp:50:0:
/usr/include/spawn.h:80:12: note:   initializing argument 1 of 'int 
posix_spawnp(pid_t*, const char*, const posix_spawn_file_actions_t*, 
const posix_spawnattr_t*, char* const*, char* const*'

 extern int posix_spawnp(
    ^~~~
make[3]: *** [CMakeFiles/rexx.dir/build.make:2546: 
CMakeFiles/rexx.dir/interpreter/platform/unix/SystemCommands.cpp.o] Error 1
make[3]: Leaving directory 
'/export/home/agrellum/oi-userland/components/developer/oorexx/build/i86'

make[2]: *** [CMakeFiles/Makefile2:260: CMakeFiles/rexx.dir/all] Error 2
make[2]: Leaving directory 
'/export/home/agrellum/oi-userland/components/developer/oorexx/build/i86'

make[1]: *** [Makefile:152: all] Error 2
make[1]: Leaving directory 
'/export/home/agrellum/oi-userland/components/developer/oorexx/build/i86'
gmake: *** [/export/home/agrellum/oi-userland/make-rules/cmake.mk:179: 
/export/home/agrellum/oi-userland/components/developer/oorexx/build/i86/.built] 
Error 2



2) 32-BIT WITH -FPERMISSIVE BUILDS ALL WARNINGS

[ 65%] Building CXX object 
CMakeFiles/rexx.dir/interpreter/platform/unix/SystemCommands.cpp.o
/export/home/agrellum/oi-userland/components/developer/oorexx/oorexx-5.0.0/interpreter/platform/unix/SystemCommands.cpp: 
In function '_RexxObjectPtr* ioCommandHandler(RexxExitContext*, 
RexxStringObject, RexxStringObject, RexxIORedirectorContext*)':
/export/home/agrellum/oi-userland/components/developer/oorexx/oorexx-5.0.0/interpreter/platform/unix/SystemCommands.cpp:928:26: 
warning: invalid conversion from 'int*' to 'pid_t* {aka long int*}' 
[-fpermissive]
 if (posix_spawnp(, argv[0], , NULL, argv, 
getEnvironment()) != 0)

  ^~~~
In file included from 
/export/home/agrellum/oi-userland/components/developer/oorexx/oorexx-5.0.0/interpreter/platform/unix/SystemCommands.cpp:50:0:
/usr/include/spawn.h:80:12: note:   initializing argument 1 of 'int 
posix_spawnp(pid_t*, const char*, const posix_spawn_file_actions_t*, 
const posix_spawnattr_t*, char* const*, char* const*)'

 extern int posix_spawnp(
    ^~~~
/export/home/agrellum/oi-userland/components/developer/oorexx/oorexx-5.0.0/interpreter/platform/unix/SystemCommands.cpp:1020:30: 
warning: invalid conversion from 'int*' to 'pid_t* {aka long int*}' 
[-fpermissive]
 if (posix_spawnp(, argv[0], NULL, NULL, argv, 
getEnvironment()) != 0)

  ^~~~
In file included from 
/export/home/agrellum/oi-userland/components/developer/oorexx/oorexx-5.0.0/interpreter/platform/unix/SystemCommands.cpp:50:0:
/usr/include/spawn.h:80:12: note:   initializing argument 1 of 'int 
posix_spawnp(pid_t*, const char*, const posix_spawn_file_actions_t*, 
const posix_spawnattr_t*, char* const*, char* const*)'

 extern int posix_spawnp(
    ^~~~
[ 88%] Building CXX object 
CMakeFiles/hostemu.dir/extensions/hostemu/cmdparse.cpp.o

..\..\cmdparse.cpp: In function 'int yyparse()':
..\..\cmdparse.cpp:1603:35: warning: ISO C++ forbids converting a string 
constant to 'char*' [-Wwrite-strings]
..\..\cmdparse.cpp:1746:35: warning: ISO C++ forbids converting a string 
constant to 'char*' [-Wwrite-strings]




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


[Oorexx-devel] r11615 breaks tests for me

2018-12-15 Thread Jason Martin

agrellum@openindiana:~/oorexx-test$ ./testOORexx.rex -X native_api
 3 *-* SVN Revision: $
   117 *-* ::requires "ooTest.frm"
    79 *-* retCode = 'worker.rex'(arguments)
REX0013E: Error 13 running /export/home/agrellum/oorexx-test/ooTest.frm 
line 3:  Invalid character in program.

REX0219E: Error 13.1:  Incorrect character in program "$" ('24'X).



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


[Oorexx-devel] Is this check still needed?

2018-12-15 Thread Jason Martin

r11608

grep -n -i -r -e getuserattr -e HAVE_GETUSERATTR .


config.h.in.cmake:39:/* Define to 1 if you have the `getuserattr' 
function. */

config.h.in.cmake:40:#cmakedefine HAVE_GETUSERATTR
CMakeLists.txt:336:  check_function_exists(getuserattr HAVE_GETUSERATTR)



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


Re: [Oorexx-devel] rexxc.testGroup fails and logo/test counts repeat

2018-12-10 Thread Jason Martin

r11588

say self~q(source~fullName)

/export/home/agrellum/oorexx-test/ooRexx/utilities/rexxc/test_rexxc.rex

I am not sure this file is being created for me.

Is it a in memory only thing?




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


Re: [Oorexx-devel] rexxc.testGroup fails and logo/test counts repeat

2018-12-09 Thread Jason Martin

Will try writing some code but testgroup states OK.

agrellum@openindiana:~/oorexx-test$ ./testOORexx.rex -R 
ooRexx/base/keyword -f address

Searching for test containers..
Executing automated test suite..

ooTest Framework - Automated Test of the ooRexx Interpreter

Interpreter:    REXX-ooRexx_5.0.0(MT)_64-bit 6.05 8 Dec 2018
OS Name:    SUNOS
SysVersion: SunOS illumos-863275a46b.5.11

Tests ran:  75
Assertions: 241
Failures:   0
Errors: 0

File search:    00:00:00.011534
Suite construction: 00:00:00.002149
Test execution: 00:00:00.845515
Total time: 00:00:01.513260




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


Re: [Oorexx-devel] OpenIndiana r11581 testsuite broken

2018-12-08 Thread Jason Martin

r11586

Tests ran:  22435
Assertions: 375322
Failures:   3
Errors: 0

No cores - just rexxc fails




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


Re: [Oorexx-devel] OpenIndiana r11581 testsuite broken

2018-12-08 Thread Jason Martin

For the record, I still must have these patches to make packager happy.

1) Current CMakeLists.txt modified to find correct CMAKE_INSTALL_LIBDIR 
for this platform

2) no Libs in bin
3) I have to use 127.0.0.1 for some of the samples.


--- oorexx-5.0.0/CMakeLists.txt.~1~    Fri Dec  7 03:11:51 2018
+++ oorexx-5.0.0/CMakeLists.txt    Fri Dec  7 03:26:53 2018
@@ -246,6 +246,9 @@
  if (${INSTALL_LIB_DIR} STREQUAL "INSTALL_LIB_DIR-NOTFOUND")
    set (INSTALL_LIB_DIR ${CMAKE_INSTALL_PREFIX}/lib)
  endif ()
+ if (CMAKE_SYSTEM_NAME MATCHES "(SunOS|Solaris)")
+   set (INSTALL_LIB_DIR 
${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR})

+ endif ()
    endif ()

    set (INSTALL_EXECUTABLE_DIR ${CMAKE_INSTALL_PREFIX}/bin)
--- oorexx-5.0.0/samples/unix/api/wpipe1/CMakeLists.txt.~1~    Mon Feb 
12 21:55:11 2018
+++ oorexx-5.0.0/samples/unix/api/wpipe1/CMakeLists.txt    Fri Feb 16 
10:43:27 2018

@@ -54,4 +54,4 @@
 ${build_api_platform_dir})
 # Extra link library definitions
 target_link_libraries(wpipe1 rexx rexxapi)
-install(TARGETS wpipe1 LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
+install(TARGETS wpipe1 LIBRARY DESTINATION 
${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR})
--- oorexx-5.0.0/samples/unix/api/wpipe2/CMakeLists.txt.~1~    Mon Feb 
12 21:55:11 2018
+++ oorexx-5.0.0/samples/unix/api/wpipe2/CMakeLists.txt    Fri Feb 16 
10:43:27 2018

@@ -54,4 +54,4 @@
 ${build_api_platform_dir})
 # Extra link library definitions
 target_link_libraries(wpipe2 rexx rexxapi)
-install(TARGETS wpipe2 LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
+install(TARGETS wpipe2 LIBRARY DESTINATION 
${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR})
--- oorexx-5.0.0/samples/unix/api/wpipe3/CMakeLists.txt.~1~    Mon Feb 
12 21:55:10 2018
+++ oorexx-5.0.0/samples/unix/api/wpipe3/CMakeLists.txt    Fri Feb 16 
10:43:27 2018

@@ -54,4 +54,4 @@
 ${build_api_platform_dir})
 # Extra link library definitions
 target_link_libraries(wpipe3 rexx rexxapi)
-install(TARGETS wpipe3 LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
+install(TARGETS wpipe3 LIBRARY DESTINATION 
${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR})

--- oorexx-5.0.0/samples/scclient.rex.~1~    Thu Nov 29 07:58:17 2018
+++ oorexx-5.0.0/samples/scclient.rex    Thu Nov 29 08:59:09 2018
@@ -48,7 +48,7 @@
 contact: localhost and port 50010
 we use the "gethostid" class method of the socket
 class to determine the localhost address  */
-    host = .inetaddress~new(.socket~gethostid(), '50010')
+    host = .inetaddress~new('127.0.0.1', '50010')

 /*  connect to the server  */
 if sock~connect(host) < 0 then do
--- oorexx-5.0.0/samples/scserver.rex.~1~    Thu Nov 29 07:58:11 2018
+++ oorexx-5.0.0/samples/scserver.rex    Thu Nov 29 08:59:09 2018
@@ -73,7 +73,7 @@
 /*  instantiate an instance of the socket class  */
 sock = .socket~new()

-    host = .inetaddress~new(.socket~gethostid(), '50010')
+    host = .inetaddress~new('127.0.0.1', '50010')

 /*  connect to the server (if it hasn't already shutdown)  */
 if sock~connect(host) < 0 then
@@ -88,7 +88,7 @@
 contact: localhost and port 50010
 we use the "gethostid" class method of the socket
 class to determine the localhost address  */
-    host = .inetaddress~new(.socket~gethostid(), '50010')
+    host = .inetaddress~new('127.0.0.1', '50010')

 /*  bind to the host information  */
 sock~setOption('SO_REUSEADDR', 1)
--- oorexx-5.0.0/samples/sfclient.rex.~1~    Thu Nov 29 07:58:11 2018
+++ oorexx-5.0.0/samples/sfclient.rex    Thu Nov 29 08:59:09 2018
@@ -45,7 +45,7 @@

 /*  specify the host we will connect to  */
 host.!family = 'AF_INET'    --  Protocol family (only AF_INET 
is supported)
-    host.!addr = SockGetHostId()    --  IP address (use the 
sockgethostid function to get address of the localhost)
+    host.!addr = '127.0.0.1'    --  IP address (use the sockgethostid 
function to get address of the localhost)

 host.!port = '50010'    --  Port number

 /*  connect to the server  */
--- oorexx-5.0.0/samples/sfserver.rex.~1~    Thu Nov 29 07:58:15 2018
+++ oorexx-5.0.0/samples/sfserver.rex    Thu Nov 29 08:59:09 2018
@@ -73,7 +73,7 @@

 /*  specify the host we will connect to  */
 host.!family = 'AF_INET'
-    host.!addr = SockGetHostId()
+    host.!addr = '127.0.0.1'
 host.!port = '50010'

 /*  connect to the server (if it hasn't already shutdown)  */
@@ -87,7 +87,7 @@

 /*  specify the host we will run as  */
 host.!family = 'AF_INET'    --  Protocol family (only AF_INET 
is supported)
-    host.!addr = SockGetHostId()    --  IP address (use the 
sockgethostid function to get address of the localhost)
+    host.!addr = '127.0.0.1'    --  IP address (use the sockgethostid 
function to get address of the localhost)

 host.!port = '50010'    --  Port number

 /*  bind to the host information  */



___
Oorexx-devel mailing list

[Oorexx-devel] OpenIndiana r11581 testsuite broken

2018-12-08 Thread Jason Martin

./testOORexx.rex -X native_api
Segmentation Fault (core dumped)

Next try:
./testOORexx.rex -R ooRexx/

Failures:   3 - Same rexxc stuff
Errors: 8 - Cannot load files (Files are there)

Unable to load library "orxmethod".
File: /export/home/agrellum/oorexx-test/ooRexx/API/oo/CONVERSIONPackage.cls
Unable to load library "orxmethod".
File: /export/home/agrellum/oorexx-test/ooRexx/API/oo/METHODPackage.cls
Unable to load library "orxfunction".
File: /export/home/agrellum/oorexx-test/ooRexx/API/oo/FUNCTIONPackage.cls
Unable to load library "orxinvocation".
File: /export/home/agrellum/oorexx-test/ooRexx/API/oo/INVOCATIONTester.cls
Unable to load library "orxinvocation".
File: /export/home/agrellum/oorexx-test/ooRexx/API/oo/INVOCATIONTester.cls
Unable to load library "orxinvocation".
File: /export/home/agrellum/oorexx-test/ooRexx/API/oo/INVOCATIONTester.cls
Unable to load library "orxinvocation".
File: /export/home/agrellum/oorexx-test/ooRexx/API/oo/INVOCATIONTester.cls
Unable to load library "orxclassic".
File: /export/home/agrellum/.../ooRexx/API/classic/CLASSICPackage.cls



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


Re: [Oorexx-devel] rexxc.testGroup fails and logo/test counts repeat

2018-12-07 Thread Jason Martin

DUP and MINUS WITH;

New line to for NOP or ?

::resource "nop;empty 0" or ?

::resource "nop" ?

Searching for test containers..
Executing automated test suite    96 *-* source = 
.TemporaryTestFile~new(self, self~testSource)

   >E>   .TEMPORARYTESTFILE => "The TEMPORARYTESTFILE class"
   >V>   SELF => "a rexxc.testGroup"
   >A>   "a rexxc.testGroup"
   >V>   SELF => "a rexxc.testGroup"
   >M>   "TESTSOURCE" => "test_rexxc.rex"
   >A>   "test_rexxc.rex"
   >M>   "NEW" => "a TEMPORARYTESTFILE"
   >>>   "a TEMPORARYTESTFILE"
   >=>   SOURCE <= "a TEMPORARYTESTFILE"
    97 *-* do resource over .resources
   >E> .RESOURCES => "a StringTable"
   >K> "OVER" => "a StringTable"
   >=> RESOURCE <= "EMPTY 0"
   >>> "EMPTY 0"
    98 *-*   source~createFromResource(resource)
   >V> SOURCE => "a TEMPORARYTESTFILE"
   >V> RESOURCE => "EMPTY 0"
   >A> "EMPTY 0"
    99 *-*   address "" "rexxc" self~q(source~fullName)
   >L> "rexxc"
   >V> SELF => "a rexxc.testGroup"
   >V> SOURCE => "a TEMPORARYTESTFILE"
   >M> "FULLNAME" => 
"/export/home/agrellum/oorexx-test/ooRexx/utilities/rexxc/test_rexxc.rex"
   >A> 
"/export/home/agrellum/oorexx-test/ooRexx/utilities/rexxc/test_rexxc.rex"
   >M> "Q" => 
"/export/home/agrellum/oorexx-test/ooRexx/utilities/rexxc/test_rexxc.rex"
   >O> " " => "rexxc 
/export/home/agrellum/oorexx-test/ooRexx/utilities/rexxc/test_rexxc.rex"
   >>> "rexxc 
/export/home/agrellum/oorexx-test/ooRexx/utilities/rexxc/test_rexxc.rex"

Open Object Rexx Version 5.0.0
Build date: Dec  7 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
   100 *-*   address "" "rexxc" self~q(source~fullName) with output 
stem s. error stem e.

   >L> "rexxc"
   >V> SELF => "a rexxc.testGroup"
   >V> SOURCE => "a TEMPORARYTESTFILE"
   >M> "FULLNAME" => 
"/export/home/agrellum/oorexx-test/ooRexx/utilities/rexxc/test_rexxc.rex"
   >A> 
"/export/home/agrellum/oorexx-test/ooRexx/utilities/rexxc/test_rexxc.rex"
   >M> "Q" => 
"/export/home/agrellum/oorexx-test/ooRexx/utilities/rexxc/test_rexxc.rex"
   >O> " " => "rexxc 
/export/home/agrellum/oorexx-test/ooRexx/utilities/rexxc/test_rexxc.rex"
   >>> "rexxc 
/export/home/agrellum/oorexx-test/ooRexx/utilities/rexxc/test_rexxc.rex"

   >V> S. => "S."
   >K> "OUTPUT" => "S."
   >V> E. => "E."
   >K> "ERROR" => "E."
   101 *-*   self~assertRc(0, rc, "'"resource"' Rexx code expected to 
compile with rc 0")

   >V> SELF => "a rexxc.testGroup"
   >L> "0"
   >A> "0"
   >V> RC => "0"
   >A> "0"
   >L> "'"
   >V> RESOURCE => "EMPTY 0"
   >O> "" => "'EMPTY 0"
   >L> "' Rexx code expected to compile with rc 0"
   >O> "" => "'EMPTY 0' Rexx code expected to compile with rc 0"
   >A> "'EMPTY 0' Rexx code expected to compile with rc 0"
   102 *-*   self~assertTrue(s.0 > 0, "rexxc" self~testSource "is 
expected to produce a few lines of output")

   >V> SELF => "a rexxc.testGroup"
   >C> S.0 => "S.0"
   >V> S.0 => "0"
   >L> "0"
   >O> ">" => "0"
   >A> "0"
   >L> "rexxc"
   >V> SELF => "a rexxc.testGroup"
   >M> "TESTSOURCE" => "test_rexxc.rex"
   >O> " " => "rexxc test_rexxc.rex"
   >L> "is expected to produce a few lines of output"
   >O> " " => "rexxc test_rexxc.rex is expected to produce a 
few lines of output"
   >A> "rexxc test_rexxc.rex is expected to produce a few lines 
of output"

..

ooTest Framework - Automated Test of the ooRexx Interpreter

Interpreter:    REXX-ooRexx_5.0.0(MT)_64-bit 6.05 7 Dec 2018
OS Name:    SUNOS
SysVersion: SunOS illumos-3e90f8d31d.5.11

Tests ran:  12
Assertions: 15
Failures:   3
Errors: 0

[failure] [20181207 14:06:55.387878]
  svn:    r11562   Change date: 2018-12-03 23:45:29 +0100
  Test:   TEST_REXXC_ONE_ARG
  Class:  rexxc.testGroup
  File: /export/home/agrellum/.../ooRexx/utilities/rexxc/rexxc.testGroup
  Line:   102
  Failed: assertTrue
    Expected: [1]
    Actual:   [[0], identityHash="-7113985"]
    Message:  rexxc test_rexxc.rex is expected to produce a few lines 
of output


[failure] [20181207 14:06:55.539058]
  svn:    r11562   Change date: 2018-12-03 23:45:29 +0100
  Test:   TEST_REXXC_ONE_ARG_SYNTAX
  Class:  rexxc.testGroup
  File: /export/home/agrellum/.../ooRexx/utilities/rexxc/rexxc.testGroup
  Line:   91
  Failed: assertTrue
    Expected: [1]
    Actual:   [[0], 

Re: [Oorexx-devel] rexxc.testGroup fails and logo/test counts repeat

2018-12-07 Thread Jason Martin

agrellum@openindiana:~$ rexxc qdate.rex legal.rexc
Open Object Rexx Version 5.0.0
Build date: Dec  7 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



Add "trace i" line 95



agrellum@openindiana:~$ cd oorexx-test/
agrellum@openindiana:~/oorexx-test$ ./testOORexx.rex -R 
ooRexx/utilities/rexxc -f rexxc

Searching for test containers..
Executing automated test suite    96 *-* source = 
.TemporaryTestFile~new(self, self~testSource)

   >E>   .TEMPORARYTESTFILE => "The TEMPORARYTESTFILE class"
   >V>   SELF => "a rexxc.testGroup"
   >A>   "a rexxc.testGroup"
   >V>   SELF => "a rexxc.testGroup"
   >M>   "TESTSOURCE" => "test_rexxc.rex"
   >A>   "test_rexxc.rex"
   >M>   "NEW" => "a TEMPORARYTESTFILE"
   >>>   "a TEMPORARYTESTFILE"
   >=>   SOURCE <= "a TEMPORARYTESTFILE"
    97 *-* do resource over .resources
   >E> .RESOURCES => "a StringTable"
   >K> "OVER" => "a StringTable"
   >=> RESOURCE <= "EMPTY 0"
   >>> "EMPTY 0"
    98 *-*   source~createFromResource(resource)
   >V> SOURCE => "a TEMPORARYTESTFILE"
   >V> RESOURCE => "EMPTY 0"
   >A> "EMPTY 0"
    99 *-*   address "" "rexxc" self~q(source~fullName) with output 
stem s. error stem e.

   >L> "rexxc"
   >V> SELF => "a rexxc.testGroup"
   >V> SOURCE => "a TEMPORARYTESTFILE"
   >M> "FULLNAME" => 
"/export/home/agrellum/oorexx-test/ooRexx/utilities/rexxc/test_rexxc.rex"
   >A> 
"/export/home/agrellum/oorexx-test/ooRexx/utilities/rexxc/test_rexxc.rex"
   >M> "Q" => 
"/export/home/agrellum/oorexx-test/ooRexx/utilities/rexxc/test_rexxc.rex"
   >O> " " => "rexxc 
/export/home/agrellum/oorexx-test/ooRexx/utilities/rexxc/test_rexxc.rex"
   >>> "rexxc 
/export/home/agrellum/oorexx-test/ooRexx/utilities/rexxc/test_rexxc.rex"

   >V> S. => "S."
   >K> "OUTPUT" => "S."
   >V> E. => "E."
   >K> "ERROR" => "E."
   100 *-*   self~assertRc(0, rc, "'"resource"' Rexx code expected to 
compile with rc 0")

   >V> SELF => "a rexxc.testGroup"
   >L> "0"
   >A> "0"
   >V> RC => "0"
   >A> "0"
   >L> "'"
   >V> RESOURCE => "EMPTY 0"
   >O> "" => "'EMPTY 0"
   >L> "' Rexx code expected to compile with rc 0"
   >O> "" => "'EMPTY 0' Rexx code expected to compile with rc 0"
   >A> "'EMPTY 0' Rexx code expected to compile with rc 0"
   101 *-*   self~assertTrue(s.0 > 0, "rexxc" self~testSource "is 
expected to produce a few lines of output")

   >V> SELF => "a rexxc.testGroup"
   >C> S.0 => "S.0"
   >V> S.0 => "0"
   >L> "0"
   >O> ">" => "0"
   >A> "0"
   >L> "rexxc"
   >V> SELF => "a rexxc.testGroup"
   >M> "TESTSOURCE" => "test_rexxc.rex"
   >O> " " => "rexxc test_rexxc.rex"
   >L> "is expected to produce a few lines of output"
   >O> " " => "rexxc test_rexxc.rex is expected to produce a 
few lines of output"
   >A> "rexxc test_rexxc.rex is expected to produce a few lines 
of output"

..

ooTest Framework - Automated Test of the ooRexx Interpreter

Interpreter:    REXX-ooRexx_5.0.0(MT)_64-bit 6.05 7 Dec 2018
OS Name:    SUNOS
SysVersion: SunOS illumos-3e90f8d31d.5.11

Tests ran:  12
Assertions: 15
Failures:   3
Errors: 0

[failure] [20181207 11:51:50.293284]
  svn:    r11562   Change date: 2018-12-03 23:45:29 +0100
  Test:   TEST_REXXC_ONE_ARG
  Class:  rexxc.testGroup
  File: /export/home/agrellum/.../ooRexx/utilities/rexxc/rexxc.testGroup
  Line:   101
  Failed: assertTrue
    Expected: [1]
    Actual:   [[0], identityHash="-7113985"]
    Message:  rexxc test_rexxc.rex is expected to produce a few lines 
of output


[failure] [20181207 11:51:50.450079]
  svn:    r11562   Change date: 2018-12-03 23:45:29 +0100
  Test:   TEST_REXXC_ONE_ARG_SYNTAX
  Class:  rexxc.testGroup
  File: /export/home/agrellum/.../ooRexx/utilities/rexxc/rexxc.testGroup
  Line:   91
  Failed: assertTrue
    Expected: [1]
    Actual:   [[0], identityHash="-7113985"]
    Message:  rexxc is expected to produce a few lines of output

[failure] [20181207 11:51:50.515345]
  svn:    r11562   Change date: 2018-12-03 23:45:29 +0100
  Test:   TEST_REXXC_TWO_ARGS
  Class:  rexxc.testGroup
  File: /export/home/agrellum/.../ooRexx/utilities/rexxc/rexxc.testGroup
  Line:   126
  Failed: assertTrue
    Expected: [1]
    Actual:   [[0], identityHash="-7113985"]
    Message:  a few lines of output expected from rexxc 'EMPTY 0'

File search:    00:00:00.003768
Suite construction: 

[Oorexx-devel] rexxc.testGroup fails and logo/test counts repeat

2018-12-07 Thread Jason Martin

r11579

agrellum@openindiana:~/oorexx-test$ ./testOORexx.rex -X native_api
Searching for test containers
Executing automated test suite.../usr/bin/sh: line 1: zxyabc: not found
/usr/bin/sh: line 1: zxyabc: not found
 ...
...
..

ooTest Framework - Automated Test of the ooRexx Interpreter

Interpreter:    REXX-ooRexx_5.0.0(MT)_64-bit 6.05 7 Dec 2018
OS Name:    SUNOS
SysVersion: SunOS illumos-3e90f8d31d.5.11

Tests ran:  22435
Assertions: 375322
Failures:   3
Errors: 0

[failure] [20181207 04:04:00.128320]
  svn:    r11562   Change date: 2018-12-03 23:45:29 +0100
  Test:   TEST_REXXC_ONE_ARG
  Class:  rexxc.testGroup
  File: /export/home/agrellum/.../ooRexx/utilities/rexxc/rexxc.testGroup
  Line:   100
  Failed: assertTrue
    Expected: [1]
    Actual:   [[0], identityHash="-7113985"]
    Message:  rexxc test_rexxc.rex is expected to produce a few lines 
of output


[failure] [20181207 04:04:00.286933]
  svn:    r11562   Change date: 2018-12-03 23:45:29 +0100
  Test:   TEST_REXXC_ONE_ARG_SYNTAX
  Class:  rexxc.testGroup
  File: /export/home/agrellum/.../ooRexx/utilities/rexxc/rexxc.testGroup
  Line:   91
  Failed: assertTrue
    Expected: [1]
    Actual:   [[0], identityHash="-7113985"]
    Message:  rexxc is expected to produce a few lines of output

[failure] [20181207 04:04:00.355577]
  svn:    r11562   Change date: 2018-12-03 23:45:29 +0100
  Test:   TEST_REXXC_TWO_ARGS
  Class:  rexxc.testGroup
  File: /export/home/agrellum/.../ooRexx/utilities/rexxc/rexxc.testGroup
  Line:   125
  Failed: assertTrue
    Expected: [1]
    Actual:   [[0], identityHash="-7113985"]
    Message:  a few lines of output expected from rexxc 'EMPTY 0'

Interpreter:    REXX-ooRexx_5.0.0(MT)_64-bit 6.05 7 Dec 2018
OS Name:    SUNOS
SysVersion: SunOS illumos-3e90f8d31d.5.11

Tests ran:  22435
Assertions: 375322
Failures:   3
Errors: 0

File search:    00:00:02.290219
Suite construction: 00:00:01.903748
Test execution: 00:03:24.675364
Total time: 00:03:29.623363



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


Re: [Oorexx-devel] OpenIndiana revision 11562

2018-12-04 Thread Jason Martin



On 12/04/18 02:57 PM, Erich Steinböck wrote:
Jason, we're currently in the process of switching from a system-wide 
rxapi daemon to a per-user rxapi process.
I wouldn't know if the patch you're referring to still applies ... 
you're providing scarce detail.


That is what I meant by Drop / Close. My rxapi.xml was system-wide like 
the old ones for other OSes.




Regarding rxqueue, all these man page examples work as expected on 
Linux.  Note that external Rexx Queues have to be created before they 
can be used, e. g. q = .RexxQueue~new('myq') or call rxqueue 'o', 'myq'




It's a man page. It looks or reads like I can do this from the command 
line without writing code.
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


[Oorexx-devel] OpenIndiana revision 11562

2018-12-03 Thread Jason Martin

Multiple runs all tests pass.

Drop/Close:

https://sourceforge.net/p/oorexx/patches/205/


man rxqueue: This still does not work but I believe there is a bug 
created already.



   ls | rxqueue MYQ /LIFO
  Place the output from the ls command onto the MYQ queue 
in last-

  in first-out order

   export RXQUEUE=MYQ;rxqueue /CLEAR
  Clear the contents of MYQ



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


Re: [Oorexx-devel] Ad MacOS SIGPIPE (Re: Time for the *ix users to pitch in.

2018-11-29 Thread Jason Martin

Just noticed in logs.

/var/adm/messages:

Nov 29 17:41:46 openindiana genunix: [ID 269049 kern.notice] NOTICE: 
rexx[1392] attempt to execute non-executable data at 0xfd7fe8a7a130 
by uid 101





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


Re: [Oorexx-devel] Ad MacOS SIGPIPE (Re: Time for the *ix users to pitch in.

2018-11-29 Thread Jason Martin

Sorry, one 'sic nix'.

Checked out revision 11546.

Builds no major warning.

rxapi started as service on startup.

All tests in test suite pass.

Remove rxapi on start up.

test suite Segmentation Fault (core dumped)

start rxapi as root.

All tests in test suite pass.

Could not rxapi as normal user.  (Have not read docs or looked at new 
code yet.)



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


Re: [Oorexx-devel] Advice needed on scserver.rex and scclient.rex sample programs

2018-11-07 Thread Jason Martin

I like the new shebang variable after looking at it.

I can build and install both 32 and 64 at the same time or choose.

It gets the samples shebang right.





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


Re: [Oorexx-devel] oorexxapi and using C++ Objects

2018-11-07 Thread Jason Martin

Even better, a simple window from:

FLTK
http://www.fltk.org/index.php

or

FOX
http://www.fox-toolkit.org/


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


Re: [Oorexx-devel] oorexxapi and using C++ Objects

2018-11-07 Thread Jason Martin

To better explain:

An example of an external open source C++ library.

gtkmm

wxwidgets

or just something simple






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


[Oorexx-devel] oorexxapi and using C++ Objects

2018-11-07 Thread Jason Martin

I am not really a CPP or OOP programmer.

But I or the docs could use at least an example of:

Using oorexxapi:

1) Where the thing is already written in C++ and not C based.
2) Is already a OOP thing.
3) Not Java

It's a car object in a C++ library.
Turn it on.
Use the brakes.

Have looked at RexxGTK and have these collected over the years.

20150401-native-rgf.pdf
Calling C functions from Rexx.pdf
EDM_2 - REXX-ercising Your Applications - Part 1_2.pdf
EDM_2 - REXX-ercising Your Applications - Part 2_2.pdf
Exposing multiple foreign functions to Regina Rexx.pdf
Exposing simple foreign functions to Regina Rexx.pdf
rexx_funcs.pdf
REXX-Wrapper – a short introduction _ Schrievkrom.pdf
SEP94_ Extending REXX with C++.pdf
Using REXX and C Together - Part 1.pdf
Using REXX as a macro language.pdf
Writing REXX Functions.pdf



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


Re: [Oorexx-devel] Advice needed on scserver.rex and scclient.rex sample programs

2018-11-07 Thread Jason Martin

Works for me using '127.0.0.1'


On 11/06/18 12:52 PM, Erich Steinböck wrote:

You might use something like below to run an automated test




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


Re: [Oorexx-devel] Advice needed on scserver.rex and scclient.rex sample programs

2018-11-07 Thread Jason Martin

I really have not got into the ZONES stuff yet.

From the man page.

The gethostid() function returns the 32-bit identifier for the current
host. If the hardware capability exists, this identifier is taken from
platform-dependent stable storage; otherwise it is a randomly generated
number.  It is not guaranteed to be unique.

If the calling thread's process is executing within a non-global zone
that emulates a host identifier, then the zone's emulated 32-bit host
identifier is returned.




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


Re: [Oorexx-devel] Advice needed on scserver.rex and scclient.rex sample programs

2018-11-06 Thread Jason Martin
agrellum@openindiana:~$ rexx -e "say SockGetHostId(); ::requires 
'rxsock' LIBRARY"

119.242.25.32
agrellum@openindiana:~$


On 11/06/18 07:06 PM, Jason Martin wrote:

agrellum@openindiana:~/ZZ$ rexx sfserver.rex
Server listening at 119.242.25.32:50010
SockBind failed: EADDRNOTAVAIL
Press [Enter] To Shutdown

Not sure where 119.242.25.32 is coming from

Test groups all passed




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


Re: [Oorexx-devel] Advice needed on scserver.rex and scclient.rex sample programs

2018-11-06 Thread Jason Martin

This is purely my fault. Pulled examples from checkout.


On 11/06/18 07:20 PM, Jason Martin wrote:
Could you check that this has picked up the correct location for your 
version?


Will do tomorrow.






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


Re: [Oorexx-devel] Advice needed on scserver.rex and scclient.rex sample programs

2018-11-06 Thread Jason Martin
Could you check that this has picked up the correct location for your 
version?


Will do tomorrow.




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


Re: [Oorexx-devel] Advice needed on scserver.rex and scclient.rex sample programs

2018-11-06 Thread Jason Martin

agrellum@openindiana:~/ZZ$ rexx sfserver.rex
Server listening at 119.242.25.32:50010
SockBind failed: EADDRNOTAVAIL
Press [Enter] To Shutdown

Not sure where 119.242.25.32 is coming from

Test groups all passed


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


Re: [Oorexx-devel] Advice needed on scserver.rex and scclient.rex sample programs

2018-11-06 Thread Jason Martin

r11517 on OpenIndiana

rexx sfserver.rex

SockBind failed: EADDRNOTAVAIL

Maybe? https://idea.popcount.org/2014-04-03-bind-before-connect/

Also? New to me.

#!@OOREXX_SHEBANG_PROGRAM@





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


[Oorexx-devel] Fwd: Re: Advice needed on scserver.rex and scclient.rex sample programs

2018-11-03 Thread Jason Martin




When I looked at the code early in year and now.

I was able to run Example 6.1. Socket Class in Section 6.5. Socket Class
Example of rxsock.pdf

So I knew oorexx was OK

It uses SO_REUSEADDR




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


[Oorexx-devel] revision 11514 SunOS

2018-10-30 Thread Jason Martin

All tests pass

All examples.addressWith.zip run

Only one build warning

[ 88%] Building CXX object 
CMakeFiles/hostemu.dir/extensions/hostemu/cmdparse.cpp.o

..\..\cmdparse.cpp: In function 'int yyparse()':
..\..\cmdparse.cpp:1603:35: warning: ISO C++ forbids converting a string 
constant to 'char*' [-Wwrite-strings]
..\..\cmdparse.cpp:1746:35: warning: ISO C++ forbids converting a string 
constant to 'char*' [-Wwrite-strings]



Will submit package to https://github.com/OpenIndiana/oi-userland when 
5.0.0 is released




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


Re: [Oorexx-devel] ADDRESS TEST

2018-10-27 Thread Jason Martin

agrellum@openindiana:~/EXAMPLES/examples.addressWith$ ls
filter1.rex filter3.rex test2.rex   test4.rex 
useFilter2.rex  useFilter4.rex
filter2.rex test1.rex   test3.rex   useFilter1.rex 
useFilter3.rex
agrellum@openindiana:~/EXAMPLES/examples.addressWith$ grep -l -r array . 
| sort

./test2.rex
./test4.rex
./useFilter1.rex
./useFilter2.rex
./useFilter3.rex
./useFilter4.rex

test2 runs sometimes without hanging.

agrellum@openindiana:~/EXAMPLES/examples.addressWith$ rexx test4.rex
test4.rex -> redirecting to arrays (orderable collection), using 
operating system's 'sort' utility:


sorting input: emil,dora,berta,anton,caesar
about to execute [sort] ->
 *** ERROR: At SysThread(), createThread - RC = 1 !
^C    15 *-* address "" command with input using (inArr) output using 
(outArr)
REX0098E: Error 98 running 
/export/home/agrellum/EXAMPLES/examples.addressWith/test4.rex line 15:  
Execution error.
REX0817E: Error 98.923:  Address command redirection failed (Interrupted 
system call).

agrellum@openindiana:~/EXAMPLES/examples.addressWith$ ^C
agrellum@openindiana:~/EXAMPLES/examples.addressWith$





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


[Oorexx-devel] ADDRESS TEST

2018-09-01 Thread Jason Martin

Checked out revision 11490

Have to skip ADDRESS test.

If I run,

./testOORexx.rex -R ooRexx/base/keyword -f ADDRESS

it shows

*** ERROR: At SysThread(), createThread - RC = 1 !

then runs forever. Needs kill -9 the_pid to end it.


All the other tests pass.

Interpreter:    REXX-ooRexx_5.0.0(MT)_64-bit 6.05 31 Aug 2018
OS Name:    SUNOS
SysVersion: SunOS illumos-45bf502ff9.5.11


--
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


[Oorexx-devel] Over 4x speed gain for me since my last April build

2018-06-20 Thread Jason Martin
Performance: 4343056 REXX clauses per second

ooTest Framework - Automated Test of the ooRexx Interpreter

Interpreter:REXX-ooRexx_5.0.0(MT)_64-bit 6.05 20 Jun 2018
OS Name:SUNOS
SysVersion: SunOS illumos-696c22af67.5.11

Tests ran:  22330
Assertions: 374805
Failures:   0
Errors: 0

File search:00:00:04.887663
Suite construction: 00:00:01.607969
Test execution: 00:04:52.117198
Total time: 00:04:58.834672
--
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


Re: [Oorexx-devel] Releasing 5.0 Beta as 5.0 GA ?

2018-05-22 Thread Jason Martin
Will rxsock6 stuff be in release?
broke built for me on openindiana.
missing something in cmakelist;
not show stopper though
--
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


Re: [Oorexx-devel] Significant speed improvements in latest ooRexx 5.0

2018-03-21 Thread Jason Martin
I second that.  Compared against last test results listed at
https://sourceforge.net/p/oorexx/patches/203/

Interpreter:REXX-ooRexx_5.0.0(MT)_64-bit 6.05 21 Mar 2018
OS Name:SUNOS
SysVersion: SunOS illumos-14ae03cbd0.5.11

Tests ran:  22331
Assertions: 374847
Failures:   3
Errors: 0

File search:00:00:06.794949
Suite construction: 00:00:04.244096
Test execution: 00:04:25.200663
Total time: 00:04:36.702734
--
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


Re: [Oorexx-devel] Four patches needed OpenIndiana/SunOS/Solaris

2018-01-22 Thread Jason Martin
Built from today's svn checkout.

The patches are there if anyone needs them.

Probably all that I can do. Not a C++ programmer.

Just make sure they do not bother other OS builds.

agrellum@openindiana:~$ rexx rexxcps.rex
- REXXCPS 2.1 -- Measuring REXX clauses/second -
 REXX version is: REXX-ooRexx_5.0.0(MT)_32-bit 6.05 22 Jan 2018
   System is: SUNOS
   Averaging: 100 measures of 100 iterations

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

 Performance: 802417 REXX clauses per second

agrellum@openindiana:~$ rexx -v
Open Object Rexx Version 5.0.0
Build date: Jan 22 2018
Addressing mode: 32
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
--
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


Re: [Oorexx-devel] Four patches needed OpenIndiana/SunOS/Solaris

2018-01-22 Thread Jason Martin
Will not let me there.

To create ticket, you must be authorized by project admin.
--
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


[Oorexx-devel] Four patches needed OpenIndiana/SunOS/Solaris

2018-01-22 Thread Jason Martin
cmake find ncurses fixed/broke/fixed/broke 

create symlink in /usr/include to ncurses.h in /usr/include/ncurses

If patches do not come through, I can email to someone. Maybe, René.
--- oorexx-5.0.0beta/CMakeLists.txt.~1~	Fri Jan 19 17:32:58 2018
+++ oorexx-5.0.0beta/CMakeLists.txt	Sat Jan 20 23:48:03 2018
@@ -346,6 +346,32 @@
   check_include_file(usersec.h HAVE_USERSEC_H)
   check_include_file(ncurses.h HAVE_NCURSES_H)
 endif ()
+if (UNIX)
+if (NOT LINUX)
+check_library_exists(socket getaddrinfo "" HAVE_LIBSOCKET)
+if (HAVE_LIBSOCKET)
+  set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} socket)
+endif (HAVE_LIBSOCKET)
+check_library_exists(nsl gethostbyname "" HAVE_LIBNSL)
+if (HAVE_LIBNSL)
+  set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} nsl)
+endif (HAVE_LIBNSL)
+check_library_exists(resolv hstrerror "" HAVE_LIBRESOLV)
+if (HAVE_LIBRESOLV)
+  set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} resolv)
+endif (HAVE_LIBRESOLV)
+check_library_exists(rt nanosleep "" HAVE_LIBRT)
+if (HAVE_LIBRT)
+  set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} rt)
+endif (HAVE_LIBRT)
+endif (NOT LINUX)
+check_function_exists(getaddrinfo HAVE_GETADDRINFO)
+check_function_exists(gethostbyname HAVE_GETHOSTBYNAME)
+check_function_exists(poll HAVE_POLL)
+check_function_exists(select HAVE_SELECT)
+check_function_exists(cfmakeraw HAVE_CFMAKERAW)
+check_function_exists(regcomp HAVE_REGCOMP)
+endif (UNIX)
 set (PACKAGE ${PROJECT_NAME})
 set (PACKAGE_BUGREPORT "http://sourceforge.net/projects/oorexx/;)
 set (PACKAGE_NAME ${PROJECT_NAME})
@@ -499,7 +525,7 @@
 ${build_common_platform_dir}
 ${build_lib_dir})
 # Extra link library definitions
-target_link_libraries(rexxapi ${platform_rexxapi_libs})
+target_link_libraries(rexxapi ${platform_rexxapi_libs} ${CMAKE_REQUIRED_LIBRARIES})
 
 install(TARGETS rexxapi RUNTIME DESTINATION ${INSTALL_LIB_DIR} COMPONENT Core
 LIBRARY DESTINATION ${INSTALL_LIB_DIR} COMPONENT Core
@@ -767,7 +793,7 @@
 ${build_interpreter_platform_dir})
 
 # Extra link library definitions
-target_link_libraries(rexx rexxapi ${platform_interpreter_libs})
+target_link_libraries(rexx rexxapi ${platform_interpreter_libs} ${CMAKE_REQUIRED_LIBRARIES})
 install(TARGETS rexx RUNTIME DESTINATION ${INSTALL_LIB_DIR} COMPONENT Core
  LIBRARY DESTINATION ${INSTALL_LIB_DIR} COMPONENT Core
  ARCHIVE DESTINATION ${INSTALL_INCLUDE_DIR} COMPONENT DevLib)
@@ -808,7 +834,7 @@
 ${build_api_platform_dir}
 ${build_messages_dir})
 # Extra link library definitions
-target_link_libraries(rexx_exe rexx rexxapi ${platform_rexx_exe_libs})
+target_link_libraries(rexx_exe rexx rexxapi ${platform_rexx_exe_libs} ${CMAKE_REQUIRED_LIBRARIES})
 # Merge in extra manifest information on Windows
 if (WIN32)
 add_custom_command(TARGET rexx_exe POST_BUILD
@@ -837,7 +863,7 @@
 ${build_api_dir}
 ${build_api_platform_dir})
 # Extra link library definitions
-target_link_libraries(rexximage rexx rexxapi ${platform_rexximg_libs})
+target_link_libraries(rexximage rexx rexxapi ${platform_rexximg_libs} ${CMAKE_REQUIRED_LIBRARIES})
 
 # handy macro for copying files from the source into the build directory.
 macro (copy_build_file name source)
@@ -909,7 +935,7 @@
 target_include_directories(rxapi PUBLIC
  ${build_rexxapi_server_dir})
 # Extra link library definitions
-target_link_libraries(rxapi rexx rexxapi ${platform_rxapi_libs})
+target_link_libraries(rxapi rexx rexxapi ${platform_rxapi_libs} ${CMAKE_REQUIRED_LIBRARIES})
 
 # Kill the rxapi daemon whenever we have to build, otherwise the build
 # will fail.  Unfortunately, the killing of the process is not immediate,
@@ -1012,7 +1038,7 @@
 ${build_api_platform_dir}
 ${build_messages_dir})
 # Extra link library definitions
-target_link_libraries(rexxc rexx rexxapi ${platform_rexxc_libs})
+target_link_libraries(rexxc rexx rexxapi ${platform_rexxc_libs} ${CMAKE_REQUIRED_LIBRARIES})
 install(TARGETS rexxc RUNTIME COMPONENT Core DESTINATION ${INSTALL_EXECUTABLE_DIR})
 
  rxqueue (executable) #
@@ -1034,7 +1060,7 @@
 ${build_interpreter_platform_dir}
 ${build_messages_dir})
 # Extra link library definitions
-target_link_libraries(rxqueue rexx rexxapi ${platform_rxqueue_libs})
+target_link_libraries(rxqueue rexx rexxapi ${platform_rxqueue_libs} ${CMAKE_REQUIRED_LIBRARIES})
 install(TARGETS rxqueue RUNTIME COMPONENT Core DESTINATION ${INSTALL_EXECUTABLE_DIR})
 
  rxsubcom (executable) #
@@ -1056,7 +1082,7 @@
  ${build_interpreter_platform_dir}
  ${build_messages_dir})
 # Extra link library definitions