checkinstall 安装及配置:
susu 下安装checkinstall
checkinstall-1.6.2.tar.gz
tar -xvzf checkinstall-1.6.2.tar.gz
cd checkinstall-1.6.2/
make
安装不成功时:需要更改源码包下的installwatch/installwatch.c里的2942行int readlink(const char *path,char *buf,size_t bufsiz)更改为int readlink1(const char *path,char *buf,size_t bufsiz)
重新make
make install
在Centos里安装checkinstall,直接安装就会成功。
打包的时候:
1、./configure
2、make
3、checkinstall
第1步可以加自己编译的所需要的条件。
转载于:https://blog.51cto.com/400053/761989
本文介绍如何在Susu和Centos系统中安装配置checkinstall,并详细解释了当安装遇到问题时如何修改源码以确保安装成功的过程。
1482

被折叠的 条评论
为什么被折叠?



