Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
scim安装问题
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
boxid
n00b
n00b


Joined: 11 Mar 2007
Posts: 4

PostPosted: Sun Mar 11, 2007 10:15 pm    Post subject: scim安装问题 Reply with quote

emerge scim时 scim-qtimm这项过不去 错误如下

!!! ERROR: app-i18n/scim-qtimm-0.9.4 failed.
Call stack:
ebuild.sh, line 1630: Called dyn_setup
ebuild.sh, line 702: Called qa_call 'pkg_setup'
ebuild.sh, line 38: Called pkg_setup
scim-qtimm-0.9.4.ebuild, line 31: Called die

!!! You need to rebuild >=x11-libs/qt-3.3.4 with immqt-bc(recommended) or immqt USE flag enabled.
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/app-i18n/scim-qtimm-0.9.4/temp/build.log'.

但是我现在是qt-4.2.2 我试了 USE="immqt-bc" emerge x11-libs/qt-3.3.4 也不行
Back to top
View user's profile Send private message
big
n00b
n00b


Joined: 18 Jan 2007
Posts: 69

PostPosted: Mon Mar 12, 2007 2:06 am    Post subject: Reply with quote

一般机器上都会安装两个版本的qt库,3.0和4.0的。我机器上装的就是qt-3.3.6和4.2.2.你如果现在要重新装的话,可以在/etc/make.profile/package.mask中将qt4.0的库mask掉,可以添加:
Code:

>=x11-libs/qt-3.3.8

那么执行再安装qt时候会安装3.3.6版本,记得加入加入immqt-bc.
Code:
echo "=x11-libs/qt-3* immqt-bc" >> /etc/portage/package.use

_________________
be big,no bug
Back to top
View user's profile Send private message
boxid
n00b
n00b


Joined: 11 Mar 2007
Posts: 4

PostPosted: Mon Mar 12, 2007 12:22 pm    Post subject: Reply with quote

问题是 还是不行 现在的错误是 no error message。。。

!!! ERROR: x11-libs/qt-3.3.6-r4 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 3310: Called src_compile
qt-3.3.6-r4.ebuild, line 204: Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/x11-libs/qt-3.3.6-r4/temp/build.log'.
Back to top
View user's profile Send private message
big
n00b
n00b


Joined: 18 Jan 2007
Posts: 69

PostPosted: Tue Mar 13, 2007 1:07 am    Post subject: Reply with quote

把/var/tmp/portage/x11-libs/qt-3.3.6-r4/temp/build.log出错的地方贴上来看看。
_________________
be big,no bug
Back to top
View user's profile Send private message
boxid
n00b
n00b


Joined: 11 Mar 2007
Posts: 4

PostPosted: Tue Mar 13, 2007 1:19 pm    Post subject: Reply with quote

i686-pc-linux-gnu-g++ -c -pipe -fno-exceptions -Wall -W -g -D_REENTRANT -fPIC -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_NO_DEBUG -I/var/tmp/portage/x11-libs/qt-3.3.6-r4/work/qt-x11-free-3.3.6/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I. -I../../../../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qximinputcontext_x11.o qximinputcontext_x11.cpp
In file included from qximinputcontext.h:68,
from qximinputcontext_x11.cpp:37:
../../../../include/private/qt_x11_p.h:134:41: error: X11/extensions/Xinerama.h: No such file or directory
qximinputcontext_x11.cpp:772: warning: unused parameter 'button'
make[3]: *** [.obj/release-shared-mt/qximinputcontext_x11.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-libs/qt-3.3.6-r4/work/qt-x11-free-3.3.6/plugins/src/inputmethods/xim'
make[2]: *** [sub-xim] Error 2
make[2]: Leaving directory `/var/tmp/portage/x11-libs/qt-3.3.6-r4/work/qt-x11-free-3.3.6/plugins/src/inputmethods'
make[1]: *** [sub-inputmethods] Error 2
make[1]: Leaving directory `/var/tmp/portage/x11-libs/qt-3.3.6-r4/work/qt-x11-free-3.3.6/plugins/src'
make: *** [sub-plugins] Error 2
Back to top
View user's profile Send private message
big
n00b
n00b


Joined: 18 Jan 2007
Posts: 69

PostPosted: Tue Mar 13, 2007 2:20 pm    Post subject: Reply with quote

Quote:
include/private/qt_x11_p.h:134:41: error: X11/extensions/Xinerama.h: No such file or directory

看了下,代码是:
Code:
extern "C" {
#    include <X11/extensions/Xinerama.h>
}

我的机器上有这个文件的,
Code:
cherney@localhost ~ $ ls /usr/include/X11/extensions/Xinerama.h
/usr/include/X11/extensions/Xinerama.h

没有的话安装下x11-proto/xineramaproto。
_________________
be big,no bug
Back to top
View user's profile Send private message
boxid
n00b
n00b


Joined: 11 Mar 2007
Posts: 4

PostPosted: Tue Mar 13, 2007 9:03 pm    Post subject: Reply with quote

问题己解决 谢谢
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum