怎样分析make的错误??

重复贴和参考价值不大的帖子,版主维护
回复
头像
snakexox
帖子: 66
注册时间: 2007-12-08 20:21
来自: 广州
送出感谢: 0
接收感谢: 0

怎样分析make的错误??

#1

帖子 snakexox » 2007-12-17 1:56

snakexox@snakexox-desktop:~/Desktop/sip-1.5.0$ make sipsetmkdir -p release/bin.debug.Linux.x86_64
mkdir -p release/lib.debug.Linux.x86_64
cd contrib; make
make[1]: Entering directory `/home/snakexox/Desktop/sip-1.5.0/contrib'
/home/snakexox/Desktop/sip-1.5.0/contrib/../build/../tools/lndir.sh ../libxml-2.x libxml2.Linux.x86_64
doc:
html:
cd libxml2.Linux.x86_64 ; env CC=gcc ./configure
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for cc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for rm... /bin/rm
checking for mv... /bin/mv
checking for tar... /bin/tar
checking host system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized

checking build system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized

checking for ranlib... ranlib
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
ltconfig: you must specify a host type if you use `--no-verify'
Try `ltconfig --help' for more information.
configure: error: libtool configure failed
make[1]: *** [libxml2.Linux.x86_64] 错误 1
make[1]: Leaving directory `/home/snakexox/Desktop/sip-1.5.0/contrib'
make: *** [contrib] 错误 2

怎样看,是不是我漏了什么还没有安装?
lb_bn
帖子: 1261
注册时间: 2007-02-25 16:56
送出感谢: 0
接收感谢: 0

#2

帖子 lb_bn » 2007-12-17 12:53

libxml2没装?? :D
dedela
帖子: 90
注册时间: 2007-02-23 15:28
送出感谢: 0
接收感谢: 0

#3

帖子 dedela » 2007-12-17 13:02

缺少编译环境,先看看文档,需要哪些工具
头像
snakexox
帖子: 66
注册时间: 2007-12-08 20:21
来自: 广州
送出感谢: 0
接收感谢: 0

#4

帖子 snakexox » 2007-12-17 15:18

lb_bn 写了:libxml2没装?? :D
装了啊
头像
snakexox
帖子: 66
注册时间: 2007-12-08 20:21
来自: 广州
送出感谢: 0
接收感谢: 0

#5

帖子 snakexox » 2007-12-17 21:04

sudo apt-get install g++ gcc make automake perl
装了这几个,装完automake后,那几个missing不见了 ,不过makeinfo还是missing
头像
snakexox
帖子: 66
注册时间: 2007-12-08 20:21
来自: 广州
送出感谢: 0
接收感谢: 0

#6

帖子 snakexox » 2007-12-18 21:53

官方的操作平台是红帽7.3啊,是不是不能在ubuntu上翻译?
回复

回到 “归档贴”