LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 765|回复: 4

编译stardic时出错,系统是suse10.2x64

[复制链接]
发表于 2007-1-17 20:52:24 | 显示全部楼层 |阅读模式
configure成功,但make时出错,希望高手指点。错误如下:
linux-ctpz:~/stardic/stardict-2.4.8 # ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man
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... /opt/gnome/bin/gconftool-2
checking for intltool >= 0.22... 0.34.2 found
checking for perl... /usr/bin/perl
checking for XML:arser... ok
checking for iconv... /usr/bin/iconv
checking for msgfmt... /usr/bin/msgfmt
checking for msgmerge... msgmerge
checking for xgettext... xgettext
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
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 for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
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 whether the gcc linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) 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... no
configure: creating libtool
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
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 ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether we are using the GNU C++ compiler... (cached) no
checking whether g++ accepts -g... (cached) no
checking dependency style of g++... (cached) none
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 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 for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... no
checking for catalogs to be installed...  cs de el fr hu hr ku mk nl pt_BR ru sk tt uk vi zh_CN zh_TW
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for STARDICT... yes
Enable gnome suppport
checking for gconftool-2... (cached) /opt/gnome/bin/gconftool-2
Using config source xml::/etc/opt/gnome/gconf/gconf.xml.schemas for schema installation
Using $(sysconfdir)/gconf/schemas as install directory for schema files
checking for poptStrippedArgv in -lpopt... yes
checking for zlibVersion in -lz... yes
checking for X... libraries /usr/lib64, headers
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 stardict-withoutgnome.spec
config.status: creating data/Makefile
config.status: creating doc/Makefile
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: creating src/lib/Makefile
config.status: creating src/pixmaps/Makefile
config.status: creating src/sounds/Makefile
config.status: creating src/win32/Makefile
config.status: creating src/win32/acrobat/Makefile
config.status: creating src/win32/acrobat/sources/Makefile
config.status: creating src/win32/acrobat/win32/Makefile
config.status: creating src/win32/nsis/Makefile
config.status: creating tests/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/zh_TW/Makefile
config.status: creating help/ru/Makefile
config.status: creating help/mk/Makefile
config.status: creating help/nl/Makefile
config.status: creating help/uk/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing intltool commands
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands


Type "make" to compile StarDict.


linux-ctpz:~/stardic/stardict-2.4.8 # make
make  all-recursive
make[1]: Entering directory `/root/stardic/stardict-2.4.8'
Making all in src
make[2]: Entering directory `/root/stardic/stardict-2.4.8/src'
Making all in lib
make[3]: Entering directory `/root/stardic/stardict-2.4.8/src/lib'
source='lib.cpp' object='lib.o' libtool=no \
        DEPDIR=.deps depmode=none /bin/sh ../../depcomp \
        g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -DORBIT2=1 -pthread -I/usr/include/libart-2.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libxml2 -I/opt/gnome/include/libgnomeui-2.0 -I/opt/gnome/include/libgnome-2.0 -I/opt/gnome/include/libgnomecanvas-2.0 -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/include/gconf/2 -I/opt/gnome/include/libbonoboui-2.0 -I/opt/gnome/include/gnome-vfs-2.0 -I/opt/gnome/lib64/gnome-vfs-2.0/include -I/opt/gnome/include/gnome-keyring-1 -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib64/glib-2.0/include -I/opt/gnome/include/orbit-2.0 -I/opt/gnome/include/libbonobo-2.0 -I/opt/gnome/include/bonobo-activation-2.0 -I/opt/gnome/include/pango-1.0 -I/opt/gnome/lib64/gtk-2.0/include -I/opt/gnome/include/atk-1.0       -c -o lib.o lib.cpp
../../depcomp: line 414: exec: g++: not found
make[3]: *** [lib.o] Error 127
make[3]: Leaving directory `/root/stardic/stardict-2.4.8/src/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/stardic/stardict-2.4.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/stardic/stardict-2.4.8'
make: *** [all] Error 2
linux-ctpz:~/stardic/stardict-2.4.8 #
发表于 2007-1-17 21:27:38 | 显示全部楼层
有RPM包啊。。。
回复 支持 反对

使用道具 举报

发表于 2007-1-17 21:36:47 | 显示全部楼层
只有2.4.5的rpm包吧……
回复 支持 反对

使用道具 举报

发表于 2007-1-17 22:12:08 | 显示全部楼层
Post by Souryu_Asuka
只有2.4.5的rpm包吧……

俺这个是rpm包装的,楼主想要可发消息

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-1-17 22:19:20 | 显示全部楼层
是64位的吗,如果是的话我就太感谢了!我的邮箱是dexunli@yahoo.com.cn,能发给我吗?
回复 支持 反对

使用道具 举报

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

本版积分规则

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