在Alpine上从源代码安装GCC

加布里埃尔·费尔南德斯(Gabriel Fernandez):

尝试在Alpine上安装GCC 6.4.0时,我遇到了:

checking for the correct version of gmp.h... yes
checking for the correct version of mpfr.h... yes
checking for the correct version of mpc.h... yes
checking for the correct version of the gmp/mpfr/mpc libraries... no

但是在中/usr/lib,这似乎是标准的查找目录,我有:

libgmp.a
libgmp.so
libgmp.so.10
libgmp.so.10.3.2
libmpc.so.3
libmpc.so.3.0.0
libmpfr.so.4
libmpfr.so.4.1.5

有什么事吗

加布里埃尔·费尔南德斯(Gabriel Fernandez):

事实证明,在这种特殊情况下,需要安装mpc1-dev,gmp-dev或mpfr-dev。我错过了mpc1-dev。

sudo apk add mpc1-dev

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章