在编译mysql源码时碰到如下问题,
checking for tgetent in -ltermcap... no
checking for termcap functions library... configure: error: No curses/termcap library found
解决方法如下:
./configure --with-named-curses-libs=/usr/lib/libncursesw.so.5
./configure??? ——有什么用?google来自论坛的说法:
tar.gz(bz或bz2等)结尾的源代码包,这种软件包里面都是源程序,没有编译过,需要编译后才能安装,安装方法为:
1、打开一个SHELL,即终端
2、用CD 命令进入源代码压缩包所在的目录
3、根据压缩包类型解压缩文件(*代表压缩包名称)
tar -zxvf ****.tar.gz
tar -jxvf ****.tar.bz(或bz2)
4、用CD命令进入解压缩后的目录
5、输入编译文件命令: ./configure 《请问这句有什么用 特别是这个 ./ 是不是当前目录》
6、然后是命令:make
7、再是安装文件命令:make install
8、安装完毕
./configure 是干吗的??有什么用??
configure是一个脚本,它能设置源程序来适应各种不同的操作系统平台,并且根据不同的系统来产生合适的Makefile,从而可以使你的源代码能在不同的操作系统平台上被编译出来。它根据Makefile.in来生成一个Makefile.
./configure的主要工作是,检测系统当前是否有安装编译源代码必须的软件包,并根据具体计算机环境和configure后面附加的参数生成Makefile文件。
关于:./configure --prefix 作用?
不指定prefix,则可执行文件默认放在/usr/local/bin,库文件默认放在/usr/local/lib,配置文件默认放在/usr/local/etc。其它的资源文件放在/usr/local/share。你要卸载这个程序,要么在原来的make目录下用一次make uninstall(前提是make文件指定过uninstall),要么去上述目录里面把相关的文件一个个手工删掉。
指定prefix,直接删掉一个文件夹就够了。
分享到:
相关推荐
mysql5.0.8安装,解决configure: error: No curses/termcap library found问题
PHP编译configure时常见错误的总结 PHP的安装虽然有时候很简单,可是如果应用一多,我们安装起来就很头痛了!...1、configure: error: No curses/termcap library found 网上有的说法是:–with-named-c
错误 configure: error: could not find library containing ...configure: error: no XML parser was found: expat or libxml 2.x required 解放方法: http://blog.csdn.net/cnaning/archive/2009/02/09/3870085.aspx
一、PHP configure: error: Cannot find ldap libraries in /usr/lib 今天在CentOS 64位下编译安装PHP5.4.8。...解决方法: 复制代码 代码如下: cp -frp /usr/lib64/libldap* /usr/lib/ 重新configure即可 二、P
如果降低延迟也不是没有方法,可以设置切片生成的大小以及访问的速度,但是这样大大增加了服务器的压力。 当然,我们也可以用rtmp拉流工具(VLC等)来看该直播,延迟大概在2-5S左右,拉流地址与推流地址一致。 后台...
# 安装PCRE库 cd /usr/local/src sudo wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.41.tar.gz sudo tar -zxvf pcre-8.41.tar.gz cd pcre-8.41 sudo ./configure sudo make sudo make ...
国际旅游联盟集团TUI-201501-Commerzbank German Investment Seminar_By_CFO.pdf.pdf
/use/lib//usr/lib/libdb-4.2.so: could not read symbols: File in wrong format Notice: Following unknown configure ...configure: error: mysql configure failed. Please check config.log for more information
在linux系统centos6.5版本中安装keeplived时,需要安装penssl-devel依赖包,但是服务器是不允许连接外网(互联网)的,无法使用yum命令进行安装操作,所以本人研究了一下如何在离线状态下安装penssl-devel依赖包。...
安装GCC必需的三个文件(gmp、mpfr、mpc)之一,gmp,安装此库之前需要先安装M4,否则无法完成安装。另:上述文件我已上传至我的资源,如有需要下载即可。 GMP is a free library for arbitrary precision ...
如果安装时遇到错误的解决方法。 1. 缺少pcre 状况:./configure: error: the HTTP rewrite module requires the PCRE library. 解决:yum -y install pcre-devel 安装相应的包 2.缺少zlib 状况: ./configure: ...
运行sudo npm install -g webpack@4.35.2 安装指定版本的webpack出现如下错误: gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir ‘/Users/mac-pro/.nvm/versions/node/v10.16.0/...
一、安装MySQL 1、安装cmake cd /usr/local/src tar zxvf cmake-2.8.11.2.tar.gz cd cmake-2.8.11.2 ./configure make make install 2、安装MySQL groupadd mysql #添加mysql组 useradd -g mysql mysql -s...
使用国内源安装tensorflow: pip install -i https://mirrors.aliyun.com/pypi/simple/ --upgrade tensorflow-gpu==1.5.0 pip install -i https://mirrors.aliyun.com/pypi/simple/ --upgrade keras==2.1.6 国内镜像...
ceph源码编译时出现下列现象时,需要下载这两个rpm包: checking for NSS... no configure: error: in `/root/workspace/...configure: error: no suitable crypto library found See `config.log' for more details
解决configure: error: lz4 support requested but liblz4 >= 129 could not be found, export PREFIX=安装目录 &make; &make; install
在编译parted-3.2时,报错:configure: error: libdevmapper could not be found,找到device-mapper.1.02.28,并下了下来。 这个源码藏得有点深,分享出来给大家
NULL 博文链接:https://jackroomage.iteye.com/blog/1687401
1、安装erlang 语言环境 安装依赖文件 yum install gcc glibc-devel make ncurses-devel openssl-devel xmlto 进入 http://www.erlang.org/download.html 选择源文件下载 wget ...
源码编译:亲测有效! 1、httpd-2.4.41.tar 2、apr-1.7.0.tar 报错: rm: cannot remove `libtoolT': No such file or directory 解决: configure中#$RM "$cfgfile" 3、apr-util-1.6.1.tar 报错: fatal error:...