|
我是个初学者,FreeBSD7.2
按照FAMP的安装指南完成了FAMP的安装,一切正常,
但在安装完FAMP后,再用ports安装RRDtool(cacti所需要)就出现了问题.
错误提示如下
注:安装过程中的提示选项都用默认选项
-
- Downloaded 7.5 kilobytes in 2 seconds. (3.01 KB/s)
- ===> Extracting for p5-gettext-1.05_2
- => MD5 Checksum OK for gettext-1.05.tar.gz.
- => SHA256 Checksum OK for gettext-1.05.tar.gz.
- ===> p5-gettext-1.05_2 depends on file: /usr/local/bin/perl5.8.9 - found
- ===> Patching for p5-gettext-1.05_2
- ===> p5-gettext-1.05_2 depends on file: /usr/local/bin/perl5.8.9 - found
- ===> Applying FreeBSD patches for p5-gettext-1.05_2
- ===> p5-gettext-1.05_2 depends on file: /usr/local/bin/perl5.8.9 - found
- ===> p5-gettext-1.05_2 depends on shared library: intl - found
- ===> Configuring for p5-gettext-1.05_2
- checking for gettext... no
- checking for gettext in -L/usr/local/lib -lintl -I/usr/local/include... yes
- checking for dgettext in -L/usr/local/lib -lintl -I/usr/local/include... yes
- checking for ngettext in -L/usr/local/lib -lintl -I/usr/local/include... yes
- checking for bind_textdomain_codeset in -L/usr/local/lib -lintl -I/usr/local/include... yes
- Writing Makefile for Locale::gettext
- ===> Building for p5-gettext-1.05_2
- cp gettext.pm blib/lib/Locale/gettext.pm
- /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
- Please specify prototyping behavior for gettext.xs (see perlxs manual)
- 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
- Running Mkbootstrap for Locale::gettext ()
- chmod 644 gettext.bs
- rm -f blib/arch/auto/Locale/gettext/gettext.so
- 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
- chmod 755 blib/arch/auto/Locale/gettext/gettext.so
- cp gettext.bs blib/arch/auto/Locale/gettext/gettext.bs
- chmod 644 blib/arch/auto/Locale/gettext/gettext.bs
- Manifying blib/man3/Locale::gettext.3
- ===> Installing for p5-gettext-1.05_2
- ===> p5-gettext-1.05_2 depends on file: /usr/local/bin/perl5.8.9 - found
- ===> Generating temporary packing list
- ===> Checking if devel/p5-Locale-gettext already installed
- Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
- Installing /usr/local/lib/perl5/site_perl/5.8.9/mach/auto/Locale/gettext/gettext.so
- Installing /usr/local/lib/perl5/site_perl/5.8.9/mach/auto/Locale/gettext/gettext.bs
- Installing /usr/local/lib/perl5/site_perl/5.8.9/mach/Locale/gettext.pm
- Installing /usr/local/lib/perl5/5.8.9/man/man3/Locale::gettext.3
- Writing /usr/local/lib/perl5/site_perl/5.8.9/mach/auto/Locale/gettext/.packlist
- ===> Compressing manual pages for p5-gettext-1.05_2
- ===> Registering installation for p5-gettext-1.05_2
- ===> Returning to build of help2man-1.36.4_2
- ===> help2man-1.36.4_2 depends on executable: gmake - found
- ===> help2man-1.36.4_2 depends on file: /usr/local/bin/perl5.8.9 - found
- ===> help2man-1.36.4_2 depends on shared library: intl - found
- ===> Configuring for help2man-1.36.4_2
- checking for perl... perl
- checking for gcc... cc
- checking for C compiler default output file name... a.out
- checking whether the C compiler works... yes
- checking whether we are cross compiling... no
- checking for suffix of executables...
- checking for suffix of object files... o
- checking whether we are using the GNU C compiler... yes
- checking whether cc accepts -g... yes
- checking for cc option to accept ANSI C... none needed
- checking for library containing dlsym... none required
- checking for module Locale::gettext... no
- configure: error: perl module Locale::gettext required
- ===> Script "configure" failed unexpectedly.
- Please report the problem to arved@FreeBSD.org [maintainer] and attach the
- "/usr/ports/misc/help2man/work/help2man-1.36.4/config.log" including the
- output of the failure of your make command. Also, it might be a good idea to
- provide an overview of all packages installed on your system (e.g. an `ls
- /var/db/pkg`).
- *** Error code 1
- Stop in /usr/ports/misc/help2man.
- *** Error code 1
- Stop in /usr/ports/devel/autoconf262.
- *** Error code 1
- Stop in /usr/ports/devel/automake110.
- *** Error code 1
- Stop in /usr/ports/x11/libX11.
- *** Error code 1
- Stop in /usr/ports/x11/libXrender.
- *** Error code 1
- Stop in /usr/ports/graphics/cairo.
- *** Error code 1
- Stop in /usr/ports/graphics/cairo.
- *** Error code 1
- Stop in /usr/ports/databases/rrdtool.
- *** Error code 1
- 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 编辑 ] |
|