容器技术交流

 找回密码
 立即注册
查看: 3888|回复: 7

FAMP与RRDtool的冲突?

[复制链接]
发表于 2009-7-7 10:37:08 | 显示全部楼层 |阅读模式
我是个初学者,FreeBSD7.2
按照FAMP的安装指南完成了FAMP的安装,一切正常,

但在安装完FAMP后,再用ports安装RRDtool(cacti所需要)就出现了问题.
错误提示如下
注:安装过程中的提示选项都用默认选项


  1. Downloaded 7.5 kilobytes in 2 seconds. (3.01 KB/s)
  2. ===>  Extracting for p5-gettext-1.05_2
  3. => MD5 Checksum OK for gettext-1.05.tar.gz.
  4. => SHA256 Checksum OK for gettext-1.05.tar.gz.
  5. ===>   p5-gettext-1.05_2 depends on file: /usr/local/bin/perl5.8.9 - found
  6. ===>  Patching for p5-gettext-1.05_2
  7. ===>   p5-gettext-1.05_2 depends on file: /usr/local/bin/perl5.8.9 - found
  8. ===>  Applying FreeBSD patches for p5-gettext-1.05_2
  9. ===>   p5-gettext-1.05_2 depends on file: /usr/local/bin/perl5.8.9 - found
  10. ===>   p5-gettext-1.05_2 depends on shared library: intl - found
  11. ===>  Configuring for p5-gettext-1.05_2
  12. checking for gettext... no
  13. checking for gettext in -L/usr/local/lib -lintl -I/usr/local/include... yes
  14. checking for dgettext in -L/usr/local/lib -lintl -I/usr/local/include... yes
  15. checking for ngettext in -L/usr/local/lib -lintl -I/usr/local/include... yes
  16. checking for bind_textdomain_codeset in -L/usr/local/lib -lintl -I/usr/local/include... yes
  17. Writing Makefile for Locale::gettext
  18. ===>  Building for p5-gettext-1.05_2
  19. cp gettext.pm blib/lib/Locale/gettext.pm
  20. /usr/local/bin/perl5.8.9 /usr/local/lib/perl5/5.8.9/ExtUtils/xsubpp  -typemap /usr/local/lib/perl5/5.8.9/ExtUtils/typemap  gettext.xs > gettext.xsc && mv gettext.xsc gettext.c
  21. Please specify prototyping behavior for gettext.xs (see perlxs manual)
  22. cc -c  -I/usr/local/include  -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe    -DVERSION="1.05"  -DXS_VERSION="1.05" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.9/mach/CORE"   gettext.c
  23. Running Mkbootstrap for Locale::gettext ()
  24. chmod 644 gettext.bs
  25. rm -f blib/arch/auto/Locale/gettext/gettext.so
  26. LD_RUN_PATH="/usr/local/lib" cc  -shared  -L/usr/local/lib gettext.o  -o blib/arch/auto/Locale/gettext/gettext.so         -L/usr/local/lib -lintl
  27. chmod 755 blib/arch/auto/Locale/gettext/gettext.so
  28. cp gettext.bs blib/arch/auto/Locale/gettext/gettext.bs
  29. chmod 644 blib/arch/auto/Locale/gettext/gettext.bs
  30. Manifying blib/man3/Locale::gettext.3
  31. ===>  Installing for p5-gettext-1.05_2
  32. ===>   p5-gettext-1.05_2 depends on file: /usr/local/bin/perl5.8.9 - found
  33. ===>   Generating temporary packing list
  34. ===>  Checking if devel/p5-Locale-gettext already installed
  35. Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
  36. Installing /usr/local/lib/perl5/site_perl/5.8.9/mach/auto/Locale/gettext/gettext.so
  37. Installing /usr/local/lib/perl5/site_perl/5.8.9/mach/auto/Locale/gettext/gettext.bs
  38. Installing /usr/local/lib/perl5/site_perl/5.8.9/mach/Locale/gettext.pm
  39. Installing /usr/local/lib/perl5/5.8.9/man/man3/Locale::gettext.3
  40. Writing /usr/local/lib/perl5/site_perl/5.8.9/mach/auto/Locale/gettext/.packlist
  41. ===>   Compressing manual pages for p5-gettext-1.05_2
  42. ===>   Registering installation for p5-gettext-1.05_2
  43. ===>   Returning to build of help2man-1.36.4_2
  44. ===>   help2man-1.36.4_2 depends on executable: gmake - found
  45. ===>   help2man-1.36.4_2 depends on file: /usr/local/bin/perl5.8.9 - found
  46. ===>   help2man-1.36.4_2 depends on shared library: intl - found
  47. ===>  Configuring for help2man-1.36.4_2
  48. checking for perl... perl
  49. checking for gcc... cc
  50. checking for C compiler default output file name... a.out
  51. checking whether the C compiler works... yes
  52. checking whether we are cross compiling... no
  53. checking for suffix of executables...
  54. checking for suffix of object files... o
  55. checking whether we are using the GNU C compiler... yes
  56. checking whether cc accepts -g... yes
  57. checking for cc option to accept ANSI C... none needed
  58. checking for library containing dlsym... none required
  59. checking for module Locale::gettext... no
  60. configure: error: perl module Locale::gettext required
  61. ===>  Script "configure" failed unexpectedly.
  62. Please report the problem to arved@FreeBSD.org [maintainer] and attach the
  63. "/usr/ports/misc/help2man/work/help2man-1.36.4/config.log" including the
  64. output of the failure of your make command. Also, it might be a good idea to
  65. provide an overview of all packages installed on your system (e.g. an `ls
  66. /var/db/pkg`).
  67. *** Error code 1
  68. Stop in /usr/ports/misc/help2man.
  69. *** Error code 1
  70. Stop in /usr/ports/devel/autoconf262.
  71. *** Error code 1
  72. Stop in /usr/ports/devel/automake110.
  73. *** Error code 1
  74. Stop in /usr/ports/x11/libX11.
  75. *** Error code 1
  76. Stop in /usr/ports/x11/libXrender.
  77. *** Error code 1
  78. Stop in /usr/ports/graphics/cairo.
  79. *** Error code 1
  80. Stop in /usr/ports/graphics/cairo.
  81. *** Error code 1
  82. Stop in /usr/ports/databases/rrdtool.
  83. *** Error code 1
  84. Stop in /usr/ports/databases/rrdtool.

复制代码
好像是ports安装的rrdtool是安装perl5.8.9,而Famp安装了perl-5.10.0.tar.gz,不知道是不是这个问题,

如果我安装好系统后,先安装rrdtool,再安装famp.就没提示出错了.

求教各位如何解决这个问题..

[ 本帖最后由 xiori 于 2009-7-7 10:46 编辑 ]
发表于 2009-7-7 11:02:18 | 显示全部楼层
你把/usr/sbin/perl改一下名便可
mv /usr/sbin/perl /usr/sbin/perl_bk
 楼主| 发表于 2009-7-7 11:19:19 | 显示全部楼层
原帖由 爱洞特漏 于 2009-7-7 11:02 发表
你把/usr/sbin/perl改一下名便可
mv /usr/sbin/perl /usr/sbin/perl_bk


对FAMP的使用有影响不??

如果FAMP能把CACTI也集成安装就好了..成为一个基本的完善的服务器软件集合包

[ 本帖最后由 xiori 于 2009-7-7 11:20 编辑 ]
发表于 2009-7-7 11:33:38 | 显示全部楼层
没影响
 楼主| 发表于 2009-7-7 20:03:10 | 显示全部楼层
爱洞...更改perl的目录后,安装rrdtool都是同一结果.
咋办

[ 本帖最后由 xiori 于 2009-7-8 10:08 编辑 ]
 楼主| 发表于 2009-7-8 10:09:04 | 显示全部楼层
咋办呢???等解决..
发表于 2009-7-8 17:16:00 | 显示全部楼层
暂时没查出个软件有冲突
可以先装其它软件,再装famp
发表于 2009-7-9 16:15:20 | 显示全部楼层
我也是如此。解决办法就是用pkg安装。。。freebsd 7.2 ,奇怪的是,另外一台服务器也是7.2,用的famp5.10测试版,没有这个问题。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Archiver|URLOS ( 粤ICP备18087780号 )

GMT+8, 2025-5-8 06:00 , Processed in 0.028223 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表