错误:命令'/usr/bin/gcc-4.8';使用linuxbrew安装spiff时失败,退出状态为1

错误:命令'/usr/bin/gcc-4.8';使用linuxbrew安装spiff时失败,退出状态为1,linux,gcc,homebrew,cloud-foundry,linuxbrew,Linux,Gcc,Homebrew,Cloud Foundry,Linuxbrew,我正在尝试在ubuntu 14.04.2桌面上安装spiff,首先安装linux brew: $ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/linuxbrew/go/install)" $ export PATH=$PATH:/home/dzlab/.linuxbrew/bin 然后我尝试安装spiff: $ brew install spiff ==> Installing spiff from x

我正在尝试在ubuntu 14.04.2桌面上安装
spiff
,首先安装linux brew:

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/linuxbrew/go/install)"
$ export PATH=$PATH:/home/dzlab/.linuxbrew/bin
然后我尝试安装spiff:

$ brew install spiff
==> Installing spiff from xoebus/homebrew-cloudfoundry
==> Installing dependencies for spiff: mercurial, godep
==> Installing spiff dependency: mercurial
==> Downloading http://mercurial.selenic.com/release/mercurial-3.3.tar.gz
Already downloaded: /home/heavenize/.cache/Homebrew/mercurial-3.3.tar.gz
==> make PREFIX=/home/heavenize/.linuxbrew/Cellar/mercurial/3.3 install-bin
 #include <Python.h>
                    ^
compilation terminated.
error: command '/usr/bin/gcc-4.8' failed with exit status 1
make: *** [build] Error 1

READ THIS: https://github.com/Homebrew/linuxbrew/blob/master/share/doc/homebrew/Troubleshooting.md#troubleshooting
$brew安装spiff
==>从xoebus/homebrew cloudfoundry安装spiff
==>安装spiff的依赖项:mercurial、godep
==>安装spiff依赖项:mercurial
==>下载http://mercurial.selenic.com/release/mercurial-3.3.tar.gz
已下载:/home/heavenize/.cache/Homebrew/mercurial-3.3.tar.gz
==>make PREFIX=/home/heavenize/.linuxbrew/ceral/mercurial/3.3安装bin
#包括
^
编译终止。
错误:命令“/usr/bin/gcc-4.8”失败,退出状态为1
生成:**[build]错误1
请阅读以下内容:https://github.com/Homebrew/linuxbrew/blob/master/share/doc/homebrew/Troubleshooting.md#troubleshooting

我如何解决这个问题?是否有其他方法安装spiff?

注意
#include
下的
^
符号。它指出了发生错误的地方。根据此输出,GCC找不到文件“Python.h”