I'm trying to install spiff
on ubuntu 14.04.2 desktop, first I install linux brew:
我正在尝试在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
Then I try to install spiff:
然后我尝试安装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
How I can fix this issue? is there another way to install spiff?
我该如何解决这个问题?还有另一种安装spiff的方法吗?
1 个解决方案
#1
0
Watch for the ^
symbol under #include <Python.h>
. It points where the error occured. According to this output, GCC cannot find file 'Python.h'.
注意#include
#1
0
Watch for the ^
symbol under #include <Python.h>
. It points where the error occured. According to this output, GCC cannot find file 'Python.h'.
注意#include