- 论坛徽章:
- 0
|
正好我最近也碰到这个问题,共同探讨,我已解决。方法如下,也是从网上找来的,说不清为什么:
编译Spine/Cactid之前,先确认已经安装以下packages:
net-snmp-devel
mysql
mysql-devel
openssl-devel
Compiling Spine
2.下载最新版本的Spine/Cactid 并编译成为二进制可执行文件:
# tar xvzf cacti-spine-0.8.7.tar.gz
# cd spine-0.8.7
# ./configure
=================================================================================
出现如下错误:
configure: error:
*** [Gentoo] sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.22, ltmain.sh = 1.5.6) ***
Please run:
libtoolize --copy --force
if appropriate, please contact the maintainer of this
package (or your distribution) for help.
google到cacti的官方支持论坛有答案,只要运行下列命令即可解决
aclocal
cd /usr/share/libtool/libltdl
libtoolize --force
cd /opt/cacti-spine-0.87
autoconf
autoheader
automake
做完以上步骤后
#./configure
# make
# mkdir /usr/local/spine
# cp spine spine.conf /usr/local/spine
编辑 spine.conf 文件,输入数据库名、数据库用户名和密码等信息.
即可 |
|