当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 7 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : [问题]如何编译安装xmms1.2.11(在安装过程中出现问题)
帖子发表于 : 2008-03-03 16:05 

注册: 2007-11-11 20:49
帖子: 32
送出感谢: 1
接收感谢: 0 次
显示如下:
~/down/xmms-1.2.11$ ./configure --prefix ~/down/xmms
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 gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.



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.59. Invocation command line was

$ ./configure --prefix /home/yuwandong/down/xmms

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

hostname = yuwandong-desktop
uname -m = i686
uname -r = 2.6.22-14-generic
uname -s = Linux
uname -v = #1 SMP Tue Feb 12 07:42:25 UTC 2008

/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/games


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

configure:1588: checking build system type
configure:1606: result: i686-pc-linux-gnulibc1
configure:1614: checking host system type
configure:1628: result: i686-pc-linux-gnulibc1
configure:1655: checking for a BSD-compatible install
configure:1710: result: /usr/bin/install -c
configure:1721: checking whether build environment is sane
configure:1764: result: yes
configure:1829: checking for gawk
configure:1845: found /usr/bin/gawk
configure:1855: result: gawk
configure:1865: checking whether make sets $(MAKE)
configure:1885: result: yes
configure:2244: checking for gcc
configure:2260: found /usr/bin/gcc
configure:2270: result: gcc
configure:2514: checking for C compiler version
configure:2517: gcc --version </dev/null >&5
gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
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:2520: $? = 0
configure:2522: 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 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
configure:2525: $? = 0
configure:2527: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2530: $? = 1
configure:2553: checking for C compiler default output file name
configure:2556: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2559: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "xmms"
| #define VERSION "1.2.11"
| #define DEV_DSP "/dev/dsp"
| #define DEV_MIXER "/dev/mixer"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2598: 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_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=
ac_cv_env_CCAS_value=
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_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_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/yuwandong/down/xmms-1.2.11/missing --run aclocal-1.9'
ALLOCA=''
ALSA_CFLAGS=''
ALSA_LIBS=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/yuwandong/down/xmms-1.2.11/missing --run tar'
AR=''
ARCH_DEFINES=''
ARCH_X86_FALSE=''
ARCH_X86_TRUE=''
AUTOCONF='${SHELL} /home/yuwandong/down/xmms-1.2.11/missing --run autoconf'
AUTOHEADER='${SHELL} /home/yuwandong/down/xmms-1.2.11/missing --run autoheader'
AUTOMAKE='${SHELL} /home/yuwandong/down/xmms-1.2.11/missing --run automake-1.9'
AWK='gawk'
BUILD_INCLUDED_LIBINTL=''
CATOBJEXT=''
CC='gcc'
CCAS=''
CCASFLAGS=''
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
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=''
F77=''
FFLAGS=''
GENCAT=''
GENERAL_PLUGINS=''
GENERAL_PLUGIN_DIR=''
GLIBC21=''
GLIBC2=''
GLIB_CFLAGS=''
GLIB_CONFIG=''
GLIB_LIBS=''
GMSGFMT=''
GTK_CFLAGS=''
GTK_CONFIG=''
GTK_LIBS=''
HAVE_ALSA_FALSE=''
HAVE_ALSA_TRUE=''
HAVE_ASPRINTF=''
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_POSIX_PRINTF=''
HAVE_SNPRINTF=''
HAVE_SOLARIS_FALSE=''
HAVE_SOLARIS_TRUE=''
HAVE_SUN_FALSE=''
HAVE_SUN_TRUE=''
HAVE_WPRINTF=''
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=''
INTL_MACOSX_LIBS=''
LDFLAGS=''
LIBICONV=''
LIBINTL=''
LIBMIKMOD_CFLAGS=''
LIBMIKMOD_CONFIG=''
LIBMIKMOD_LDADD=''
LIBMIKMOD_LIBS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/yuwandong/down/xmms-1.2.11/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.11'
VISUALIZATION_PLUGINS=''
VISUALIZATION_PLUGIN_DIR=''
VM_LIBS=''
VORBISENC_LIBS=''
VORBISFILE_LIBS=''
VORBIS_CFLAGS=''
VORBIS_LIBS=''
XGETTEXT=''
XMMS_DEFINES=''
XMMS_PATH=''
Z_LIBS=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
ac_prefix_program=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
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/yuwandong/down/xmms-1.2.11/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir=''
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
plugindir=''
pluginsubs=''
prefix='/home/yuwandong/down/xmms'
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.11"

configure: exit 77








请教一下是哪出了问题?谢谢!


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2008-03-03 16:14 
头像

注册: 2007-01-15 17:15
帖子: 3766
送出感谢: 0 次
接收感谢: 0 次
好像没有 gcc ... sudo apt-get install build-essential 先

==========================================================
root@myarch:/# aptitude show build-essential
Package: build-essential
State: installed
Automatically installed: yes
Version: 11.3ubuntu1
Priority: 可选
Section: devel
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Uncompressed Size: 49.2k
Depends: libc6-dev | libc-dev, gcc (>= 4:4.1.1), g++ (>= 4:4.1.1), make,
dpkg-dev (>= 1.13.5)
Description: 编译程序必须软件包的列表信息
如果您不打算编译 Debian 软件包,就不需要安装此软件包。而且要编译 Debian 软
件包,此软件包也不是必须的。

本软件包包含一个列表,表中列出了在编译 Debian 软件包时所必须的软件包。
本软件包依赖于列表中的软件,这样,安装编译程序必须的软件包就会很简单。

如果安装了此软件包,在编译软件包时,你只需要安装其特别要求的编译时依赖关
系。反过来说,在确定软件包的依赖关系的时候,您完全可以忽略此软件包所依赖的
这些包。

本软件包并不是定义那些软件包是编译必须的;真正的定义在 Debian 策略手册中。本
软件包仅包含一个大家都需要的列表。然而,如果此软件包和手册发生冲突,以
手册为准。

看见翻译默默的工作了,闲的,翻译这东西


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2008-03-03 16:32 
头像

注册: 2007-07-11 20:59
帖子: 3922
送出感谢: 0 次
接收感谢: 0 次
不是有DEB吗???


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2008-03-03 20:50 

注册: 2007-11-11 20:49
帖子: 32
送出感谢: 1
接收感谢: 0 次
只是想用编译的方法来安装一下,学习一下,网上也搜不到,也不知从哪入手

装好后(按二楼的方法)还是一样报错,报错内容相同,请问这是怎么回事呀?

在网上下载了GCC4.10

编译的时候也同样出现相同的报错,不知是何原因?

请大侠指点!!


页首
 用户资料  
 
5 楼 
 文章标题 :
帖子发表于 : 2008-03-03 21:02 
头像

注册: 2007-01-15 17:15
帖子: 3766
送出感谢: 0 次
接收感谢: 0 次
try 1 try : sudo apt-get install libc6-dev g++ gcc


页首
 用户资料  
 
6 楼 
 文章标题 :
帖子发表于 : 2008-03-04 20:13 

注册: 2007-11-11 20:49
帖子: 32
送出感谢: 1
接收感谢: 0 次
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: error: *** GLIB >= 1.2.2 not installed - please install first ***



我将可以装的带GLIB字眼的包差不多都装了,还是出现以上的错误提示!

不知这是缺少什么包?

请指教


页首
 用户资料  
 
7 楼 
 文章标题 :
帖子发表于 : 2008-09-16 10:25 

注册: 2007-11-11 20:49
帖子: 32
送出感谢: 1
接收感谢: 0 次
错误一:
”checking for GLIB - version >= 1.2.2... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: error: *** GLIB >= 1.2.2 not installed - please install first ***”
解决方法:#apt-get install libglib1.2-dev

错误二:
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: error: *** GTK+ >= 1.2.2 not installed - please install first ***
解决方法:#apt-get install libgtk1.2-dev

错误三:
xmms: error while loading shared libraries: libxmms.so.1: cannot open shared object file: No such file or directory
解决方法:拷贝/usr/local/lib/libxmms.so.1到/usr/lib/libxmms.so.1(这个文件本来就是一个链接文件)


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

当前时区为 UTC + 8 小时


在线用户

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


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

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

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