安装FCITX的问题!
- yysq009
- 帖子: 2682
- 注册时间: 2007-01-28 23:00
- 来自: @江西|南昌@
- 联系:
安装FCITX的问题!
我下载了FCITX的TAR包 通过解压 安装 但是出现下面的问题 请高手解答下。
yysq@yysq-desktop:~$ cd fcitx-3.4.2
yysq@yysq-desktop:~/fcitx-3.4.2$ ./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.
是少了什么组件么???
yysq@yysq-desktop:~$ cd fcitx-3.4.2
yysq@yysq-desktop:~/fcitx-3.4.2$ ./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.
是少了什么组件么???
- karron
- 帖子: 6226
- 注册时间: 2005-06-11 14:03
- 来自: 不明真相的群众
- 联系:
- BigSnake.NET
- 帖子: 12522
- 注册时间: 2006-07-02 11:16
- 来自: 廣州
- 联系:
- yysq009
- 帖子: 2682
- 注册时间: 2007-01-28 23:00
- 来自: @江西|南昌@
- 联系:
- BigSnake.NET
- 帖子: 12522
- 注册时间: 2006-07-02 11:16
- 来自: 廣州
- 联系:
- yysq009
- 帖子: 2682
- 注册时间: 2007-01-28 23:00
- 来自: @江西|南昌@
- 联系:
应该是装了 因为我输入GCC -V系统回复是
yysq@yysq-desktop:~$ gcc -v
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)
yysq@yysq-desktop:~$
不知道这个提示 是否是GCC安装好了。
yysq@yysq-desktop:~$ gcc -v
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)
yysq@yysq-desktop:~$
不知道这个提示 是否是GCC安装好了。
- zhan
- 帖子: 1880
- 注册时间: 2005-08-15 0:04
- 来自: 南7技校
基本的编译环境没有配置好,包括一些 C/C++ 的头文件等等,这个错误一般是说编译器问题。再具体的我也不知道了 ..
要解决这个,请
sudo apt-get install build-essential
P.S. 要编译 fcitx 还需要 libxft, libpng 等等库文件。
要解决这个,请
sudo apt-get install build-essential
P.S. 要编译 fcitx 还需要 libxft, libpng 等等库文件。
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
http://zhan.blog.ubuntu.org.cn
- yysq009
- 帖子: 2682
- 注册时间: 2007-01-28 23:00
- 来自: @江西|南昌@
- 联系:
我按照2楼的方法 更新后 ./configure 和make都成功了 但是MAKE INSTALL的时候却提示错误。代码如下:
yysq@yysq-desktop:~/fcitx-3.4.2$ make install
Making install in doc
make[1]: Entering directory `/home/yysq/fcitx-3.4.2/doc'
make[2]: Entering directory `/home/yysq/fcitx-3.4.2/doc'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/fcitx/doc" || mkdir -p -- "/usr/local/share/fcitx/doc"
mkdir: 无法创建目录‘/usr/local/share/fcitx’: Permission denied
make[2]: *** [install-docDATA] 错误 1
make[2]: Leaving directory `/home/yysq/fcitx-3.4.2/doc'
make[1]: *** [install-am] 错误 2
make[1]: Leaving directory `/home/yysq/fcitx-3.4.2/doc'
make: *** [install-recursive] 错误 1
yysq@yysq-desktop:~/fcitx-3.4.2$
不知道是什么错误。。。
PS:执行sudo apt-get install build-essential 以后提示如下:
yysq@yysq-desktop:~$ sudo apt-get install build-essential
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
Reading state information... 完成
build-essential 已经是最新的版本了。
共升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 110 个软件未被升级。
yysq@yysq-desktop:~$
yysq@yysq-desktop:~/fcitx-3.4.2$ make install
Making install in doc
make[1]: Entering directory `/home/yysq/fcitx-3.4.2/doc'
make[2]: Entering directory `/home/yysq/fcitx-3.4.2/doc'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/fcitx/doc" || mkdir -p -- "/usr/local/share/fcitx/doc"
mkdir: 无法创建目录‘/usr/local/share/fcitx’: Permission denied
make[2]: *** [install-docDATA] 错误 1
make[2]: Leaving directory `/home/yysq/fcitx-3.4.2/doc'
make[1]: *** [install-am] 错误 2
make[1]: Leaving directory `/home/yysq/fcitx-3.4.2/doc'
make: *** [install-recursive] 错误 1
yysq@yysq-desktop:~/fcitx-3.4.2$
不知道是什么错误。。。
PS:执行sudo apt-get install build-essential 以后提示如下:
yysq@yysq-desktop:~$ sudo apt-get install build-essential
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
Reading state information... 完成
build-essential 已经是最新的版本了。
共升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 110 个软件未被升级。
yysq@yysq-desktop:~$
- BigSnake.NET
- 帖子: 12522
- 注册时间: 2006-07-02 11:16
- 来自: 廣州
- 联系:
- yysq009
- 帖子: 2682
- 注册时间: 2007-01-28 23:00
- 来自: @江西|南昌@
- 联系:
- yysq009
- 帖子: 2682
- 注册时间: 2007-01-28 23:00
- 来自: @江西|南昌@
- 联系:
- dogfox
- 论坛版主
- 帖子: 5311
- 注册时间: 2006-09-02 14:18
- 来自: 汉桑城
- 联系:
莫名其妙yysq009 写了:我按照2楼的方法 更新后 ./configure 和make都成功了 但是MAKE INSTALL的时候却提示错误。代码如下:
yysq@yysq-desktop:~/fcitx-3.4.2$ make install
Making install in doc
make[1]: Entering directory `/home/yysq/fcitx-3.4.2/doc'
make[2]: Entering directory `/home/yysq/fcitx-3.4.2/doc'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/fcitx/doc" || mkdir -p -- "/usr/local/share/fcitx/doc"
mkdir: 无法创建目录‘/usr/local/share/fcitx’: Permission denied
make[2]: *** [install-docDATA] 错误 1
make[2]: Leaving directory `/home/yysq/fcitx-3.4.2/doc'
make[1]: *** [install-am] 错误 2
make[1]: Leaving directory `/home/yysq/fcitx-3.4.2/doc'
make: *** [install-recursive] 错误 1
yysq@yysq-desktop:~/fcitx-3.4.2$
不知道是什么错误。。。
PS:执行sudo apt-get install build-essential 以后提示如下:
yysq@yysq-desktop:~$ sudo apt-get install build-essential
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
Reading state information... 完成
build-essential 已经是最新的版本了。
共升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 110 个软件未被升级。
yysq@yysq-desktop:~$
毋需make
全世界linux爱好者联合起来 !
- yysq009
- 帖子: 2682
- 注册时间: 2007-01-28 23:00
- 来自: @江西|南昌@
- 联系: