0

我的macos是Mojave,10.14.4,Xcode已经全面更新。我今天早上完成了任务。另外,在我通过 App Store 下载 Xcode 后,弹出一个提示

安装额外的必需组件?Xcode 需要额外的组件来支持运行和调试。选择安装以添加所需的组件。

我完全遵守了。最后我能够打开 Xcode 并且版本是

Xcode 10.2.1 (10E1001)

为了采取额外措施,我重新启动了计算机。但是 fink 仍然无法运行;见下文。

> fink install jhead
Password:
Use 'fink reinstall fink' to switch distributions
from 10.13 to 10.14.
'install' operation not permitted.
> fink reinstall fink
Use 'fink reinstall fink' to switch distributions
from 10.13 to 10.14.
Information about 11530 packages read in 2 seconds.
Failed: 
The Xcode Command Line Tools need to be (re)installed. 
Execute 'sudo xcode-select --install' to obtain them.
Or you can get them via direct download from developer.apple.com
(free registration required) if you don't want to install Xcode.app.
> sudo xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
> fink -V
Package manager version: 0.43.1
Distribution version: selfupdate-git Fri May 10 17:37:58 2019, 10.13, x86_64
Trees: local/main stable/main

Copyright (c) 2001 Christoph Pfisterer
Copyright (c) 2001-2016 The Fink Package Manager Team
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
> 

我如何让芬克工作?

4

1 回答 1

0

感谢 Fink 用户联络员 Alexander Hansen 博士,在 fink-beginners@lists.sourceforge.net:

fink 0.43.1 不能在 Mojave 上运行。我们真的不能在更新的操作系统版本上发布 fink 版本,所以我们鼓励人们在更新操作系统之前更新 fink。

你可以从https://sourceforge.net/projects/fink/files/fink/0.44.1/fink_0.44.1-131_darwin-x86_64.deb/download下载一个可以运行的 fink 版本,然后从终端窗口使用“sudo dpkg -i $HOME/Downloads/fink_0.44.1-131_darwin-x86_64.deb” 用您的实际下载位置更新它(替换 $HOME/Downloads)。

这成功了,我随后能够安装 jhead。

于 2019-05-12T22:44:00.283 回答