Re: OSX 11.2 (and M1 hardware) support

Hanspeter Niederstrasser <[email protected]>
Newsgroups gmane.os.apple.fink.beginners
Organization Snaggled Works
Message-ID <[email protected]>
On 2/14/21 12:51 PM, John Wiggins via Fink-beginners wrote:
> Hanspeter:
> 
> Should I take this offline and send just to you?
> I tried the following and the ./bootstrap failed almost immediately	because the arm system is unrecognized:
> 
> $ ./bootstrap 2>&1 | tee see_bootstrap.out 2>&1
> 
> Fink must be installed and run with superuser (root) privileges. Fink can
> automatically try to become root when it's run from a user account. Since
> you're currently running this script as a normal user, the method you choose
> will also be used immediately for this script. Available methods:
> 
> (1)     Use sudo
> (2)     Use su
> (3)     None, fink must be run as root
> 
> Choose a method: [1]
> 
> Password:
> Checking package... looks good (fink-0.45.99.git).
> Checking system... arm-apple-darwin20.3.0
> Use of uninitialized value $gcc in regexp compilation at /Users/jw/fink_install_14Feb2021/fink/perlmod/Fink/Services.pm line 1343.
> Use of uninitialized value $gcc in concatenation (.) or string at /Users/jw/fink_install_14Feb2021/fink/perlmod/Fink/Bootstrap.pm line 164.
> This system is unrecognized and not supported by Fink.

Look at the file fink/perlmod/Fink/Bootstrap.pm, and around line 269, 
there's this code:

i386-apple-darwin20\.[0-4]

Change that to

(i386|arm)-apple-darwin20\.[0-4]

That's the primary detection point for the processor type during bootstrap.

Hanspeter



_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.