LinuxSir.cn,穿越时空的Linuxsir!

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

安装scim-pinyin的时候 提示QtCore/qglobal.h 找不到。如何将qt的include从qt3设置

[复制链接]
发表于 2009-4-4 09:44:19 | 显示全部楼层 |阅读模式
google了一下,问题处在scim在configure阶段将qt的include定位杂/usr/qt/3/include.而上面提到的qt的include的路径是 /usr/include/qt4/。并且文件确实在qt4的include中。

现在的问题是如何让scim-pinyin在configure阶段将include设置为qt4的include。
我是准备安装kde4.2所以在make.conf中添加了kde,这样scim-pinyin就需要reemerge。
于是出错了。
bugzilla上有人说要等kde developer来解决这个bug。
不过相信版上的牛人肯定有办法,呵呵。
对了,创建symbol link的方式 bugzilla中有人说也会有问题。
http://bugs.gentoo.org/247314
另外,bugzilla上提到可以添加--includedir=${KDEDIR}/include。但是这个东西添加到哪儿呢?

我的qt
x11-libs/qt
     Available versions:  
        (3)        [M]3.3.8-r4 3.3.8b-r1
        (4)        4.4.2 ~4.5.0
        {cups dbus debug doc examples firebird gif immqt immqt-bc ipv6 mysql nas nis odbc opengl postgres qt3support sqlite xinerama}
     Installed versions:  3.3.8b-r1(3)(10:51:21 AM 02/06/2009)(cups doc immqt ipv6 opengl xinerama -debug -examples -firebird -immqt-bc -mysql -nas -nis -odbc -postgres -sqlite)
                          4.4.2(4)(12:15:07 AM 04/04/2009)(dbus opengl qt3support)
     Homepage:            http://www.qtsoftware.com/
     Description:         The Qt toolkit is a comprehensive C++ application development framework

x11-libs/qt-core
     Available versions:  (4)  4.4.2 ~4.4.2-r2 ~4.5.0
        {custom-cxxflags debug doc glib iconv pch qt3support ssl}
     Installed versions:  4.4.2(4)(05:22:35 PM 03/19/2009)(qt3support ssl -custom-cxxflags -debug -doc -glib -pch)
     Homepage:            http://www.qtsoftware.com/
     Description:         The Qt toolkit is a comprehensive C++ application development framework

#qlist -I -C qt-
x11-libs/qt
x11-libs/qt
x11-libs/qt-assistant
x11-libs/qt-core
x11-libs/qt-dbus
x11-libs/qt-gui
x11-libs/qt-opengl
x11-libs/qt-qt3support
x11-libs/qt-script
x11-libs/qt-sql
x11-libs/qt-svg
x11-libs/qt-test
x11-libs/qt-webkit
x11-libs/qt-xmlpatterns



我的make.conf
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"

CHOST="i686-pc-linux-gnu"
MAKEOPTS="-j3"
SYNC="rsync://trumpetti.ip6.atm.tut.fi/gentoo-portage/"

GENTOO_MIRRORS="http://gentoo.llarian.net/"

INPUT_DEVICES="evdev keyboard mouse synaptics"
VIDEO_CARDS="intel i810"
USE = " nptl nptlonly ipv6 -fortran unicode svg hal dbus kde qt3 qt4  -kdeprefix -arts -eds -esd gnome gstreamer gtk firefox jpeg java vim-syntax bash-completion png tiff X gif alsa opengl jpeg2k xinerama kdeenablefinal acpi laptop vim-with-x nsl immqt truetype avahi mp3 win32codecs x264 xvid aac dga xv i8x0 mmx mmxext sse sse2 ssse3 xscreensaver a52 dts live quicktime sdl dvd bluetooth nsplugin -restrict-javascript wma xft emacs xinetd -apm lm_sensors pmu laptop srt branding xcomposite wifi startup-notification xfce xfce4 xscreensaver xcomposite nntp bindist libnotify xulrunner ldap nls cjk userlocales cdr"
LINGUAS= " en zh_CN zh"
CCACHE_DIR="/var/tmp/ccache"
CCACHE_SIZE="2G"
FETCHCOMMAND="/usr/bin/wget --prefer-family=IPv6 -t 5 --passive-ftp \${URI} -P \${DISTDIR}"
RESUMECOMMAND="/usr/bin/wget -c --prefer-family=IPv6 -t 5 --passive-ftp \${URI} -P \${DISTDIR}"
source /usr/local/portage/layman/make.conf
 楼主| 发表于 2009-4-5 09:53:36 | 显示全部楼层
up 一下  请大家帮忙支支招
回复 支持 反对

使用道具 举报

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

本版积分规则

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