On 16.07.2021 14:10, P.O. Jonsson wrote:
> What version of MacOS are we talking about? 

11.4 BigSur on Intel.

ooRexx from SourceForge (r12280, Jul 12 2021).

> In the past extracting the .dmg caused a warning that could be overwritten 
> but I never experienced
> that rexx would not launch? Is this a M1 thing only? Or „Fat Binary“ problem? 
> Does it help to
> install to ~/Applications (a local install) rather than to /Applications 
> (Install for all users)?

No, what has helped was René's suggestion:

    sudo xattr -r -d com.apple.quarantine $YOUR_DIRECTORY

Ran it against /Applications/ooRexx5 and voilà now rexx -v works! (Still tests 
to do, will
symbollically create links in /usr/local/bin and /usr/local/lib and if problems 
arise, will report
back.)

---rony

>
>
>> Am 16.07.2021 um 13:47 schrieb Rony G. Flatscher <rony.flatsc...@wu.ac.at
>> <mailto:rony.flatsc...@wu.ac.at>>:
>>
>> Downloaded the latest MacOS version of ooRexx 5.0 from the ooRexx project 
>> page at sourceforge.
>>
>> It turns out that Apple inhibits using anything from that dmg as it was 
>> downloaded from the
>> Internet and not from Apple's store! :(
>>
>> This is due to Apple's "security policy" that they put in effect, which 
>> simply deprive the owners
>> of those Apple computers.
>>
>> Here are two use cases, each demonstrated with an attached screenshot:
>>
>>   * Scenario 1: installing ooRexx according to the readme will create 
>> "/Application/ooRexx5" with
>>     the "bin", "lib" etc directories. Trying to run 
>> "/Application/ooRexx5/bin/rexx -v" causes
>>     "Screenshot 2021-07-16 at 12.46.04.png" to pop up. Apple suggests to 
>> move the program to the
>>     bin! :-(
>>
>>   * Scenario 2: using Finder to "open" (run) "/Application/ooRexx5/bin/rexx" 
>> yields at first a
>>     pop up that seems to indicate, that further opening would allow the 
>> program to run from now
>>     on, cf. "Screenshot 2021-07-16 at 12.53.17.png". However when "rexx" 
>> loads the
>>     "librexx.4.dylib" the "Move to Bin" popup as above gets displayed!
>>
>> Probably turning off SIP
>> (<https://apple.stackexchange.com/questions/208478/how-do-i-disable-system-integrity-protection-sip-aka-rootless-on-macos-os-x>)
>> will allow this to work again, however, asking users to turn off SIP may be 
>> too much.
>>
>> The alternative would be to get and use the keys from Apple and use them to 
>> sign the ooRexx
>> executables.
>>
>> The question then is, who should apply/buy this: RexxLA or some individual 
>> developer in this
>> group who signs the releases? Who is going to pursue this?
>>
>> ---rony
>>
>> P.S.: @Enrico: this may be also the reason why on M1 with a stricter 
>> "security policy" in place
>> would not pick the amd64 binaries from the fat distribution! If you look at 
>> the first screen shot
>> you can read "Reason: no suitable image found.", the same error message as 
>> on M1, but here there
>> is additional information pointing ad "Library Validation: ..." that fails.
>>
>> This behavior might not be present if you create ooRexx on the M1 and run it 
>> from there, as then
>> the binaries did not come from "insecure locations" according to Apple 
>> (which is the Internet and
>> locations that are not under the control of Apple software).
>>
>>
>> <Screenshot 2021-07-16 at 12.46.04.png><Screenshot 2021-07-16 at
>> 12.53.17.png>_______________________________________________
>> Oorexx-devel mailing list
>> Oorexx-devel@lists.sourceforge.net 
>> <mailto: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

-- 
--
__________________________________________________________________________________

Prof. Dr. Rony G. Flatscher
Department Wirtschaftsinformatik und Operations Management
Institut für Wirtschaftsinformatik und Gesellschaft
D2c 2.086
WU Wien
Welthandelsplatz 1
A-1020  Wien/Vienna, Austria/Europe

http://www.wu.ac.at
__________________________________________________________________________________





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

Reply via email to