LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 706|回复: 7

fc6安装proxyknife-1.6出错了

[复制链接]
发表于 2006-11-20 11:22:54 | 显示全部楼层 |阅读模式
cd proxyknife-1.6
./configure
[root@localhost proxyknife-1.6]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for main in -lnsl... yes
checking for main in -lsocket... no
checking for gethostbyname in -lbind... no
checking for inet_aton in -lresolv... yes
checking for inet_aton in -l44bsd... no
checking for main in -lresolv... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
POSIX threads found
checking for memmove... yes
checking for working memmove... yes
checking for function prototypes... yes
checking whether setvbuf arguments are reversed... no
checking for dup2... yes
checking for gethostbyname... yes
checking for gettimeofday... yes
checking for memmove... (cached) yes
checking for memset... yes
checking for socket... yes
checking for strchr... yes
checking for strstr... yes
checking for ranlib... (cached) ranlib
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for getopt_long_only... yes
checking whether optreset is declared... no
checking for working GNU getopt function... yes
checking whether getenv is declared... yes
checking for memmove... (cached) yes
checking for unistd.h... (cached) yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking whether we are using the GNU C Library 2 or newer... yes
checking for simple visibility declarations... yes
checking for inline... inline
checking for stdint.h... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for unsigned long long int... yes
checking for inttypes.h... (cached) yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking whether imported symbols can be declared weak... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_kill in -lpthread... yes
checking for pthread_rwlock_t... yes
checking for multithread API to use... posix
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for argz_count... yes
checking for argz_stringify... yes
checking for argz_next... yes
checking for __fsetlocking... yes
checking whether feof_unlocked is declared... yes
checking whether fgets_unlocked is declared... yes
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for NL_LOCALE_NAME macro... yes
checking for bison... bison
checking version of bison... 2.3, ok
checking for long long int... yes
checking for long double... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for intmax_t... yes
checking whether printf() supports POSIX/XSI format strings... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for stdint.h... (cached) yes
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for ptrdiff_t... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for asprintf... yes
checking for fwprintf... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for snprintf... yes
checking for wcslen... yes
checking whether _snprintf is declared... no
checking whether _snwprintf is declared... no
checking whether getc_unlocked is declared... yes
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for CFPreferencesCopyAppValue... (cached) no
checking for CFLocaleCopyCurrent... (cached) no
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for perl5... no
checking for perl... /usr/bin/perl
checking for pod2man... /usr/bin/pod2man
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating gl/Makefile
config.status: creating po/Makefile.in
config.status: creating intl/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: setting ALL_LINGUAS in configure.in is obsolete
config.status: creating po/Makefile
然后make
[root@localhost proxyknife-1.6]# make
make  all-recursive
make[1]: Entering directory `/root/proxyknife-1.6'
Making all in intl
make[2]: Entering directory `/root/proxyknife-1.6/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/proxyknife-1.6/intl'
Making all in po
make[2]: Entering directory `/root/proxyknife-1.6/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/proxyknife-1.6/po'
Making all in doc
make[2]: Entering directory `/root/proxyknife-1.6/doc'
texi2pod.pl ./proxyknife.texi proxyknife.pod
make[2]: texi2pod.pl:命令未找到
make[2]: *** [proxyknife.pod] 错误 127
make[2]: Leaving directory `/root/proxyknife-1.6/doc'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/root/proxyknife-1.6'
make: *** [all] 错误 2
请问缺少了哪些库文件????
发表于 2006-11-20 12:57:48 | 显示全部楼层
是不是 gettext-devel 之类的,或者 texinfo 呢
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-20 17:09:29 | 显示全部楼层

proxyknife-1.6

gettext   gettext-devel都已经安装了
到底缺少了哪些开发包?
大侠帮忙!!
回复 支持 反对

使用道具 举报

发表于 2006-11-21 13:19:56 | 显示全部楼层
把/root/proxyknife-1.6/doc中Makefile文件中texi2pod.pl改为./texi2pod.pl之后make就应该可以通过。要是make install通不过 那就可能是你缺什么东西,根据提示把少的东西装上就OK了
回复 支持 反对

使用道具 举报

发表于 2006-11-25 12:04:54 | 显示全部楼层
Post by grassofhust
把/root/proxyknife-1.6/doc中Makefile文件中texi2pod.pl改为./texi2pod.pl之后make就应该可以通过。要是make install通不过 那就可能是你缺什么东西,根据提示把少的东西装上就OK了

我也遇到过这个问题了

google一下居然有人说perl的path丢失了

grassofhust这个方法应该不错,过会偶来试试
回复 支持 反对

使用道具 举报

发表于 2006-11-25 13:35:59 | 显示全部楼层
偶按照grassofhust的办法改了makefile,但是在make install 时又出错了


make install
Making install in intl
make[1]: Entering directory `/home/skyking/software/proxyknife-1.6/intl'
if { test "proxyknife" = "gettext-runtime" || test "proxyknife" = "gettext-tools"; } \
           && test 'no' = yes; then \
          mkdir -p -- /usr/local/lib /usr/local/include; \
          /usr/bin/install -c -m 644 libintl.h /usr/local/include/libintl.h; \
          @LIBTOOL@ --mode=install \
            /usr/bin/install -c -m 644 libintl.a /usr/local/lib/libintl.a; \
          if test "@RELOCATABLE@" = yes; then \
            dependencies=`sed -n -e 's,^dependency_libs=\(.*\),\1,p' < /usr/local/lib/libintl.la | sed -e "s,^',," -e "s,'\$,,"`; \
            if test -n "$dependencies"; then \
              rm -f /usr/local/lib/libintl.la; \
            fi; \
          fi; \
        else \
          : ; \
        fi
if test "proxyknife" = "gettext-tools" \
           && test 'no' = no \
           && test yes != no; then \
          mkdir -p -- /usr/local/lib; \
          @LIBTOOL@ --mode=install \
            /usr/bin/install -c -m 644 libgnuintl.a /usr/local/lib/libgnuintl.a; \
          rm -f /usr/local/lib/preloadable_libintl.so; \
          /usr/bin/install -c -m 644 /usr/local/lib/libgnuintl.so /usr/local/lib/preloadable_libintl.so; \
          @LIBTOOL@ --mode=uninstall \
            rm -f /usr/local/lib/libgnuintl.a; \
        else \
          : ; \
        fi
if test 'no' = yes; then \
          test yes != no || mkdir -p -- /usr/local/lib; \
          temp=/usr/local/lib/t-charset.alias; \
          dest=/usr/local/lib/charset.alias; \
          if test -f /usr/local/lib/charset.alias; then \
            orig=/usr/local/lib/charset.alias; \
            sed -f ref-add.sed $orig > $temp; \
            /usr/bin/install -c -m 644 $temp $dest; \
            rm -f $temp; \
          else \
            if test yes = no; then \
              orig=charset.alias; \
              sed -f ref-add.sed $orig > $temp; \
              /usr/bin/install -c -m 644 $temp $dest; \
              rm -f $temp; \
            fi; \
          fi; \
          mkdir -p -- /usr/local/share/locale; \
          test -f /usr/local/share/locale/locale.alias \
            && orig=/usr/local/share/locale/locale.alias \
            || orig=./locale.alias; \
          temp=/usr/local/share/locale/t-locale.alias; \
          dest=/usr/local/share/locale/locale.alias; \
          sed -f ref-add.sed $orig > $temp; \
          /usr/bin/install -c -m 644 $temp $dest; \
          rm -f $temp; \
        else \
          : ; \
        fi
if test "proxyknife" = "gettext-tools"; then \
          mkdir -p -- /usr/local/share/gettext/intl; \
          /usr/bin/install -c -m 644 VERSION /usr/local/share/gettext/intl/VERSION; \
          /usr/bin/install -c -m 644 ChangeLog.inst /usr/local/share/gettext/intl/ChangeLog; \
          dists="COPYING.LIB-2.0 COPYING.LIB-2.1 Makefile.in config.charset locale.alias ref-add.sin ref-del.sin export.h gmo.h gettextP.h hash-string.h loadinfo.h plural-exp.h eval-plural.h localcharset.h lock.h relocatable.h xsize.h printf-args.h printf-args.c printf-parse.h wprintf-parse.h printf-parse.c vasnprintf.h vasnwprintf.h vasnprintf.c os2compat.h libgnuintl.h.in bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c hash-string.c loadmsgcat.c localealias.c textdomain.c l10nflist.c explodename.c dcigettext.c dcngettext.c dngettext.c ngettext.c plural.y plural-exp.c localcharset.c lock.c relocatable.c langprefs.c localename.c log.c printf.c version.c osdep.c os2compat.c intl-exports.c intl-compat.c"; \
          for file in $dists; do \
            /usr/bin/install -c -m 644 ./$file \
                            /usr/local/share/gettext/intl/$file; \
          done; \
          chmod a+x /usr/local/share/gettext/intl/config.charset; \
          dists="plural.c"; \
          for file in $dists; do \
            if test -f $file; then dir=.; else dir=.; fi; \
            /usr/bin/install -c -m 644 $dir/$file \
                            /usr/local/share/gettext/intl/$file; \
          done; \
          dists="xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c COPYING.LIB-2 gettext.h libgettext.h plural-eval.c libgnuintl.h"; \
          for file in $dists; do \
            rm -f /usr/local/share/gettext/intl/$file; \
          done; \
        else \
          : ; \
        fi
make[1]: Leaving directory `/home/skyking/software/proxyknife-1.6/intl'
Making install in po
make[1]: Entering directory `/home/skyking/software/proxyknife-1.6/po'
mkdir -p -- /usr/local/share
installing en@quot.gmo as /usr/local/share/locale/en@quot/LC_MESSAGES/proxyknife.mo
installing en@boldquot.gmo as /usr/local/share/locale/en@boldquot/LC_MESSAGES/proxyknife.mo
installing zh_CN.gmo as /usr/local/share/locale/zh_CN/LC_MESSAGES/proxyknife.mo
if test "proxyknife" = "gettext-tools"; then \
          mkdir -p -- /usr/local/share/gettext/po; \
          for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot   Makevars.template; do \
            /usr/bin/install -c -m 644 ./$file \
                            /usr/local/share/gettext/po/$file; \
          done; \
          for file in Makevars; do \
            rm -f /usr/local/share/gettext/po/$file; \
          done; \
        else \
          : ; \
        fi
make[1]: Leaving directory `/home/skyking/software/proxyknife-1.6/po'
Making install in doc
make[1]: Entering directory `/home/skyking/software/proxyknife-1.6/doc'
make[2]: Entering directory `/home/skyking/software/proxyknife-1.6/doc'
make[2]: Nothing to be done for `install-exec-am'.
TEXINPUTS="./.TEXINPUTS" \
        MAKEINFO='LC_ALL=C /bin/sh /home/skyking/software/proxyknife-1.6/missing --run makeinfo  -I ../doc  -I .' \
        texi2dvi -I ../doc proxyknife.texi
/bin/sh: texi2dvi: command not found
make[2]: *** [proxyknife.dvi] Error 127
make[2]: Leaving directory `/home/skyking/software/proxyknife-1.6/doc'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/skyking/software/proxyknife-1.6/doc'
make: *** [install-recursive] Error 1


出错信息好像就是texi2dvi这个命令找不到,偶google了一下发现是texinfo中的一个文件
但是texinfo  gettext-devel这些包偶都装上了呀

而且系统中确实没有texi2dvi这个命令

高手,解答一下吧
谢谢
回复 支持 反对

使用道具 举报

发表于 2006-11-25 18:16:19 | 显示全部楼层
yum  -y install texinfo texinfo-tex texi2html


[qingyue@Perfect bin]# rpm -qf /usr/bin/texi2dvi
texinfo-tex-4.8-14.fc6
回复 支持 反对

使用道具 举报

发表于 2006-11-25 21:48:53 | 显示全部楼层
Post by grassofhust
yum  -y install texinfo texinfo-tex texi2html


[qingyue@Perfect bin]# rpm -qf /usr/bin/texi2dvi
texinfo-tex-4.8-14.fc6

这回make install 通过了
高兴ing

谢谢grassofhust
高手啊
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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