ITeye博客

源码编译

xserver · 2013-01-01 21:41 · 泛 Linux · 操作系统 · Markdown

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 \ ……

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。