LinuxSir.cn,穿越时空的Linuxsir!

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

ubuntu6.10 安装fcitx3.41时遇到的问题

[复制链接]
发表于 2006-11-1 19:31:40 | 显示全部楼层 |阅读模式
我是新人,今天刚开始学习LINUX,装了一个ubuntu6.10版,但是装好后没有输入法,根据WIKI网站说的,怎么装都不成功(用ROOT也不行),总是说找不到安装包。后来到www.fcitx.org上下了个最新 ... 体错误如下:
root@ch308-laptop:/tmp/fcitx-3.4# ./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 build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
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.

谁能帮帮我?
 楼主| 发表于 2006-11-2 13:20:19 | 显示全部楼层
root@ch308-laptop:/tmp# cd fcitx-3.4
root@ch308-laptop:/tmp/fcitx-3.4# ./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 build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
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.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-2 13:21:06 | 显示全部楼层
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

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

hostname = ch308-laptop
uname -m = i686
uname -r = 2.6.17-10-generic
uname -s = Linux
uname -v = #2 SMP Fri Oct 13 18:45:35 UTC 2006

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

/bin/arch              = i686
/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/bin/X11
PATH: /usr/games


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

configure:1371: checking for a BSD-compatible install
configure:1426: result: /usr/bin/install -c
configure:1437: checking whether build environment is sane
configure:1480: result: yes
configure:1545: checking for gawk
configure:1574: result: no
configure:1545: checking for mawk
configure:1561: found /usr/bin/mawk
configure:1571: result: mawk
configure:1581: checking whether make sets $(MAKE)
configure:1601: result: yes
configure:1776: checking build system type
configure:1794: result: i686-pc-linux-gnulibc1
configure:1802: checking host system type
configure:1816: result: i686-pc-linux-gnulibc1
configure:1874: checking for gcc
configure:1890: found /usr/bin/gcc
configure:1900: result: gcc
configure:2144: checking for C compiler version
configure:2147: gcc --version </dev/null >&5
gcc (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
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:2150: $? = 0
configure:2152: 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 --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.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
configure:2155: $? = 0
configure:2157: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2160: $? = 1
configure:2183: checking for C compiler default output file name
configure:2186: gcc    conftest.c  >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2189: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "fcitx"
| #define VERSION "'GirlDog' 3.4"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2228: 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_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_XFT_CFLAGS_set=
ac_cv_env_XFT_CFLAGS_value=
ac_cv_env_XFT_LIBS_set=
ac_cv_env_XFT_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-gnulibc1
ac_cv_host_alias=i686-pc-linux-gnulibc1
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=mawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes

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

ACLOCAL='${SHELL} /tmp/fcitx-3.4/missing --run aclocal-1.9'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /tmp/fcitx-3.4/missing --run tar'
AUTOCONF='${SHELL} /tmp/fcitx-3.4/missing --run autoconf'
AUTOHEADER='${SHELL} /tmp/fcitx-3.4/missing --run autoheader'
AUTOMAKE='${SHELL} /tmp/fcitx-3.4/missing --run automake-1.9'
AWK='mawk'
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
HAVE_XFT_FALSE=''
HAVE_XFT_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBICONV=''
LIBOBJS=''
LIBS=''
LTLIBICONV=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /tmp/fcitx-3.4/missing --run makeinfo'
OBJEXT=''
PACKAGE='fcitx'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKG_CONFIG=''
RANLIB=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
VERSION=''GirlDog' 3.4'
XFT_CFLAGS=''
XFT_LIBS=''
X_CFLAGS=''
X_LIBS=''
ac_ct_CC='gcc'
ac_ct_RANLIB=''
ac_ct_STRIP=''
ac_pt_PKG_CONFIG=''
am__fastdepCC_FALSE=''
am__fastdepCC_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='/tmp/fcitx-3.4/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

#define PACKAGE "fcitx"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "'GirlDog' 3.4"

configure: exit 77
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-2 13:31:35 | 显示全部楼层
谁来帮帮我?按照置顶的安装方法不管用,双击fcitx.install文件没任何提示,生成 /etc/X11/Xsession.d/95xinput文件后,重现启动电脑也没见有输入法的踪影。
第一次装linux就遇到了大麻烦。看来是不是要卸载了。
回复 支持 反对

使用道具 举报

发表于 2006-11-2 19:46:50 | 显示全部楼层
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status

你怎么连crt1.o都没有呢?
libc-dev
libc6-dev
大概有类似这样的包,装起来看看
回复 支持 反对

使用道具 举报

发表于 2006-11-5 17:31:28 | 显示全部楼层
既然是第一次使用linux,就不要编译了,去看看ubuntu中文论坛的初学者版块的置顶的一站式设置脚本,会帮你安装输入法,也是fcitx。同时会帮你安装多媒体解码器等。
回复 支持 反对

使用道具 举报

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

本版积分规则

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