如何运行/安装以下内容:https://github.com/kevmoo/kbuild?
我安装了依赖项并尝试执行bin/kbuild脚本,但是它给了我这个错误:
Traceback (most recent call last):
File "kbuild/bin/kbuild", line 12, in <module>
BREW_PREFIX = subprocess.check_output(['brew', '--prefix']).strip()
File "/usr/lib/python2.7/subprocess.py", line 537, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1259, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory我的猜测是,这个工具是为OSX和家庭酿造,这就是为什么它是窒息。我只是不确定基于极简主义的安装说明。
发布于 2013-08-08 03:16:27
从kbuild脚本来看,它确实是OS & brew特定的。
脚本摘录
...
BREW_PREFIX = subprocess.check_output(['brew', '--prefix']).strip()
compiler_search_path = path.join(BREW_PREFIX, 'Cellar/closure-compiler', '*', 'libexec/build/compiler.jar')
compilers = glob.glob(compiler_search_path)
...homebrewgithub目录似乎也会对此信以为真:
如果您想通过Homebrew安装kbuild : brew安装https://raw.github.com/kevmoo/homebrew-kevmoo/master/kbuild.rb或brew点击brew tap kevmoo/kevmoo brew安装kbuild
https://unix.stackexchange.com/questions/85922
复制相似问题