在CentOS/Debian/Ubuntu上编译安装最新版gnu make 和GNU 'binutils' (as and ld)
先查看make版本:
root@:~/clickhouse/gcc-build# make --version
GNU Make 3.82
Built for x86_64-redhat-linux-gnu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
要求版本:
* GNU 'make' 4.0 or newerAs of relase time, GNU 'make' 4.2.1 is the newest verified to workto build the GNU C Library.
编译安装make:
你需要先安装make,才能使用make进行编译安装make
wget https://ftp.gnu.org/gnu/make/make-4.2.tar.gz
tar xvf make-4.2.tar.gz
cd make-4.2/
./configure
make
sudo make install
查看版本:
root@:~/clickhouse/ft_local/make-4.2# /usr/local/bin/make --version
GNU Make 4.2
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
你可以把旧版本卸载了,链接新版本过去:
yum remove make
ln -s /usr/local/bin/make /usr/bin/
make --version
参考链接:makefile - how to update make 3.81 linux - Stack Overflow
然后安装最新版GNU ‘binutils’ (as and ld)
gnu binutils中有很多,但是编译glibc只需之2个:
* GNU 'binutils' 2.25 or laterYou must use GNU 'binutils' (as and ld) to build the GNU C Library.No other assembler or linker has the necessary functionality at themoment. As of release time, GNU 'binutils' 2.31.1 is the newestverified to work to build the GNU C Library.
编译安装方法:
wget https://ftp.gnu.org/gnu/binutils/binutils-2.32.tar.gz
tar xvf binutils-2.32.tar.gz
cd binutils-2.32/
./configure =
make
sudo make install
查看版本:
root@:~/clickhouse/binutils-2.32# /usr/local/bin/ld --version
GNU ld (GNU Binutils) 2.32
Copyright (C) 2019 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
在CentOS/Debian/Ubuntu上编译安装最新版gnu make 和GNU 'binutils' (as and ld)相关推荐
- 在CentOS/Debian/Ubuntu上编译安装最新版 GCC 8 , cmake 3 和ninja
CentOS不像Debian/Ubuntu,不能直接从官方库中安装最新版的gcc/g++,只能源码编译安装. gcc下载地址:Index of /gnu/gcc 我选择了最新版本 gcc-8.3.0, ...
- centos/Debian/Ubuntu下编译安装pypy
PyPy的速度是比Python快的,根据官方说法,速度时CPython的2倍-10倍. 但PyPy也是有缺点的,那就是PyPy是由RPython实现的,RPython是Python的子集. PyPy快 ...
- Ubuntu上编译安装迅雷XwareDesktop
Ubuntu上编译安装说明 本页介绍如何在Ubuntu 14.04及以上的系统上手动编译安装Xware Desktop. 由于迅雷官方没有发布64位版的xware,Xware Desktop的作者无法 ...
- debian 安装_如何在 Debian/Ubuntu 上手动安装安全更新? | Linux 中国
在这个教程里面,我们会向你展示如何查看可用的安全更新,以及如何在 Ubuntu.LinuxMint 等等这些基于 Debian 的系统中安装它们.-- Magesh Maruthamuthu 在 Li ...
- 数据可视化组件Grafana详细解读--Debian/Ubuntu上的安装
数据可视化演示: PS:您可以在目标服务器上运行数据可视化组件,监控数据服务器,Web服务器,网络文件服务器等等服务器的各种运行状态,DevOps的必不可少的组件. 在Debian / Ubuntu上 ...
- 如何在ubuntu下安装detectron2_如何在 Debian/Ubuntu 上手动安装安全更新?
在这个教程里面,我们会向你展示如何查看可用的安全更新,以及如何在 Ubuntu.LinuxMint 等等这些基于 Debian 的系统中安装它们. -- Magesh Maruthamuthu(作者) ...
- centos/Debian/Ubuntu上安装PyCryptodome/Crypto
注意:PyCryptodome是Crypto的升级版,不要安装旧的Crypto了. 如果能联网,直接装: pip3 install PyCryptodome GitHub仓库地址:Legrandin/ ...
- 在Ubuntu上编译安装OpenCV3
目录 背景 安装依赖包 安装ffmpeg 编译安装opencv3 理想情况 错误处理 复制头文件 修改头文件 修改OpenCV文件 修改文件方法 更好的解决方法--换OpenCV版本 3.4.1版本的 ...
- 在Windows7和Ubuntu上编译安装MICO
MICO是CORBA标准的一个实现.开源并且被广泛使用. 首先的首先,看用户手册,在页面"http://www.mico.org/docu.html"找到一本教材"MIC ...
最新文章
- 从入门到深入:移动平台模型裁剪与优化的技术探索与工程实践
- c++ mqtt客户端_MQTT安全性设计详解
- 谷歌发布 Android 8.1 首个开发者预览版,优化内存效率
- ceph 面试_终于有人把Ceph分布式存储讲清楚了!
- systemctl添加开机启动
- dhcp request汉字乱码分析
- 最靠谱的解决 Ubuntu 18.04 / Linux mint 19 安装网易云音乐 不能正常点击启动问题
- java中boolean类型占几个字节
- 如何删除office2007、以及安装新版本office
- 【华为云技术分享】云图说|第三方云厂商数据如何迁移至华为云OBS?真相在这里......
- Processor Tracing | 处理器追踪
- Recurrent Neural Networks
- 鬼谷八荒先天气运修改器
- office转换pdf [doc,docx,xls,xlsx]
- Qt 的反射(Reflection)应用
- manchi翻译中文 mi_求这一段意大利文歌词中文翻译(MiManchi)?
- EXCEL VBA 之录制宏
- Windows编程 从消息窗口到基本窗口 游戏循环窗口框架的简单实现
- 常用网络命令之ipconfig和ping的使用
- python josn文件
热门文章
- sangerbox平台使用(三)绘制火山图
- cytoscape---插件clueGO的使用
- docker 挂载目录_完美解决:Docker部署SpringBoot项目后图片无法访问和上传,3招搞定!...
- pip 20.3 新版本发布!即将抛弃 Python 2.x
- ISME:微生物网络构建与分析面临的挑战
- FM:西南民大朱英等-肠道菌群研究促进了朱鹮的迁地保护
- Nature方法 | 三代长读长宏基因组组装软件metaFlye
- 高级转录组分析和R数据可视化(2020.2,课程推迟,可先报名,时间另行告知)
- 中国科学家Cell重要评述文章: 宏基因组学成为病毒分类新方法
- R语言ggplot2可视化散点图、可视化两个数值变量之间的关系、使用geom_smooth函数基于loess方法拟合数据点之间的趋势关系曲线、自定义数据点的大小、色彩、添加主标题、副标题、题注信息