gpt4 book ai didi

xcode - autoconf : command not found Installing Cappuccino (Objective J)

转载 作者:行者123 更新时间:2023-12-03 13:38:16 29 4
gpt4 key购买 nike

我正在尝试安装 Cappuccino 。当我运行“./bootstrap.sh”时

我收到此错误:

Would you like to build the JavaScriptCore engine? This is optional but will 
make building and running Cappuccino and Objective-J much faster.
Enter "yes" or "no":
yes
./bootstrap.sh: line 362: autoconf: command not found
Traceback (most recent call last):
File "<string>", line 1, in <module>
AttributeError: 'NoneType' object has no attribute 'groups'
sh configure
Detected <JavaScriptCore/JavaScript.h>
clang -o lib/libnarwhal.dylib narwhal.c -dynamiclib -0s -force_cpusubtype_ALL -mmacosx-version-min=10.4 -arch i386 -Iinclude -framework JavaScriptCore
clang: error: unknown argument: '-0s' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
make: *** [lib/libnarwhal.dylib] Error 1
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
WARNING: building narwhal-jsc failed. Hit enter to continue.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
================================================================================
Bootstrapping of Cappuccino and other required tools is complete.
NOTE: any changes made to the shell configuration files won't take place until
you restart the shell.

你们谁知道可以解决此问题,或者是否可以解决此问题?

最佳答案

使用Homebrew安装自动配置...命令应为:

brew install autoconf

您可能还需要安装XCode命令行实用程序才能使brew工作。

有关brew如何安装autoconf的确切详细信息,请参见其公式: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/autoconf.rb

关于xcode - autoconf : command not found Installing Cappuccino (Objective J),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23688494/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com