怎么编译Glade生成的代码?我在用 了./autogen.sh后再用make出现下面错误

软件和网站开发以及相关技术探讨
回复
cooboos
帖子: 2
注册时间: 2007-10-09 7:37

怎么编译Glade生成的代码?我在用 了./autogen.sh后再用make出现下面错误

#1

帖子 cooboos » 2007-10-13 21:57

cooboos@cooboos-laptop:~/项目/项目1$ ./autogen.sh
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.

processing .
Creating ./aclocal.m4 ...
Running glib-gettextize... Ignore non-fatal messages.
Copying file mkinstalldirs
Copying file po/Makefile.in.in

Please add the files
codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
progtest.m4
from the /aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

Making ./aclocal.m4 writable ...
Running aclocal ...
Running autoheader...
Running automake --gnu ...
Running autoconf ...
Running ./configure --enable-maintainer-mode ...
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... yes
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 ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
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 ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
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 ISO C89... (cached) none needed
checking dependency style of gcc... (cached) 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 pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... 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 build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
Now type `make' to compile.
cooboos@cooboos-laptop:~/项目/项目1$ make
make all-recursive
make[1]: Entering directory `/home/cooboos/项目/项目1'
Making all in src
make[2]: Entering directory `/home/cooboos/项目/项目1/src'
rm: unrecognized option `------1'
请尝试执行‘rm --help’来获取更多信息。
make[2]: *** [------1] 错误 1
make[2]: Leaving directory `/home/cooboos/项目/项目1/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/cooboos/项目/项目1'
make: *** [all] 错误 2
这是出现的问题 请大家帮忙解决一下 谢谢
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#2

帖子 eexpress » 2007-10-13 22:11

glade里面,不是有“联编”类似的菜单。是调用anjuta,然后全部自动的。

你需要安装auto*等包的。
● 鸣学
cooboos
帖子: 2
注册时间: 2007-10-09 7:37

#3

帖子 cooboos » 2007-10-15 14:19

eexpress 说详细一点好么 ? 这些auto*包具体是什么 ? :?: 谢谢
头像
小天儿
帖子: 80
注册时间: 2007-07-13 9:14

Re: 怎么编译Glade生成的代码?我在用 了./autogen.sh后再用make出现下面错误

#4

帖子 小天儿 » 2009-02-25 11:13

:em05 超级弱智错误,你看看你工程里的名字是不是和文件名不一致。 -------1根本不存在,你rm how阿~@!
回复