Re: Fink not recognizing command line tools even after postinstall script
Hanspeter Niederstrasser <[email protected]>
| Newsgroups | gmane.os.apple.fink.beginners |
|---|---|
| Organization | Snaggled Works |
| Message-ID | <[email protected]> |
On 4/3/20 8:58 PM, Lebois, Lauren Ann Mcdonough wrote: > Hello Fink Gurus, > > I've recently updated my macOS and Developer Tools, and reinstalled Fink, but when I go to use the command 'fink selfupdate-rsync', I get the following error: > > > Before changing your selfupdate method to 'rsync', you must install > > the Xcode Command Line Tools package from > > http://developer.apple.com (after free registration), > > or via the Downloads tab of the Xcode Preferences. > > Failed: Selfupdate method 'rsync' cannot be used > > However, I've already installed the Xcode Command Line Tools package... it seems Fink doesn't recognize the change. Per the Fink FAQ, to address this, I tried running: > > /sw/lib/fink/postinstall.pl > > However, I now get the following error: > > ~ % /sw/lib/fink/postinstall.pl > Checking system... i386-apple-darwin18.7.0 > Use of uninitialized value $gcc in regexp compilation at /sw/lib/perl5/Fink/Services.pm line 1348. > Use of uninitialized value $gcc in concatenation (.) or string at /sw/lib/perl5/Fink/Bootstrap.pm line 164. > This system was not released at the time this Fink release was made. > Prerelease versions of Mac OS X might work with Fink, but there are no guarantees. > can't write temporary file: Permission denied at /sw/lib/perl5/Fink/Config.pm line 617. > > In case it is helpful my Mac OS version is Mojave Version 10.14.6. My X Code version is 10.3. That's a mistake in the FAQ (Q5.24 presumbably). The instructions to run postinstall.pl were probably valid long ago but forgotten to be updated when things changed. For some time now, Apple keeps breaking how the Command Line Tools are registered every single time the OS is updated. You need to actually reinstall the Command Line Tools. Easiest method is to redownload from developer.apple.com (make sure to match the XCode.app version). 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