1

我正在尝试在 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 install glibc --with-binutils --with-linux-headers 我得到完全相同的错误。

有谁知道发生了什么?

PS:这是 Model 2 B Pi

ATDHVANNKcSe

4

0 回答 0