[其它]为什么我装软件总是会出现 C++ compile的错误?这次装xlyrics又出现了,怎么解决了

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
rucstudent
帖子: 633
注册时间: 2007-05-09 16:52

[其它]为什么我装软件总是会出现 C++ compile的错误?这次装xlyrics又出现了,怎么解决了

#1

帖子 rucstudent » 2007-06-03 0:32

我安装xlyrics,解压后,用configure命令出现错误,我把log贴出来,希望大家不要嫌麻烦,帮我看看,我真的装好多软件的时候都出现这个错误了......
谢谢大家了!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! :) :) :oops:


lanpeng@lanpeng-ubuntu:~/Desktop$ sudo mv xlyrics-0.4.6.tar.gz /
lanpeng@lanpeng-ubuntu:~/Desktop$ sudo -sH
sudo: please use single character options
root@lanpeng-ubuntu:~/Desktop# cd /
root@lanpeng-ubuntu:/# tar -xzvf xlyrics-0.4.6.tar.gz
xlyrics-0.4.6/
xlyrics-0.4.6/autom4te.cache/
xlyrics-0.4.6/autom4te.cache/output.0
xlyrics-0.4.6/autom4te.cache/requests
xlyrics-0.4.6/autom4te.cache/traces.0
xlyrics-0.4.6/ABOUT-NLS
xlyrics-0.4.6/AUTHORS
xlyrics-0.4.6/COPYING
xlyrics-0.4.6/ChangeLog
xlyrics-0.4.6/INSTALL
xlyrics-0.4.6/Makefile.am
xlyrics-0.4.6/Makefile.in
xlyrics-0.4.6/NEWS
xlyrics-0.4.6/README
xlyrics-0.4.6/acconfig.h
xlyrics-0.4.6/acinclude.m4
xlyrics-0.4.6/aclocal.m4
xlyrics-0.4.6/autogen.sh
xlyrics-0.4.6/compile
xlyrics-0.4.6/config.guess
xlyrics-0.4.6/config.h.in
xlyrics-0.4.6/config.sub
xlyrics-0.4.6/configure
xlyrics-0.4.6/configure.in
xlyrics-0.4.6/depcomp
xlyrics-0.4.6/install-sh
xlyrics-0.4.6/ltmain.sh
xlyrics-0.4.6/missing
xlyrics-0.4.6/mkinstalldirs
xlyrics-0.4.6/stamp-h.in
xlyrics-0.4.6/intl/
xlyrics-0.4.6/intl/ChangeLog
xlyrics-0.4.6/intl/Makefile.in
xlyrics-0.4.6/intl/VERSION
xlyrics-0.4.6/intl/bindtextdom.c
xlyrics-0.4.6/intl/config.charset
xlyrics-0.4.6/intl/dcgettext.c
xlyrics-0.4.6/intl/dcigettext.c
xlyrics-0.4.6/intl/dcngettext.c
xlyrics-0.4.6/intl/dgettext.c
xlyrics-0.4.6/intl/dngettext.c
xlyrics-0.4.6/intl/explodename.c
xlyrics-0.4.6/intl/finddomain.c
xlyrics-0.4.6/intl/gettext.c
xlyrics-0.4.6/intl/gettext.h
xlyrics-0.4.6/intl/gettextP.h
xlyrics-0.4.6/intl/hash-string.h
xlyrics-0.4.6/intl/intl-compat.c
xlyrics-0.4.6/intl/l10nflist.c
xlyrics-0.4.6/intl/libgettext.h
xlyrics-0.4.6/intl/libgnuintl.h
xlyrics-0.4.6/intl/loadinfo.h
xlyrics-0.4.6/intl/loadmsgcat.c
xlyrics-0.4.6/intl/localcharset.c
xlyrics-0.4.6/intl/locale.alias
xlyrics-0.4.6/intl/localealias.c
xlyrics-0.4.6/intl/ngettext.c
xlyrics-0.4.6/intl/plural.c
xlyrics-0.4.6/intl/plural.y
xlyrics-0.4.6/intl/ref-add.sin
xlyrics-0.4.6/intl/ref-del.sin
xlyrics-0.4.6/intl/textdomain.c
xlyrics-0.4.6/po/
xlyrics-0.4.6/po/Makefile.in.in
xlyrics-0.4.6/po/POTFILES.in
xlyrics-0.4.6/po/xlyrics.pot
xlyrics-0.4.6/po/zh_CN.gmo
xlyrics-0.4.6/po/zh_CN.po
xlyrics-0.4.6/src/
xlyrics-0.4.6/src/audaciousplugin/
xlyrics-0.4.6/src/audaciousplugin/Makefile.am
xlyrics-0.4.6/src/audaciousplugin/Makefile.in
xlyrics-0.4.6/src/audaciousplugin/audacious_xlyrics.c
xlyrics-0.4.6/src/Makefile.am
xlyrics-0.4.6/src/Makefile.in
xlyrics-0.4.6/src/conf.c
xlyrics-0.4.6/src/conf.h
xlyrics-0.4.6/src/find.c
xlyrics-0.4.6/src/find.h
xlyrics-0.4.6/src/id3.c
xlyrics-0.4.6/src/id3.h
xlyrics-0.4.6/src/internal.c
xlyrics-0.4.6/src/internal.h
xlyrics-0.4.6/src/link_editor.c
xlyrics-0.4.6/src/link_editor.h
xlyrics-0.4.6/src/lyrics.c
xlyrics-0.4.6/src/lyrics.h
xlyrics-0.4.6/src/lyrics_creator.c
xlyrics-0.4.6/src/lyrics_creator.h
xlyrics-0.4.6/src/lyrics_download.c
xlyrics-0.4.6/src/lyrics_download.h
xlyrics-0.4.6/src/stylerc
xlyrics-0.4.6/src/xlyrics.c
xlyrics-0.4.6/src/xlyrics.h
xlyrics-0.4.6/src/bmpplugin/
xlyrics-0.4.6/src/bmpplugin/Makefile.am
xlyrics-0.4.6/src/bmpplugin/Makefile.in
xlyrics-0.4.6/src/bmpplugin/bmp_xlyrics.c
xlyrics-0.4.6/src/plugins/
xlyrics-0.4.6/src/plugins/Makefile.am
xlyrics-0.4.6/src/plugins/Makefile.in
xlyrics-0.4.6/src/plugins/liblyrics_xmms.la
xlyrics-0.4.6/src/plugins/lyrics_amarok.cpp
xlyrics-0.4.6/src/plugins/lyrics_audacious.c
xlyrics-0.4.6/src/plugins/lyrics_beep.c
xlyrics-0.4.6/src/plugins/lyrics_xmms.c
xlyrics-0.4.6/src/scripts/
xlyrics-0.4.6/src/scripts/Makefile
xlyrics-0.4.6/src/scripts/Lite.pm
xlyrics-0.4.6/src/scripts/downloadlyrics.pl
xlyrics-0.4.6/src/scripts/uploadlyrics.pl
xlyrics-0.4.6/src/xmmsplugin/
xlyrics-0.4.6/src/xmmsplugin/Makefile.am
xlyrics-0.4.6/src/xmmsplugin/Makefile.in
xlyrics-0.4.6/src/xmmsplugin/libxmms_xlyrics.la
xlyrics-0.4.6/src/xmmsplugin/xmms_xlyrics.c
root@lanpeng-ubuntu:/# cd xlyrics-0.4.6
root@lanpeng-ubuntu:/xlyrics-0.4.6# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
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 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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
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 strerror in -lcposix... no
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for inline... inline
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
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 whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
头像
goldfox_79
帖子: 2004
注册时间: 2005-10-16 8:26
来自: 地球

#2

帖子 goldfox_79 » 2007-06-03 0:38

cpp没安装?
头像
jarlyyn
帖子: 4671
注册时间: 2006-04-12 18:54
联系:

#3

帖子 jarlyyn » 2007-06-03 3:15

ubuntu没人没编译环境

安装 build-essential
rucstudent
帖子: 633
注册时间: 2007-05-09 16:52

#4

帖子 rucstudent » 2007-06-03 10:57

2位我不知道听谁的...
回复