0

How do I run/install this: https://github.com/kevmoo/kbuild?

I installed the dependencies and tried to execute the bin/kbuild Python script, but it's giving me this error:

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

My guess is that this tool was intended for OSX and Homebrew and that's why it's choking. I just wasn't sure based on the minimalist installation instructions.

4

1 回答 1

0

第 12 行: BREW_PREFIX = subprocess.check_output(['brew', '--prefix']).strip() 明确地试图在 shell 中运行“brew”,所以是的,我会说它只为 OSX 编写。

我建议您等待您的问题在 GitHub 上得到回答,或者尝试自己修改它。似乎 brew 仅用于检查可用的编译器。

于 2013-08-08T03:26:36.147 回答