问题类型: 编译错误
原因: 依赖缺少
环境: Centos6.7 x86
编译包: rrdtool-1.3.6.tar.gz
报错信息: configure: error: GNU gettext tools not found; required for intltool
有不少开源软件都依赖 rrdtool 作为数据存储的方案,也是不少程序会用到它的绘图功能,虽然绘制出来的图表比较………让人感觉原始,但却很好用,很多开源的监控软件都会用上它,不过,现在……应该是用 json 把数据发送到前段更为优秀可靠,而且也节约带宽资源。
最近在尝试安装 smokeping 的时候,在编译时出现configure: error: GNU gettext tools not found; required for intltool报错。
一开始以为是 缺少 GNU ?
于是我就 yum 安装下 gnu* ,过一会一堆包安装上去后发现还是有问题,同样的报错。
然后我就根据报错信息再 yum install intltool 把这个东西也安装上去。
最后, ./configure --disable-tcl 编译通过。
Config is DONE!
With MMAP IO: yes
Build rrd_getopt: no
Static programs: no
Perl Modules: perl_piped perl_shared
Perl Binary: /usr/bin/perl
Perl Version: 5.10.1
Perl Options: PREFIX=$(DESTDIR)/usr/local/rrdtool-1.3.6 LIB=$(DESTDIR)/usr/local/rrdtool-1.3.6/lib/perl/5.10.1
Ruby Modules:
Ruby Binary: no
Ruby Options: sitedir=$(DESTDIR)/usr/local/rrdtool-1.3.6/lib/ruby
Build Tcl Bindings: no
Build Python Bindings: no
Build rrdcgi: yes
Build librrd MT: yes
Link with libintl: yes
Libraries: -lxml2 -lcairo -lcairo -lcairo -lm -lcairo -lpng12 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
Type 'make' to compile the software and use 'make install' to
install everything to: /usr/local/rrdtool-1.3.6.
... that wishlist is NO JOKE. If you find RRDtool useful
make me happy. Go to http://tobi.oetiker.ch/wish and
place an order.
-- Tobi Oetiker
QQ:522703331