LinuxSir.cn,穿越时空的Linuxsir!

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

[已解决]fcitx3.6-svn安装出错,帮忙看下什么原因

[复制链接]
发表于 2009-8-21 00:10:23 | 显示全部楼层 |阅读模式
[danny@Apple ~]$ yaourt fcitx
1 extra/fcitx 3.5.070703-2 [installed]
     Free Chinese Input Toy of X - Input Method Server for X window system (XIM)
2 aur/fcitx-dbus-svn 208-3 (3)
    fcitx with pyPhrase.org from ibus, perfect as a PinYin IM
3 aur/fcitx-src 20071121-1 (Out of Date) (4)
    Free Chinese Input Toy of X - nightly (may be the latest SVN) version
4 aur/fcitx-svn 192-1 (35)
    Free Chinese Input Toy of X - Input Method Server for X window system (XIM)
5 aur/fcitx-svn-ibus 200-1 (10)
    fcitx with pyPhrase.org from ibus, perfect as a PinYin IM
6 aur/scim-fcitx 3.1.1-1 (3)
    fcitx input on scim
==>  Enter n° (separated by blanks, or a range) of packages to be installed
==>   ----------------------------------------------
==>4
==> Resuming previous build

==> Downloading fcitx-svn PKGBUILD from AUR...
==> Last 5 comments ordered by date (asc):

Comment by: hubert_star on Wed, 11 Mar 2009 08:09:50 +0000
帮忙把这个补丁打上:
http://www.linuxsir.cn/bbs/thread346269.html
修正了OOo掉字的现象
另外可以把我做的词库给加上,嘿嘿,我自己的包就是这么干的
http://www.linuxsir.cn/bbs/thread345977.html

Comment by: jxy on Wed, 11 Mar 2009 22:47:03 +0000
一、請補上 md5sum。
二、fix-ooo-lost-chars.patch 是錯誤的,請刪除。該補丁會導致 fcitx 在 xterm/rxvt/... 之類依賴 xlib 的 xinput 支持的程式不能輸入或“掉字”。
三、不應該默認安裝第三方插件。

Comment by: hubert_star on Mon, 18 May 2009 08:52:20 +0000
http://www.linuxsir.cn/bbs/thread350798.html
新的fcitx修正补丁,在xterm里面没有问题

Comment by: hubert_star on Tue, 19 May 2009 03:20:55 +0000
http://www.linuxsir.cn/bbs/threa ... 新的svn里面了
直接更新即可
OOo掉字的问题算是已经OK了

Comment by: jarryson on Fri, 12 Jun 2009 09:32:42 +0000
因为svn版本的始终存在无法保存自造词的问题,所以我一直都在用070703版本的。打上各种补丁后觉得非常好了

       
      First Submitted: Sat, 18 Oct 2008 20:03:48 +0000       
fcitx-svn 192-1 : Free Chinese Input Toy of X - Input Method Server for X window system (XIM)
( Unsupported package: Potentally dangerous ! )
==>  Edit the PKGBUILD (highly recommended for security reasons) ? [Y/n]("A" to abort)
==>   ----------------------------------------------
==>n


==> fcitx-svn dependencies:
- libxft (already installed)
- libxpm (already installed)
- subversion (already installed)
- python (already installed)
==>  Continue the building of fcitx-svn ? [Y/n]
==>   ----------------------------------------------
==>y


==> Install or build missing dependencies for fcitx-svn:
==> Building and installing package
==>  Yaourt has detected previous fcitx-svn build. Do you want to use it (faster) ? [Y/n]
==>   ----------------------------------------------
==>n


==> fcitx-svn dependencies:
- libxft (already installed)
- libxpm (already installed)
- subversion (already installed)
- python (already installed)
==> Determining latest svn revision...
  -> Version found: 245
==> Making package: fcitx-svn 245-1 i686 (Fri Aug 21 00:09:48 CST 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
==> Getting source...
At revision 245.
==> SVN checkout done or server timeout
==> Creating make environment...
==> Starting make...
./autogen.sh: line 3: aclocal: command not found
/tmp/yaourt-tmp-danny/aur-fcitx-svn/fcitx-svn/./PKGBUILD: line 56: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
==> ERROR: Build Failed.
    Aborting...
Error: Makepkg was unable to build fcitx-svn package.

[danny@Apple ~]$
 楼主| 发表于 2009-8-21 00:28:32 | 显示全部楼层
安装了autoconf,automake包后继续


[danny@Apple ~]$ yaourt fcitx
1 extra/fcitx 3.5.070703-2 [installed]
     Free Chinese Input Toy of X - Input Method Server for X window system (XIM)
2 aur/fcitx-dbus-svn 208-3 (3)
    fcitx with pyPhrase.org from ibus, perfect as a PinYin IM
3 aur/fcitx-src 20071121-1 (Out of Date) (4)
    Free Chinese Input Toy of X - nightly (may be the latest SVN) version
4 aur/fcitx-svn 192-1 (35)
    Free Chinese Input Toy of X - Input Method Server for X window system (XIM)
5 aur/fcitx-svn-ibus 200-1 (10)
    fcitx with pyPhrase.org from ibus, perfect as a PinYin IM
6 aur/scim-fcitx 3.1.1-1 (3)
    fcitx input on scim
==>  Enter n° (separated by blanks, or a range) of packages to be installed
==>   ----------------------------------------------
==>4
==> Resuming previous build

==> Downloading fcitx-svn PKGBUILD from AUR...
==> Last 5 comments ordered by date (asc):

Comment by: hubert_star on Wed, 11 Mar 2009 08:09:50 +0000
帮忙把这个补丁打上:
http://www.linuxsir.cn/bbs/thread346269.html
修正了OOo掉字的现象
另外可以把我做的词库给加上,嘿嘿,我自己的包就是这么干的
http://www.linuxsir.cn/bbs/thread345977.html

Comment by: jxy on Wed, 11 Mar 2009 22:47:03 +0000
一、請補上 md5sum。
二、fix-ooo-lost-chars.patch 是錯誤的,請刪除。該補丁會導致 fcitx 在 xterm/rxvt/... 之類依賴 xlib 的 xinput 支持的程式不能輸入或“掉字”。
三、不應該默認安裝第三方插件。

Comment by: hubert_star on Mon, 18 May 2009 08:52:20 +0000
http://www.linuxsir.cn/bbs/thread350798.html
新的fcitx修正补丁,在xterm里面没有问题

Comment by: hubert_star on Tue, 19 May 2009 03:20:55 +0000
http://www.linuxsir.cn/bbs/threa ... 新的svn里面了
直接更新即可
OOo掉字的问题算是已经OK了

Comment by: jarryson on Fri, 12 Jun 2009 09:32:42 +0000
因为svn版本的始终存在无法保存自造词的问题,所以我一直都在用070703版本的。打上各种补丁后觉得非常好了

       
      First Submitted: Sat, 18 Oct 2008 20:03:48 +0000       
fcitx-svn 192-1 : Free Chinese Input Toy of X - Input Method Server for X window system (XIM)
( Unsupported package: Potentally dangerous ! )
==>  Edit the PKGBUILD (highly recommended for security reasons) ? [Y/n]("A" to abort)
==>   ----------------------------------------------
==>n


==> fcitx-svn dependencies:
- libxft (already installed)
- libxpm (already installed)
- subversion (already installed)
- python (already installed)
==>  Continue the building of fcitx-svn ? [Y/n]
==>   ----------------------------------------------
==>y


==> Install or build missing dependencies for fcitx-svn:
==> Building and installing package
==>  Yaourt has detected previous fcitx-svn build. Do you want to use it (faster) ? [Y/n]
==>   ----------------------------------------------
==>n


==> fcitx-svn dependencies:
- libxft (already installed)
- libxpm (already installed)
- subversion (already installed)
- python (already installed)
==> Determining latest svn revision...
  -> Version found: 245
==> Making package: fcitx-svn 245-1 i686 (Fri Aug 21 00:26:52 CST 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
==> Getting source...
At revision 245.
==> SVN checkout done or server timeout
==> Creating make environment...
==> Starting make...
configure.in:9: installing `./config.guess'
configure.in:9: installing `./config.sub'
configure.in:6: installing `./missing'
data/Makefile.am:11: `%'-style pattern rules are a GNU make extension

FCITX now prepared to build. Run:
./configure && make

Build and Install on system:
  ./configure && make install   # run as root
Build and Install on user home:
  ./configure --prefix="$HOME" && make install
Build without xft:
  ./configure --enable-xft=no && make

Build RPM Package:
  ./configure && make dist
  rpmbuild -ts fcitx-*.tar.gz   # build source package
  rpmbuild -tb fcitx-*.tar.gz   # build binary package

Build Debian Package:
  ./configure && fakeroot dpkg-buildpackage -uc -b -d

Create and test source distribution:
  ./configure && make distcheck
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking malloc/malloc.h usability... no
checking malloc/malloc.h presence... no
checking for malloc/malloc.h... no
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for unistd.h... (cached) yes
checking wait.h usability... yes
checking wait.h presence... yes
checking for wait.h... yes
checking for sys/wait.h... (cached) yes
checking machine/endian.h usability... no
checking machine/endian.h presence... no
checking for machine/endian.h... no
checking for X... libraries , headers
./configure: line 5441: syntax error near unexpected token `XFT,'
./configure: line 5441: `  PKG_CHECK_MODULES(XFT, xft >= 0.0.0, have_xft=true, '
make: *** No targets specified and no makefile found.  Stop.
==> ERROR: Build Failed.
    Aborting...
Error: Makepkg was unable to build fcitx-svn package.

[danny@Apple ~]$
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-8-21 01:01:41 | 显示全部楼层
解决了,安装base-devel后,编译很顺利,顺利安装
利用坛子上同学的PKGBUILD文件打了个包,有需要的拿去
http://www.91files.com/?JTLJABYJ7Z8QTC5S1YKY
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-8-21 01:36:59 | 显示全部楼层
奇怪,一楼二楼的帖子都自动缩水了?
回复 支持 反对

使用道具 举报

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

本版积分规则

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