找回密码
 注册
查看: 513|回复: 0

编译星际译王2.4.2出错.大家指点一下.

[复制链接]
发表于 2003-11-29 22:55:28 | 显示全部楼层 |阅读模式
[root@localhost stardict-2.4.2]# gedit INSTALL
[root@localhost stardict-2.4.2]# ./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 whether to enable maintainer-specific portions of Makefiles... no
checking for gconftool-2... /usr/bin/gconftool-2
checking for intltool >= 0.22... 0.27.2 found
checking for perl... /usr/bin/perl
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... 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 for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for egrep... 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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC 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.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether -lc should be explicitly linked in... no
creating libtool
checking for strerror in -lcposix... 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 g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... 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 dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  cs de mk ru zh_CN
checking for pkg-config... /usr/bin/pkg-config
checking for libgnomeui-2.0 >= 2.2.0... yes
checking STARDICT_CFLAGS... -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/linc-1.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/libxml2
checking STARDICT_LIBS... -pthread -Wl,--export-dynamic -L/usr/X11R6/lib -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2 -lpthread -lz -lgnomecanvas-2 -lgnome-2 -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lm -llinc -lgmodule-2.0 -ldl -lgobject-2.0 -lgthread-2.0 -lglib-2.0
checking for zlibVersion in -lz... yes
checking for gconftool-2... (cached) /usr/bin/gconftool-2
Using config source xml::/etc/gconf/gconf.xml.defaults for schema installation
Using $(sysconfdir)/gconf/schemas/ as install directory for schema files
checking for poptStrippedArgv in -lpopt... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for main in -lX11... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating stardict.spec
config.status: creating data/Makefile
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: creating src/tools/Makefile
config.status: creating src/pixmaps/Makefile
config.status: creating src/sounds/Makefile
config.status: creating src/win32/Makefile
config.status: creating src/win32/nsis/Makefile
config.status: creating pixmaps/Makefile
config.status: creating help/Makefile
config.status: creating help/C/Makefile
config.status: creating help/zh_CN/Makefile
config.status: creating help/ru/Makefile
config.status: creating help/mk/Makefile
config.status: creating omf-install/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
config.status: executing depfiles commands
config.status: executing default-2 commands


Type "make" to compile StarDict.


[root@localhost stardict-2.4.2]# rpm -q gcc
gcc-3.2.3-20
[root@localhost stardict-2.4.2]# make
make  all-recursive
make[1]: Entering directory `/home/ligang/字典/stardict-2/stardict-2.4.2'
Making all in src
make[2]: Entering directory `/home/ligang/字典/stardict-2/stardict-2.4.2/src'
Making all in pixmaps
make[3]: Entering directory `/home/ligang/字典/stardict-2/stardict-2.4.2/src/pixmaps'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/ligang/字典/stardict-2/stardict-2.4.2/src/pixmaps'
Making all in sounds
make[3]: Entering directory `/home/ligang/字典/stardict-2/stardict-2.4.2/src/sounds'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/ligang/字典/stardict-2/stardict-2.4.2/src/sounds'
Making all in tools
make[3]: Entering directory `/home/ligang/字典/stardict-2/stardict-2.4.2/src/tools'
make[4]: Entering directory `/home/ligang/字典/stardict-2/stardict-2.4.2/src/tools'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/ligang/字典/stardict-2/stardict-2.4.2/src/tools'
make[3]: Leaving directory `/home/ligang/字典/stardict-2/stardict-2.4.2/src/tools'
Making all in win32
make[3]: Entering directory `/home/ligang/字典/stardict-2/stardict-2.4.2/src/win32'
Making all in nsis
make[4]: Entering directory `/home/ligang/字典/stardict-2/stardict-2.4.2/src/win32/nsis'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/ligang/字典/stardict-2/stardict-2.4.2/src/win32/nsis'
make[4]: Entering directory `/home/ligang/字典/stardict-2/stardict-2.4.2/src/win32'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/ligang/字典/stardict-2/stardict-2.4.2/src/win32'
make[3]: Leaving directory `/home/ligang/字典/stardict-2/stardict-2.4.2/src/win32'
make[3]: Entering directory `/home/ligang/字典/stardict-2/stardict-2.4.2/src'
source='GNOME_Stardict-skels.c' object='GNOME_Stardict-skels.o' libtool=no \
depfile='.deps/GNOME_Stardict-skels.Po' tmpdepfile='.deps/GNOME_Stardict-skels.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall  -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/linc-1.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/libxml2   -DDATADIR=\""/usr/local/share"\" -DGNOME_ICONDIR=\""/usr/local/share/pixmaps"\" -DSTARDICT_LOCALEDIR=\""/usr/local/share/locale"\" -DSTARDICT_DATA_DIR=\""/usr/local/share/stardict"\" -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED  -I/usr/X11R6/include  -g -O2 -c `test -f 'GNOME_Stardict-skels.c' || echo './'`GNOME_Stardict-skels.c
In file included from /usr/include/orbit-2.0/orbit/orb-core/orb-core-types.h:16,                 from /usr/include/orbit-2.0/orbit/orbit-types.h:6,
                 from GNOME_Stardict.h:9,
                 from GNOME_Stardict-skels.c:7:
/usr/include/orbit-2.0/orbit/orb-core/corba-defs.h:8:1: warning: "ORBIT_IDL_SERIAL" redefined
In file included from GNOME_Stardict-skels.c:7:
GNOME_Stardict.h:8:1: warning: this is the location of the previous definition
GNOME_Stardict-skels.c: In function `POA_GNOME_Stardict_Application__init':
GNOME_Stardict-skels.c:136: warning: implicit declaration of function `ORBit_skel_class_register'
GNOME_Stardict-skels.c:139: warning: implicit declaration of function `ORBIT_VEPV_OFFSET'
GNOME_Stardict-skels.c:139: syntax error before "POA_GNOME_Stardict_Application__vepv"
make[3]: *** [GNOME_Stardict-skels.o] Error 1
make[3]: Leaving directory `/home/ligang/字典/stardict-2/stardict-2.4.2/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ligang/字典/stardict-2/stardict-2.4.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ligang/字典/stardict-2/stardict-2.4.2'
make: *** [all] Error 2
[root@localhost stardict-2.4.2]#

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

本版积分规则

GMT+8, 2025-2-8 03:59 , Processed in 0.022292 second(s), 15 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

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