尝试在RPi上使用LinuxBrew时,获取“configure:error:无法运行C编译的程序”

时间:2016-03-01 03:13:47

标签: linux raspberry-pi homebrew raspbian linuxbrew

我正在尝试在Raspberry Pi上安装节点

我使用屏幕连接到它的命令行

我成功安装了LinuxBrew,但每当我尝试安装软件包时

如果我这样做:

brew install node (--host)

我明白了:

checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/tmp/pkg-config20160301-6502-vg0e9w/pkg-config-0.29':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
Error: Unable to locate the system's glibc

当我尝试使用brew install glibc --with-binutils --with-linux-headers安装glibc时  我得到完全相同的错误。

有谁知道发生了什么事?

P.S:这是Model 2 B Pi

aTdHvAaNnKcSe

0 个答案:

没有答案