各高手请帮帮忙!看我这个./configure 出现的错误怎么解决!!!

编译安装或者制作Deb包
回复
crychen
帖子: 5
注册时间: 2006-10-16 9:35
送出感谢: 0
接收感谢: 0

各高手请帮帮忙!看我这个./configure 出现的错误怎么解决!!!

#1

帖子 crychen » 2006-12-18 1:21

jack@JACK:~/Thunar-0.5.0rc2$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
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 ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for AIX... no
checking for library containing strerror... none required
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking if building for some Win32 platform... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for perl... /usr/bin/perl
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
jack@JACK:~/Thunar-0.5.0rc2$


再上十二分的感谢!!!
头像
spider5
帖子: 351
注册时间: 2005-12-15 21:52
送出感谢: 0
接收感谢: 0

#2

帖子 spider5 » 2006-12-18 5:35

其实这里面只有一个错误,首先你需要检查是否安装了perl的XML语法解析包。

如果安装了,那么更大的麻烦就来了:configure并没有准确指出你缺少哪一个包。
你需要自己分析configure文件,找到给出提示的语句,反向还原出真实的命令行,
然后在终端上输出。此时的提示才是你真正缺少的安装包。

如果没耐心做这件事,那就把跟perl有关的模块都装上吧,应该只跟perl有关。
头像
xiaosilent
帖子: 513
注册时间: 2006-05-09 9:59
来自: 四川成都
送出感谢: 1 次
接收感谢: 0
联系:

#3

帖子 xiaosilent » 2006-12-18 15:41

checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
所以,安装intltool就可以了。
头像
spider5
帖子: 351
注册时间: 2005-12-15 21:52
送出感谢: 0
接收感谢: 0

#4

帖子 spider5 » 2006-12-18 16:56

呵呵,楼上的兄弟可能犯了经验主义错误,intltool明显是已经安装了的,
而且它跟perl模块没有任何依赖关系,
当然我判断的也不一定正确,看楼主的调试结果吧。
回复

回到 “编译或打包”