Fink on macOS Big Sur(unsuccessful trial)

a_sk--- via Fink-beginners <[email protected]> Sun, 13 Aug 2023 03:24:01 +0900
Newsgroups gmane.os.apple.fink.beginners
Message-ID <[email protected]>
Hi all

1) According to https://www.finkproject.org/index.php?phpLang=en <https://www.finkproject.org/index.php?phpLang=en>
we do not have any "official fink releases" after macOS Big Sur, though it was noticed that it would be released soon.

2) Someone at github.com <http://github.com/> and others suggests that we shall take the next guided steps.  
I have tried it, but unsuccessful. It would be helpful to teach me how to cope with it.
 
mkdir -p ~/src
cd src
git clone https://github.com/Fink/fink <https://github.com/Fink/fink>
cd fink
./bootstrap

(~/src/fink/perlmod/Services.pm ) —
1441 sub get_osx_vers {
1442         my $sw_vers = get_osx_vers_long();
1443         my $darwin_osx = get_darwin_equiv();
1444         $sw_vers =~ s/^(\d+\.\d+).*$/$1/;
1445         if ($sw_vers != $darwin_osx) {
1446                 if (($sw_vers == 11.6 && $darwin_osx == 11.6) || ($sw_vers == 12.6 && $darwin_osx == 12.5)) {
1447                         # special cases in Big Sur and Monterey where it's OK to have a mismatch
1448                 } else {
1449                         die "$sw_vers does not match the expected value of $darwin_osx. Please run `fink selfupdate` to download a newer version of fink";
1450                 }
1451         }
1452         return $sw_vers;
1453 }

# Revision of Services.pm — delete lines 1446 to 1452. 

1441 sub get_osx_vers {                      
1442         my $sw_vers = get_osx_vers_long();
1443         my $darwin_osx = get_darwin_equiv();
1444         $sw_vers =~ s/^(\d+\.\d+).*$/$1/;
1445         if ($sw_vers != $darwin_osx) {
1446 }       
1447         
1448 =item get_osx_vers_long


# Secondary ./bootstrap — ended errors (See part of log as follows and attached "bootstrap_revised_.txt")

(Quote)
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/opt/sw2/src/fink.build/tar-bootstrap-1.29-1/tar-1.29':
configure: error: C compiler cannot create executables
See `config.log' for more details
### execution of ./configure failed, exit code 77
phase compiling: tar-bootstrap-1.29-1 failed

Before reporting any errors, please run "fink selfupdate" and try again.
Also try using "fink configure" to set your maximum build jobs to 1 and
attempt to build the package again.
If you continue to have issues, please check to see if the FAQ on Fink's 
website solves the problem.  If not, ask on one (not both, please) of
these mailing lists:

	The Fink Users List <[email protected]>
	The Fink Beginners List <[email protected]>.

Please try to include the complete error message in your report.  This
generally consists of a compiler line starting with e.g. "gcc" or "g++"
followed by the actual error output from the compiler.

Also include the following system information:
Package manager version: 0.45.99.git
Distribution version: selfupdate-point (bootstrap), 11.3, x86_64
Trees: local/main stable/main
Xcode.app: 13.0
Xcode command-line tools: 13.0.0.0.1.1630607135
Max. Fink build jobs:  4
(Unquote)

# Note: fink selfupdate was unable to do

# configure file is attached (See attached “Config_full.log_.txt”)

# some recommended first checking --
 uname -a
 sw_vers
 /usr/bin/perl --version

$ uname -a
Darwin G7bsd5.local 20.6.0 Darwin Kernel Version 20.6.0: Thu Jun  8 22:36:09 PDT 2023; root:xnu-7195.141.49.701.4~1/RELEASE_X86_64 x86_64

$ sw_vers
ProductName:	macOS
ProductVersion:	11.7.8
BuildVersion:	20G1351

$ /usr/bin/perl --version
This is perl 5, version 30, subversion 2 (v5.30.2) built for darwin-thread-multi-2level
(with 2 registered patches, see perl -V for more detail)

Copyright 1987-2020, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/ <http://www.perl.org/>, the Perl Home Page.

# as reference
[~] gcc -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 13.0.0 (clang-1300.0.29.3)
Target: x86_64-apple-darwin20.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

(Note of aliases l='ls -ap’, ll='ls -apl’, cdl='cd ..;l’)


(Annex - 2 txt files) bootstrap_revised_.txt, Config_full.log_.txt

_______________________________________________
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