分页: 1 / 2
安装FCITX的问题!
发表于 : 2007-01-29 14:50
由 yysq009
我下载了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.
是少了什么组件么???
发表于 : 2007-01-29 14:58
由 karron
sudo apt-get build-dep fcitx 安装编译fcitx的依赖库看看.
发表于 : 2007-01-29 15:18
由 dogfox
我是这样安装的
参考
代码: 全选
$ cd /usr/local/fcitx-fox/
ls
sudo ./fcitx.install
编译 FCITX 需要以下包:
• GCC-2.95.3 或更新
• XFree86-4.3.0/xorg 或更新(及其开发包)
发表于 : 2007-01-29 15:21
由 BigSnake.NET
发表于 : 2007-01-29 16:33
由 yysq009
我想知道最后的错误代码是什么意思?是说我少了什么组件么???
发表于 : 2007-01-29 16:37
由 BigSnake.NET
是不是沒裝gcc。。。。
发表于 : 2007-01-29 16:43
由 yysq009
应该是装了 因为我输入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安装好了。
发表于 : 2007-01-29 16:56
由 zhan
基本的编译环境没有配置好,包括一些 C/C++ 的头文件等等,这个错误一般是说编译器问题。再具体的我也不知道了 ..
要解决这个,请
sudo apt-get install build-essential
P.S. 要编译 fcitx 还需要 libxft, libpng 等等库文件。
发表于 : 2007-01-29 17:01
由 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:~$
发表于 : 2007-01-29 17:34
由 BigSnake.NET
Permission denied
要sudo哈。。。
发表于 : 2007-01-29 19:38
由 yysq009
还是不行,不过找了个FCITX的DEB包安装上了。还是DEB包好。跟装系统软件一样,舒服!~~~
想问下,因为自己装了很多其他软件,但是启动很麻烦,如何能添加进系统的菜单呢?
发表于 : 2007-01-29 21:37
由 cime63
同楼上问
发表于 : 2007-01-29 22:36
由 yysq009
有人能帮忙下么?谢谢了!~~顶了。
发表于 : 2007-01-30 1:23
由 dogfox
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
发表于 : 2007-01-30 12:25
由 yysq009
什么意思阿? 看不明白.