qfshdjs 2022-07-04 14:50 采纳率: 0%
浏览 245
已结题

linux安装glibc失败

Linux升级glibc 2.29 配置configure
../configure --prefix=/usr --disable-profile --enable-add-ons --with-headers=/usr/include --with-binutils=/usr/bin
显示

checking for /usr/bin/ld... /usr/bin/ld
checking version of /usr/bin/ld... 2.27, ok
checking for gnumake... no
checking for gmake... gmake
checking version of gmake... 4.2, ok
checking for gnumsgfmt... no
checking for gmsgfmt... no
checking for msgfmt... msgfmt
checking version of msgfmt... 0.19.8.1, ok
checking for makeinfo... no
checking for sed... sed
checking version of sed... 4.2.2, ok
checking for gawk... gawk
checking version of gawk... 4.0.2, ok
checking for bison... bison
checking version of bison... 3.0.4, ok
checking if gcc -B/usr/bin/ is sufficient to build libc... no
checking for nm... nm
checking for python3... python3
checking version of python3... 3.6.8, ok
configure: error: 
These critical programs are missing or too old:compiler



Check the INSTALL file for required versions.```

**但我的gcc是8.2,make4.2,Python3.8,这个compiler指的是什么?**

**而升级其他版本的glibc,用相同的配置configure,显示**


```shell
hostinfo               = 
/bin/universe          = 
/usr/bin/arch -k       = 
/bin/arch              = aarch64
/usr/bin/oslevel       = 
/usr/convex/getsysinfo = 

UNAME_MACHINE = aarch64
UNAME_RELEASE = 5.11.12-300.el7.aarch64
UNAME_SYSTEM  = Linux
UNAME_VERSION = #1 SMP Thu Aug 19 09:02:08 UTC 2021
**configure: error: cannot guess build type; you must specify one**

要求是:

 * GNU 'make' 4.0 or newer
   * GCC 6.2 or newer
     building the GNU C Library, as newer compilers usually produce
   * GNU 'binutils' 2.25 or later
   * GNU 'texinfo' 4.7 or later
   * GNU 'bison' 2.7 or later
   * GNU 'sed' 3.02 or newer
   * Python 3.4 or later
   * GDB 7.8 or later with support for Python 2.7/3.4 or later
   * GNU 'gettext' 0.10.36 or later


而我的是:

GNU Make 4.3
gcc version 9.3.1 20200408 (Red Hat 9.3.1-2) (GCC) 
binutils-2.27-44.base.el7_9.1.aarch64 
texinfo-5.1-5.el7.aarch64
bison-3.0.4-2.el7.aarch64
sed-4.2.2-7.el7.aarch64
Python 3.8.0a1
GNU gdb (GDB) 7.8
gettext (GNU gettext-runtime) 0.19.8.1


  • 写回答

4条回答 默认 最新

  • qfl_sdu 2022-07-04 15:40
    关注
    获得2.50元问题酬金

    看看你的源码文件夹下的INSTALL文件,看看里面对编译器版本的要求。

    评论

报告相同问题?

问题事件

  • 系统已结题 7月12日
  • 修改了问题 7月5日
  • 修改了问题 7月5日
  • 修改了问题 7月4日
  • 展开全部

悬赏问题

  • ¥15 echarts绘制图表
  • ¥15 请教两个关于高德地图定位不准的技术问题
  • ¥15 根据企业名称 对照两个文件 样本筛选/匹配
  • ¥15 Linux环境下CA证书更新问题
  • ¥15 sqlserver语句提取结果以外数据
  • ¥60 微信小程序如何上传QQ聊天文件
  • ¥300 开发的系统遭到无良商家的破解,请问如何防止再次发生,并追回损失
  • ¥15 java代码写在记事本上后在cmd上运行时无报错但又没生成文件
  • ¥15 关于#python#的问题:在跑ldsc数据整理的时候一直抱这种错误,要么--out识别不了参数,要么--merge-alleles识别不了参数(操作系统-linux)
  • ¥15 PPOCRLabel