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


> Am 07.11.2018 um 23:21 schrieb Rick McGuire <object.r...@gmail.com>:
> 
> 
> 
> On Wed, Nov 7, 2018 at 5:01 PM P.O. Jonsson <oor...@jonases.se 
> <mailto:oor...@jonases.se>> wrote:
> Dear Rick and Erich,
> 
> I have tried today to build on MAC using revision 11517. Unfortunately the 
> Shebang comes out as #!/opt/oorexx5.0.0/bin/rexx rather as the intended 
> #!/usr/bin/env rexx
> 
> That IS the intended Shebang line. It points directly to the installed 
> executable rather than relying on it being in the path.

OK, I see. But #!/usr/bin/env rexx should work just as good on MAC. A Rexx 
script/program pointing to /opt/oorexx5.0.0/bin/rexx will be invoked 
differently than a normal Rexx <myprogram.rex> invocation, since the latter 
will rely on symlinks to /usr/local/bin,lib etc, automatically found by the 
system.

> 
> I copied the line
> 
> set (OOREXX_SHEBANG_PROGRAM "/usr/bin/env rexx")
> 
> To the Unix part of CMakelists.txt and after that I get the expected Shebang 
> in all examples
> 
> I have created a diff file and attached it (as well as my version and r11517.
> 
> For what it is worth I can now generate a ooRexx installation without any 
> modification to CMakelists.txt, here the command for a release version:
> 
> cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=RELEASE -DWITH_CCACHE=TRUE 
> -DCMAKE_INSTALL_PREFIX=/opt/oorexx5.0.0 -DDOC_SOURCE_DIR=../oorexxDocs  
> ../../oorexxsvn/oorexx-code-0

RE Also, it would be better if the CMakeLists.txt properly set the install 
prefix for the Mac rather than relying on the CMake command override. The 
WITH_CCACHE should also be a default, if possible.  

I have no objections as long as the install path can be changed on demand. Same 
with CCACHE, no objections. Who will/can do the modification? Given the number 
of times I have misunderstood your intentions I do not think I shall do it :-(

> If the new Shebang causes any problems in other installations (Indiana?) 
> maybe you can move it into „Darwin“ at least?
> 
> I will have time to test the client-server changes only during the weekend.
> 
> 
> 
> Hälsningar/Regards/Grüsse,
> P.O. Jonsson
> oor...@jonases.se <mailto:oor...@jonases.se>
> 
> 
> 
> 
>> Am 06.11.2018 um 22:47 schrieb Rick McGuire <object.r...@gmail.com 
>> <mailto:object.r...@gmail.com>>:
>> 
>> 
>> 
>> On Tue, Nov 6, 2018 at 3:09 PM Jason Martin <agrel...@gmail.com 
>> <mailto:agrel...@gmail.com>> wrote:
>> r11517 on OpenIndiana
>> 
>> rexx sfserver.rex
>> 
>> SockBind failed: EADDRNOTAVAIL
>> 
>> Maybe? https://idea.popcount.org/2014-04-03-bind-before-connect/ 
>> <https://idea.popcount.org/2014-04-03-bind-before-connect/>
>> 
>> Also? New to me.
>> 
>> #!@OOREXX_SHEBANG_PROGRAM@
>> 
>> This is something new in the build. Since MacOS and Linux do not place rexx 
>> in the same locations, the build dynamically updates the sample shebang 
>> lines using the install prefix defined in the Cmake file. The version in the 
>> build tree is the template and the build directory should have a samples dir 
>> in it with the updated versions. Could you check that this has picked up the 
>> correct location for your version?
>> 
>> Rick
>>  
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Oorexx-devel mailing list
>> Oorexx-devel@lists.sourceforge.net 
>> <mailto:Oorexx-devel@lists.sourceforge.net>
>> https://lists.sourceforge.net/lists/listinfo/oorexx-devel 
>> <https://lists.sourceforge.net/lists/listinfo/oorexx-devel>
>> _______________________________________________
>> Oorexx-devel mailing list
>> Oorexx-devel@lists.sourceforge.net 
>> <mailto:Oorexx-devel@lists.sourceforge.net>
>> https://lists.sourceforge.net/lists/listinfo/oorexx-devel 
>> <https://lists.sourceforge.net/lists/listinfo/oorexx-devel>
> 
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net <mailto:Oorexx-devel@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel 
> <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

Reply via email to