LinuxSir.cn,穿越时空的Linuxsir!

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

scin-pinyin 问题

[复制链接]
发表于 2007-5-18 21:00:55 | 显示全部楼层 |阅读模式
2007.0 i686 机器上安装
scim-pinyin 不成功。总是提示找不到scim.h。build.log太大了,不方便贴到这里。emerge --info 如下:

Portage 2.1.2.2 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r2, 2.6.20-gentoo-r7 i686)
=================================================================
System uname: 2.6.20-gentoo-r7 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 18 May 2007 02:00:01 +0000
ccache version 2.4 [enabled]
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="en_US.UTF-8"
LINGUAS="en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa arts berkdb bitmap-fonts cairo cdr cjk cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv isdnlog jpeg kerberos ldap libg++ mad midi mikmod mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdf perl png ppds pppd python quicktime readline reflection sdl session spell spl ssl svg symlink tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xml xorg xv zlib"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol"
ELIBC="glibc"
INPUT_DEVICES="keyboard mouse evdev"
KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LINGUAS="en_US"
USERLAND="GNU"
VIDEO_CARDS="i810 mga s3virge savage sis tdfx trident via mach64 none r128 radeon vesa apm ark chips cirrus cyrix dummy fbdev glint i128 i740 imstt neomagic nsc rendition s3 siliconmotion sisusb tga tseng v4l vga vmware voodoo"

Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
发表于 2007-5-18 21:07:13 | 显示全部楼层
不用build.log,屏幕上最后那大概十来行信息就够了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-5-18 21:28:26 | 显示全部楼层
Post by zhllg
不用build.log,屏幕上最后那大概十来行信息就够了


谢谢版主!build.log的后几行如下:

scim_pinyin_imengine.cpp:2659: error: 'class NativeLookupTable' has no member named 'number_of_candidates'
scim_pinyin_imengine.cpp:2661: error: 'class NativeLookupTable' has no member named 'get_current_page_start'
scim_pinyin_imengine.cpp:2663: error: 'WideString' was not declared in this scope
scim_pinyin_imengine.cpp:2663: error: expected `;' before 'str'
scim_pinyin_imengine.cpp:2664: error: 'str' was not declared in this scope
scim_pinyin_imengine.cpp:2665: error: 'commit_string' was not declared in this scope
scim_pinyin_imengine.cpp: In member function 'bool PinyinInstance::is_special_mode() const':
scim_pinyin_imengine.cpp:2677: error: 'm_inputed_string' was not declared in this scope
scim_pinyin_imengine.cpp:2678: error: 'm_converted_string' was not declared in this scope
scim_pinyin_imengine.cpp: At global scope:
scim_pinyin_imengine.cpp:2684: error: expected ',' or '...' before '&' token
scim_pinyin_imengine.cpp:2684: error: ISO C++ forbids declaration of 'ConfigPointer' with no type
make[2]: *** [pinyin_la-scim_pinyin_imengine.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-i18n/scim-pinyin-0.5.91-r1/work/scim-pinyin-0.5.91/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-i18n/scim-pinyin-0.5.91-r1/work/scim-pinyin-0.5.91'
make: *** [all] Error 2

!!! ERROR: app-i18n/scim-pinyin-0.5.91-r1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4181:   Called src_compile
  scim-pinyin-0.5.91-r1.ebuild, line 45:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
回复 支持 反对

使用道具 举报

发表于 2007-5-18 23:16:04 | 显示全部楼层
没见过这个错误
你的scim是什么版本?
我的
$ eix -e scim-pinyin
app-i18n/scim-pinyin
     Available versions:  0.5.91 0.5.91-r1 {debug kde nls}
     Installed versions:  0.5.91-r1(04:08:53 AM 10/27/2006)(-kde nls)
$ eix -e scim
app-i18n/scim
     Available versions:  1.4.5-r1 (~)1.4.6 {doc gtk kde qt3}
     Installed versions:  1.4.6(03:08:50 PM 04/25/2007)(-doc gtk kde qt3)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-5-18 23:52:50 | 显示全部楼层
我的:

eix -e scim-pinyin
app-i18n/scim-pinyin
     Available versions:  0.5.91 0.5.91-r1
     Installed versions:  0.5.91(07:40:21 AM 04/26/2007)(arts -debug)
     Homepage:            http://www.scim-im.org/
     Description:         Smart Common Input Method (SCIM) Smart Pinyin Input Method

eix -e scim
app-i18n/scim
     Available versions:  1.4.5-r1 ~1.4.6
     Installed versions:  1.4.5-r1(04:33:14 PM 05/18/2007)(-doc gtk -kde -qt3)
     Homepage:            http://www.scim-im.org/
     Description:         Smart Common Input Method (SCIM) is an Input Method (IM) development platform
回复 支持 反对

使用道具 举报

发表于 2007-5-19 00:34:55 | 显示全部楼层
升级  scim,然后再试试。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-5-19 00:37:34 | 显示全部楼层
Post by 晨想
升级  scim,然后再试试。

升级到 ~x86。问题依旧。

#eix -e scim-pinyin
app-i18n/scim-pinyin
     Available versions:  0.5.91 0.5.91-r1
     Installed versions:  0.5.91(07:40:21 AM 04/26/2007)(arts -debug)
     Homepage:            http://www.scim-im.org/
     Description:         Smart Common Input Method (SCIM) Smart Pinyin Input Method

# eix -e scim
[D] app-i18n/scim
     Available versions:  1.4.5-r1 ~1.4.6
     Installed versions:  1.4.6(12:38:51 AM 05/19/2007)(-doc gtk -kde -qt3)
     Homepage:            http://www.scim-im.org/
     Description:         Smart Common Input Method (SCIM) is an Input Method (IM) development platform
回复 支持 反对

使用道具 举报

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

本版积分规则

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