gpt4 book ai didi

gnustep - 如何设置 GNUSTEP_MAKEFILES 以及将其设置为什么?

转载 作者:行者123 更新时间:2023-12-02 16:24:59 25 4
gpt4 key购买 nike

我正在 Windows 7 上的 VirtualBox 4.2.6 中运行 Ubuntu 12.04.1 LTS。我正在尝试从从 official repository on GitHub 下载的源代码构建 GNUstep Base。而不是使用 APT 安装 GNUstep 的任何部分(不要问)。当我输入 sudo make install在终端我得到了

GNUmakefile:29: GNUmakefile:30: 无法从 gnustep-config 获取 GNUSTEP_MAKEFILES 设置! GNUmakefile:31:也许 gnustep-make 没有正确安装, GNUmakefile:32:所以 gnustep-config 不在您的路径中。 GNUmakefile:33: GNUmakefile:34: 您的路径当前是/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GNUmakefile:35: GNUmakefile:40: * 编译前需要设置 GNUSTEP_MAKEFILES!停止。

呵呵(讽刺)。我的PATH变量实际上设置为 /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/GNUstep/System/Tools:/usr/GNUstep/System/Library/Makefiles 。这是怎么回事?

最佳答案

您需要获取/usr/share/GNUstep/Makefiles/GNUstep.sh 脚本来设置所有必需的 GNUSTEP_* 变量:

$ . /usr/share/GNUstep/Makefiles/GNUstep.sh         # or
$ . /usr/local/share/GNUstep/Makefiles/GNUstep.sh
$ make
...

关于gnustep - 如何设置 GNUSTEP_MAKEFILES 以及将其设置为什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15169267/

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