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