linux中的configure, make了解
来源:互联网 发布:ubuntu tftp 程序 编辑:程序博客网 时间:2024/05/19 19:33
./configure是用来检测你的安装平台的目标特征的。比如它会检测你是不是有CC或GCC,并不是需要CC或GCC,它是个shell脚本
configure是一个脚本,用来确定所处系统的细节,比如使用何种编译器、何种库,以及编译器和库的保存位置,并把Makefile.in的相应部分进行替换,形成Makefile。
make是用来编译的,它从Makefile中读取指令,然后编译。
make install是用来安装的,它也从Makefile中读取指令,安装到指定的位置。
运行步骤如下:
$ ./configure
到此时,就可以运行make进行编译,在运行make install进行安装了,最后运行make clean删除临时文件。
$ make
$ make install (注:运行这个要有足够的权限)
$ make clean
利用configure所产生的Makefile文件有几个预设的目标可供使用,其中几个重要的简述如下:
make all:产生我们设定的目标,即此范例中的可执行文件。只打make也可以,此时会开始编译原始码,然后连结,并且产生可执行文件。
make clean:清除编译产生的可执行文件及目标文件(object file,*.o)。
安装MYSQL出现checking for termcap functions library… configure: error: No curses/termcap library found
如果编译时出现了以下错误:
checking for tgetent in -ltermcap… no
checking for termcap functions library… configure: error: No curses/termcap library found
说明 curses/termcap 库没有安装
去下载一个ncurses-5.6.tar.gz,
tar zxvf ncurses-5.6.tar.gz
cd ncurses-5.6
./configure --prefix=/usr --with-shared --without-debug
make
make install clean
然后再重新编译Mysql进行安装。
- linux中的configure, make了解
- linux configure make make install 相关了解
- Linux中的configure和make
- Linux中的./configure,make,make install解析
- linux configure make make install
- linux configure,make,make install
- linux 如何制作:./configure; make; make install
- linux ./configure,make,make install的作用
- Linux下configure&make&make install&make uninstall介绍
- Linux下 config/configure/Configure、make 、make test/make check、sudo make install 的作用
- Linux下 config/configure/Configure、make 、make test/make check、sudo make install 的作用
- Linux下 config/configure/Configure、make 、make test/make check、sudo make install 的作用
- Linux下 config/configure/Configure、make 、make test/make check、sudo make install 的作用 .
- Linux下 config/configure/Configure、make 、make test/make check、sudo make install 的作用
- Linux下 config/configure/Configure、make 、make test/make check、sudo make install 的作用
- Linux下 config/configure/Configure、make 、make test/make check、sudo make install 的作用
- linux软件编译安装:make与configure
- linux 自动生成configure和make文件
- c++ void* 指针
- PHP汉字取拼音缩写
- Linux加载新硬盘的操作
- ZT: 问佛
- MS SQL Server 数据库连接字符串详解
- linux中的configure, make了解
- ODBC用 m_strFilter筛选空字段语句
- 每周一总结(6)、(7)
- 读《全球领导力》笔记——001
- 电信祭出Android新机与iPhone一决高下
- 工作中编写shell脚本设计到相关信息
- 连接数据库字符串 connectionString
- 将为下一代PSP加入触摸屏
- win7(32)通过VM Client连接vSphere 4.0出错