当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 3 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 安装XMMS时出现错误了!请高手帮帮忙啊!!
帖子发表于 : 2007-08-31 10:28 
头像

注册: 2007-08-26 13:23
帖子: 19
送出感谢: 0 次
接收感谢: 0 次
输入./configure之后出现以下情况:

checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
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 for prefix by checking for xmms... no
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.

麻烦高手帮帮忙啊,刚用ubuntu不久!!
config.log如下:
代码:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.57.  Invocation command line was

  $ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = you
uname -m = i686
uname -r = 2.6.22-10-generic
uname -s = Linux
uname -v = #1 SMP Wed Aug 22 08:11:52 GMT 2007

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/X11R6/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1518: checking build system type
configure:1536: result: i686-pc-linux-gnulibc1
configure:1544: checking host system type
configure:1558: result: i686-pc-linux-gnulibc1
configure:1584: checking for a BSD-compatible install
configure:1638: result: /usr/bin/install -c
configure:1649: checking whether build environment is sane
configure:1692: result: yes
configure:1725: checking for gawk
configure:1741: found /usr/bin/gawk
configure:1751: result: gawk
configure:1761: checking whether make sets $(MAKE)
configure:1781: result: yes
configure:2017: checking for xmms
configure:2050: result: no
configure:2134: checking for gcc
configure:2150: found /usr/bin/gcc
configure:2160: result: gcc
configure:2404: checking for C compiler version
configure:2407: gcc --version </dev/null >&5
gcc (GCC) 4.1.3 20070825 (prerelease) (Ubuntu 4.1.2-15ubuntu3)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2410: $? = 0
configure:2412: gcc -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.3 20070825 (prerelease) (Ubuntu 4.1.2-15ubuntu3)
configure:2415: $? = 0
configure:2417: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2420: $? = 1
configure:2444: checking for C compiler default output
configure:2447: gcc    conftest.c  >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2450: $? = 1
configure: failed program was:
| #line 2423 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "xmms"
| #define VERSION "1.2.10"
| #define DEV_DSP "/dev/dsp"
| #define DEV_MIXER "/dev/mixer"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2489: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnulibc1
ac_cv_build_alias=i686-pc-linux-gnulibc1
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-linux-gnulibc1
ac_cv_host_alias=i686-pc-linux-gnulibc1
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/user/Software/XMMS/xmms-1.2.10/missing --run aclocal-1.7'
ALLOCA=''
ALSA_CFLAGS=''
ALSA_LIBS=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/user/Software/XMMS/xmms-1.2.10/missing --run tar'
ARCH_DEFINES=''
ARCH_X86_FALSE=''
ARCH_X86_TRUE=''
AUTOCONF='${SHELL} /home/user/Software/XMMS/xmms-1.2.10/missing --run autoconf'
AUTOHEADER='${SHELL} /home/user/Software/XMMS/xmms-1.2.10/missing --run autoheader'
AUTOMAKE='${SHELL} /home/user/Software/XMMS/xmms-1.2.10/missing --run automake-1.7'
AWK='gawk'
BUILD_INCLUDED_LIBINTL=''
CATOBJEXT=''
CC='gcc'
CCAS=''
CCASFLAGS=''
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DATADIRNAME=''
DEFS=''
DEPDIR=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EFFECT_PLUGINS=''
EFFECT_PLUGIN_DIR=''
EGREP=''
ESD_CFLAGS=''
ESD_CONFIG=''
ESD_LIBS=''
EXEEXT=''
GENCAT=''
GENERAL_PLUGINS=''
GENERAL_PLUGIN_DIR=''
GLIBC21=''
GLIB_CFLAGS=''
GLIB_CONFIG=''
GLIB_LIBS=''
GMSGFMT=''
GTK_CFLAGS=''
GTK_CONFIG=''
GTK_LIBS=''
HAVE_ALSA_FALSE=''
HAVE_ALSA_TRUE=''
HAVE_CDROM_FALSE=''
HAVE_CDROM_TRUE=''
HAVE_ESD_FALSE=''
HAVE_ESD_TRUE=''
HAVE_LINUX_JOYSTICK_FALSE=''
HAVE_LINUX_JOYSTICK_TRUE=''
HAVE_MIKMOD_FALSE=''
HAVE_MIKMOD_TRUE=''
HAVE_OGGVORBIS_FALSE=''
HAVE_OGGVORBIS_TRUE=''
HAVE_OPENGL_FALSE=''
HAVE_OPENGL_TRUE=''
HAVE_OSS_FALSE=''
HAVE_OSS_TRUE=''
HAVE_SOLARIS_FALSE=''
HAVE_SOLARIS_TRUE=''
HAVE_SUN_FALSE=''
HAVE_SUN_TRUE=''
INPUT_PLUGINS=''
INPUT_PLUGIN_DIR=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INSTOBJEXT=''
INTLBISON=''
INTLLIBS=''
INTLOBJS=''
INTL_LIBTOOL_SUFFIX_PREFIX=''
LDFLAGS=''
LIBICONV=''
LIBINTL=''
LIBMIKMOD_CFLAGS=''
LIBMIKMOD_CONFIG=''
LIBMIKMOD_LDADD=''
LIBMIKMOD_LIBS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/user/Software/XMMS/xmms-1.2.10/missing --run makeinfo'
MKINSTALLDIRS=''
MSGFMT=''
MSGMERGE=''
OBJEXT=''
OGG_CFLAGS=''
OGG_LIBS=''
OPENGL_LIBS=''
OUTPUT_PLUGINS=''
OUTPUT_PLUGIN_DIR=''
PACKAGE='xmms'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PLUGIN_LDFLAGS=''
POSIX_LIBS=''
POSUB=''
PTHREAD_LIBS=''
RANLIB=''
SET_MAKE=''
SHELL='/bin/bash'
SM_LIBS=''
STRIP=''
USE_INCLUDED_LIBINTL=''
USE_IPV6=''
USE_IPV6_FALSE=''
USE_IPV6_TRUE=''
USE_NLS=''
USE_SIMD_FALSE=''
USE_SIMD_TRUE=''
USE_X86ASM_FALSE=''
USE_X86ASM_TRUE=''
VERSION='1.2.10'
VISUALIZATION_PLUGINS=''
VISUALIZATION_PLUGIN_DIR=''
VM_LIBS=''
VORBISENC_LIBS=''
VORBISFILE_LIBS=''
VORBIS_CFLAGS=''
VORBIS_LIBS=''
XGETTEXT=''
XMMS_DEFINES=''
XMMS_PATH=''
Z_LIBS=''
ac_ct_CC='gcc'
ac_ct_RANLIB=''
ac_ct_STRIP=''
ac_prefix_program=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnulibc1'
build_alias=''
build_cpu='i686'
build_os='linux-gnulibc1'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i686-pc-linux-gnulibc1'
host_alias=''
host_cpu='i686'
host_os='linux-gnulibc1'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/user/Software/XMMS/xmms-1.2.10/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir=''
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
plugindir=''
pluginsubs=''
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
sysconfdir='${prefix}/etc'
target_alias=''
xmmsdir=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define DEV_DSP "/dev/dsp"
#define DEV_MIXER "/dev/mixer"
#define PACKAGE "xmms"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "1.2.10"

configure: exit 77


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2007-08-31 11:37 
头像

注册: 2007-06-15 21:19
帖子: 196
地址: 上海
送出感谢: 0 次
接收感谢: 0 次
看了log,出错是因为没找到crt1.o
代码:
configure:2447: gcc    conftest.c  >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory

可能是缺少c函数库,试试看sudo apt-get install libc6-dev


_________________
/****************************************************
/* Work hard, play harder.
/****************************************************


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2007-09-02 12:58 
头像

注册: 2007-08-26 13:23
帖子: 19
送出感谢: 0 次
接收感谢: 0 次
试了sudo apt-get install libc6-dev 之后就不会出现原来的错误了,不过当使用make命令是提示找不到makefile,又不知什么事了


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 3 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 5 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译