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