On Wed, Nov 7, 2018 at 5:01 PM P.O. Jonsson <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*
>
> 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
>

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.

>
> 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
>
>
>
>
> Am 06.11.2018 um 22:47 schrieb Rick McGuire <object.r...@gmail.com>:
>
>
>
> On Tue, Nov 6, 2018 at 3:09 PM Jason Martin <agrel...@gmail.com> wrote:
>
>> 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@
>>
>
> 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
>> 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
>
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to