获得;配置:错误:无法运行C编译程序;尝试在RPi上使用LinuxBrew时

获得;配置:错误:无法运行C编译程序;尝试在RPi上使用LinuxBrew时,linux,raspberry-pi,homebrew,raspbian,linuxbrew,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... c

我正在尝试在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
当我尝试安装glibc时:
brew安装glibc——使用binutils——使用linux头文件
我得到了完全相同的错误

有人知道发生了什么事吗

附言:这是一款2B型Pi

阿特瓦坎克塞