2年没在linux编译过第三方库,都忘了有这回事。
拿到一份源码时,流程就这么走的:
README -> configure -> make-> install
1、从read me 中了解配置参数
2、./configure --输入相关配置参数,生成Makefile
3、make 编译时将遇到各种依赖问题,最麻烦的时候。
4、make install 安装
------------------------------------------------
不安装一个都不踏实=。=
./configure --help
http://nginx.org/en/docs/install.html
http://xyuex.blog.51cto.com/5131937/1013414
./configure \
--prefix=/usr \
--sbin-path=/usr/sbin/nginx \
……
源码编译
猜你喜欢
转载自xserver.iteye.com/blog/1758348
今日推荐
周排行