configure中的错误,有谁能帮我解决

为当前最终发行版之前的所有版本提供支持
回复
头像
lifulinghan
帖子: 135
注册时间: 2009-01-05 20:14
送出感谢: 0
接收感谢: 0
联系:

configure中的错误,有谁能帮我解决

#1

帖子 lifulinghan » 2011-03-12 17:10

1、好像找不到AM_GLIB_GNU_GETTEXT,但是我装了glibc及gettext。
2、无法datadir


下面是./cofingure全文

lifulinghan@ubuntu:~/下载/gqqDev-gkiu-b05c31d$ ./configure ./configure: line 2242: datadir: command not found
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 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 locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking whether NLS is requested... yes
checking for intltool >= 0.35.0... 0.41.1 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... (cached) /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.10.1
checking for XML::Parser... ok
./configure: line 5447: ALL_GLIB_GNU_GETTEXT: command not found
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GKIU... yes
checking for gdbm_store in -lgdbm... no
checking gtk-doc version >= 1.0... no
configure: creating ./config.status
config.status: error: cannot find input file: `Makefile.in'
据说一老外年轻的时候,立志要当一名伟大的作家。怎么才算伟大呢?他说:我写的东西全世界都要看到!看完他们必定会歇斯底里!会火冒三丈!会痛苦万分!结果,他成功了,他在微软公司负责写系统蓝屏时的报错提示信息.....
头像
acid303
帖子: 547
注册时间: 2009-04-03 16:06
送出感谢: 1 次
接收感谢: 2 次

Re: configure中的错误,有谁能帮我解决

#2

帖子 acid303 » 2011-03-12 18:31

代码: 全选

./autogen.sh
头像
lifulinghan
帖子: 135
注册时间: 2009-01-05 20:14
送出感谢: 0
接收感谢: 0
联系:

Re: configure中的错误,有谁能帮我解决

#3

帖子 lifulinghan » 2011-03-12 19:19

:em20 :em20 :em20 装上 libtool,./configure顺得通了!可是新的问题又来了,make出现了

make all-recursive
make[1]: 正在进入目录 `/home/lifulinghan/下载/gqqDev-gkiu-b05c31d'
Making all in src
make[2]: 正在进入目录 `/home/lifulinghan/下载/gqqDev-gkiu-b05c31d/src'
CC chatlog.o
chatlog.c:24: fatal error: gdbm.h: 没有那个文件或目录
compilation terminated.
make[2]: *** [chatlog.o] 错误 1
make[2]:正在离开目录 `/home/lifulinghan/下载/gqqDev-gkiu-b05c31d/src'
make[1]: *** [all-recursive] 错误 1
make[1]:正在离开目录 `/home/lifulinghan/下载/gqqDev-gkiu-b05c31d'
make: *** [all] 错误 2
据说一老外年轻的时候,立志要当一名伟大的作家。怎么才算伟大呢?他说:我写的东西全世界都要看到!看完他们必定会歇斯底里!会火冒三丈!会痛苦万分!结果,他成功了,他在微软公司负责写系统蓝屏时的报错提示信息.....
头像
lifulinghan
帖子: 135
注册时间: 2009-01-05 20:14
送出感谢: 0
接收感谢: 0
联系:

Re: configure中的错误,有谁能帮我解决

#4

帖子 lifulinghan » 2011-03-12 19:21

:em11 :em11 要么你们也编译一下看!是一个gqqEev的源码!好像一个QQ项目!!
源码下载地址:https://github.com/gqqdev/gkiu/
你们编译一下看!
据说一老外年轻的时候,立志要当一名伟大的作家。怎么才算伟大呢?他说:我写的东西全世界都要看到!看完他们必定会歇斯底里!会火冒三丈!会痛苦万分!结果,他成功了,他在微软公司负责写系统蓝屏时的报错提示信息.....
头像
liu滔
帖子: 7211
注册时间: 2010-10-09 23:01
送出感谢: 5 次
接收感谢: 14 次

Re: configure中的错误,有谁能帮我解决

#5

帖子 liu滔 » 2011-03-12 20:59

不要在make发生的目录的绝对路径中使用中文,例如``下载''……
头像
lifulinghan
帖子: 135
注册时间: 2009-01-05 20:14
送出感谢: 0
接收感谢: 0
联系:

Re: configure中的错误,有谁能帮我解决

#6

帖子 lifulinghan » 2011-03-13 8:35

:em20 :em20 楼上的,还是不行。
:em09 我以前在中文路径也编译成功了
据说一老外年轻的时候,立志要当一名伟大的作家。怎么才算伟大呢?他说:我写的东西全世界都要看到!看完他们必定会歇斯底里!会火冒三丈!会痛苦万分!结果,他成功了,他在微软公司负责写系统蓝屏时的报错提示信息.....
回复

回到 “老旧版本支持”