Linux下常用软件源码编译
python源码编译
- 安装expat-devel
sudo yum install expat-devel - 安装libffi-devel
sudo yum install libffi-devel - 安装bzip2
sudo yum install bzip2-devel - 编译python
./configure --prefix=/usr --enable-shared --enable-ipv6 --with-system-ffi --with-threads --with-computed-gotos --enable-optimizations --with-lto --with-dbmliborder=gdbm:ndbm --with-system-libmpdec --with-system-expat --enable-loadable-sqlite-extensions && make
- 安装ncurses-devel
sudo yum install ncurses-devel - 编译
./configure --with-features=huge -enable-python3interp=dynamic --with-python-config-dir=/usr/lib/python3.8/config-3.8m-x86_64-linux-gnu && sudo make
- future安装
sudo pip3 install future - cmake安装
sudo yum install cmake - 子模块代码下载
git submodule update --init --recursive - 语言支持
python3 ./install.py --clang-completer
python3 ./install.py --js-completer
python3 ./install.py --go-completer
python3 ./install.py --java-completer
- 编译
./configure --prefix=/usr --disable-multilib --enable-languages=c,c++,go --enable-shared --enable-threads=posix --with-isl --enable-linker-build-id --enable-lto --enable-plugin --enable-gnu-indirect-function && make -j4
- 安装libXss库
sudo yum install libXScrnSaver - 安装
推荐阅读
- 二次元思维与四次元思维下的医学——破除中、西医的分裂和对立
- 2018-06-26星期二|2018-06-26星期二 亲子日记106
- 临时抱佛脚,没得用
- Jenkins安装教程|Jenkins安装教程 - Linux/Windows
- MAC下使用Visual|MAC下使用Visual Studio Code来运行C/C++的记录
- C++|侯捷C++视频笔记——C++面向对象高级编程(下)
- 雨天随想
- 如何高效学习十
- 绽放的青春,留下最美的足迹
- 想做一件有意义的事情,利他也利己