我是靠谱客的博主 柔弱泥猴桃,这篇文章主要介绍ganglia安装遇到的问题,现在分享给大家,希望可以做个参考。

先把错误日志贴上,明天研究完一起整理


Checking for apr
checking for APR... no
configure: error: Package requirements (apr-1) were not met:

No package 'apr-1' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables APR_CFLAGS
and APR_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


PATH=/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/java/jdk1.8.0_20/bin:/root/bin

export PATH=$PATH:/usr/local/apr

./configure --prefix=/usr/local/apr
make & make install

./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr
make & make install


./configure --with-gmetad
./configure --with-gmetad --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util

yum -y install apr apr-devel


yum -y install libconfuse libconfuse-devel
yum -y install expat-devel
yum -y install pcre pcre-devel
yum -y install rrdtool rrdtool-devel
yum -y install rsync

./configure --with-gmetad

./configure CFLAGS="-I/usr/local/rrdtool-1.0.50/include" CPPFLAGS="-I/usr/local/rrdtool-1.0.50/include" LDFLAGS="-L/usr/local/rrdtool-1.0.50/lib" --with-gmetad --enable-gexec



最后

以上就是柔弱泥猴桃最近收集整理的关于ganglia安装遇到的问题的全部内容,更多相关ganglia安装遇到内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(111)

评论列表共有 0 条评论

立即
投稿
返回
顶部