|
config出错,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.66. Invocation command line was
$ ./configure --prefix=/usr --enable-tray=yes --enable-recording=yes --enable-dbus=yes
## --------- ##
## Platform. ##
## --------- ##
hostname = Arch-X86
uname -m = i686
uname -r = 2.6.35-ARCH
uname -s = Linux
uname -v = #1 SMP PREEMPT Wed Aug 4 10:58:14 UTC 2010
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /bin
PATH: /usr/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/lib/perl5/core_perl/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2287: checking for a BSD-compatible install
configure:2355: result: /bin/install -c
configure:2366: checking whether build environment is sane
configure:2416: result: yes
configure:2557: checking for a thread-safe mkdir -p
configure:2596: result: /bin/mkdir -p
configure:2609: checking for gawk
configure:2625: found /bin/gawk
configure:2636: result: gawk
configure:2647: checking whether make sets $(MAKE)
configure:2669: result: yes
configure:2754: checking build system type
configure:2768: result: i686-pc-linux-gnu
configure:2788: checking host system type
configure:2801: result: i686-pc-linux-gnu
configure:2873: checking for gcc
configure:2889: found /usr/bin/gcc
configure:2900: result: gcc
configure:3129: checking for C compiler version
configure:3138: gcc --version >&5
gcc (GCC) 4.5.0 20100610 (prerelease)
Copyright (C) 2010 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:3149: $? = 0
configure:3138: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-linux-gnu/4.5.0/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: ../configure --prefix=/usr --enable-languages=c,c++,fortran,objc,obj-c++,ada --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-gnu-unique-object --enable-lto --enable-plugin --disable-multilib --disable-libstdcxx-pch --with-system-zlib --with-ppl --with-cloog --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info
Thread model: posix
gcc version 4.5.0 20100610 (prerelease) (GCC)
configure:3149: $? = 0
configure:3138: gcc -V >&5
gcc: '-V' option must have argument
configure:3149: $? = 1
configure:3138: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:3149: $? = 1
configure:3169: checking whether the C compiler works
configure:3191: gcc -march=i686 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed conftest.c >&5
configure:3195: $? = 0
configure:3243: result: yes
configure:3246: checking for C compiler default output file name
configure:3248: result: a.out
configure:3254: checking for suffix of executables
configure:3261: gcc -o conftest -march=i686 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed conftest.c >&5
configure:3265: $? = 0
configure:3287: result:
configure:3309: checking whether we are cross compiling
configure:3317: gcc -o conftest -march=i686 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed conftest.c >&5
In file included from /usr/include/stdio.h:28:0,
from conftest.c:11:
/usr/include/features.h:356:25: fatal error: sys/cdefs.h: No such file or directory
compilation terminated.
configure:3321: $? = 1
configure:3328: ./conftest
./configure: line 3330: ./conftest: No such file or directory
configure:3332: $? = 127
configure:3339: error: in `/home/alpha/fcitx/src/fcitx-svn':
configure:3341: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-linux-gnu
ac_cv_env_CAIRO_XLIB_CFLAGS_set=
ac_cv_env_CAIRO_XLIB_CFLAGS_value=
ac_cv_env_CAIRO_XLIB_LIBS_set=
ac_cv_env_CAIRO_XLIB_LIBS_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=i686 -mtune=generic -O2 -pipe'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_DBUS_CFLAGS_set=
ac_cv_env_DBUS_CFLAGS_value=
ac_cv_env_DBUS_LIBS_set=
ac_cv_env_DBUS_LIBS_value=
ac_cv_env_FONTCONFIG_CFLAGS_set=
ac_cv_env_FONTCONFIG_CFLAGS_value=
ac_cv_env_FONTCONFIG_LIBS_set=
ac_cv_env_FONTCONFIG_LIBS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-Wl,--hash-style=gnu -Wl,--as-needed'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=set
ac_cv_env_PKG_CONFIG_PATH_value=/usr/lib/pkgconfig
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_XRENDER_CFLAGS_set=
ac_cv_env_XRENDER_CFLAGS_value=
ac_cv_env_XRENDER_LIBS_set=
ac_cv_env_XRENDER_LIBS_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-gnu
ac_cv_path_install='/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/alpha/fcitx/src/fcitx-svn/missing --run aclocal-1.11'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/alpha/fcitx/src/fcitx-svn/missing --run tar'
AUTOCONF='${SHELL} /home/alpha/fcitx/src/fcitx-svn/missing --run autoconf'
AUTOHEADER='${SHELL} /home/alpha/fcitx/src/fcitx-svn/missing --run autoheader'
AUTOMAKE='${SHELL} /home/alpha/fcitx/src/fcitx-svn/missing --run automake-1.11'
AWK='gawk'
CAIRO_XLIB_CFLAGS=''
CAIRO_XLIB_LIBS=''
CC='gcc'
CCDEPMODE=''
CFLAGS='-march=i686 -mtune=generic -O2 -pipe'
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DBUS_CFLAGS=''
DBUS_LIBS=''
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FONTCONFIG_CFLAGS=''
FONTCONFIG_LIBS=''
GREP=''
HAVE_DBUS_FALSE=''
HAVE_DBUS_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS='-Wl,--hash-style=gnu -Wl,--as-needed'
LIBICONV=''
LIBOBJS=''
LIBS=''
LTLIBICONV=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/alpha/fcitx/src/fcitx-svn/missing --run makeinfo'
MKDIR_P='/bin/mkdir -p'
OBJEXT=''
PACKAGE='fcitx'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH='/usr/lib/pkgconfig'
RANLIB=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='20100713'
XMKMF=''
XRENDER_CFLAGS=''
XRENDER_LIBS=''
X_CFLAGS=''
X_LIBS=''
ac_ct_CC='gcc'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/alpha/fcitx/src/fcitx-svn/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "fcitx"
#define VERSION "20100713"
configure: exit 1 |
|