QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1311|回复: 7

有问题,用的公社最新的patch包 4.20的

[复制链接]
发表于 2003-4-21 14:26:15 | 显示全部楼层 |阅读模式
以前没有汉化过,新的系统,装了后,发现进不了kde了,显示错位如下
kdeinit: kded: relocation error: /usr/lib/libXft.so.2: undefined symbol: FcInit DCOP aborting call from 'anonymous-3304' to 'kded'

启动不了kdeinit,现在gnome下面
发表于 2003-4-22 14:22:47 | 显示全部楼层
补装回Xft这个包,安装光盘上有,公社的补丁里也有
回复

使用道具 举报

发表于 2003-4-22 15:17:26 | 显示全部楼层
在我的机器上的确有问题.RH9,完全安装

以前用0406的包没问题,一切正常.
这次先用0420的rpm包安装(rpm -Uhv *rpm --force --nodeps),启动报错(其实是启动KDE报错,gnome正常).以为是rpm包的问题.安装src.rpm,自己编译安装.还是和前一次一样报错.删除/tmp目录下的所有文件和~/目录下的.fonts.cache-1文件,还是报错.fc-cache -f /usr/local/zhfonts(我的字体目录)还是不行.重起xfs不行!重起计算机后编译安装也不行!
进gnome没一点问题,而且可以看到已经发现自己安装的simsun和其它字体.但是没有粗体,斜体(中英文都没有).

[root@localhost root]# startkde
/usr/bin/startkde: line 22: [: 82%: integer expression expected
/usr/bin/startkde: line 27: [: 82%: integer expression expected
xsetroot:  unable to open display ''
xrdb: Can't open display ''
xset:  unable to open display ""
xset:  unable to open display ""
xset:  unable to open display ""
startkde: Starting up...
ksplash: cannot connect to X server
kdeinit: relocation error: /usr/lib/libXft.so.2: undefined symbol: FcPatternAddInteger
startkde: Could not start kdeinit. Check your installation.
Error: Can't open display:
Warning: connect() failed: : No such file or directory
ksmserver: cannot connect to X server
startkde: Shutting down...
Warning: connect() failed: : No such file or directory
Error: Can't contact kdeinit!
startkde: Running shutdown scripts...
startkde: Done.


switchdesk kde 以后.startx可以看到纯蓝色的桌面, 在屏幕的左上角绘制出一个没有边框和标题栏的对话框"could not start kdeinit check your installation",点"okey"后退出到终端控制台.报错如下
OS Kernel: Linux version 2.4.20-8 ([email protected]) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5))
#1 Thu Mar 13 17:54:28 EST 2003
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Mon Apr 21 20:04:51 2003
(==) Using config file: "/etc/X11/XF86Config"
Warning: font renderer for ".TTF" already registered at priority 10
Warning: font renderer for ".TTC" already registered at priority 10
/usr/bin/startkde: line 22: [: 81%: integer expression expected
/usr/bin/startkde: line 27: [: 81%: integer expression expected
Chinput Version 3.0.2 -- XIM Server
Distributed under the terms of the GNU General Public License (GPL)
Chinput Version 3.0.2 -- XIM Server
Distributed under the terms of the GNU General Public License (GPL)
Can't Open Input Method Service:
        Input Method Name :Chinput
        Tranport Address:X/
Following charsets:
0: -Sony-Fixed-Medium-R-Normal--16-120-100-100-C-80-ISO8859-1
Following charsets:
0: -Sony-Fixed-Medium-R-Normal--16-120-100-100-C-80-ISO8859-1
startkde: Starting up...
ksplash: relocation error: /usr/lib/libXft.so.2: undefined symbol: FcInit
kdeinit: relocation error: /usr/lib/libXft.so.2: undefined symbol: FcPatternAddInteger
startkde: Could not start kdeinit. Check your installation.
Chinput ................................................[OK]
Chinput ................................................[OK]
Warning: connect() failed: : No such file or directory
ksmserver: relocation error: /usr/lib/libXft.so.2: undefined symbol: FcInit
startkde: Shutting down...
Warning: connect() failed: : No such file or directory
Error: Can't contact kdeinit!
startkde: Running shutdown scripts...
startkde: Done.

waiting for X server to shut down
回复

使用道具 举报

发表于 2003-4-22 22:49:49 | 显示全部楼层
急!
回复

使用道具 举报

发表于 2003-4-22 23:09:45 | 显示全部楼层
用 http://fontconfig.org/ 官方提供的2.2.0行不行?另外公社的包是不是修改了源码?
回复

使用道具 举报

发表于 2003-4-24 00:18:22 | 显示全部楼层
make xconfig 也不行了~

2.5内核的make gconfig 才行  

为什么呀?

期待部长尽早更新公社的补丁包  

gnome下操作的。KDE已经进不去了  
我喜欢KDE呀  
回复

使用道具 举报

发表于 2003-4-24 00:32:05 | 显示全部楼层
我是完全安装呀。以前一直都可以make xconfig。自打换了这个补丁以后……

我非要用公社的!呵呵,这样部长才有动力嘛  
回复

使用道具 举报

发表于 2003-4-24 00:56:07 | 显示全部楼层
make xconfig 报错如下

[code:1]/qconf.o  -L/usr/lib/qt-3.1/lib -Wl,-rpath,/usr/lib/qt-3.1/lib -lqt-mt -ldl
/usr/lib/qt-3.1/lib/libqt-mt.so: undefined reference to `FcPatternAddInteger'
/usr/lib/qt-3.1/lib/libqt-mt.so: undefined reference to `FcPatternAddBool'
/usr/lib/libXft.so.2: undefined reference to `FcPatternGetBool'
/usr/lib/libXft.so.2: undefined reference to `FcFreeTypeCharSet'
/usr/lib/libXft.so.2: undefined reference to `FcNameUnparse'
/usr/lib/libXft.so.2: undefined reference to `FcNameConstant'
/usr/lib/libXft.so.2: undefined reference to `FcObjectSetDestroy'
/usr/lib/qt-3.1/lib/libqt-mt.so: undefined reference to `FcPatternDuplicate'
/usr/lib/qt-3.1/lib/libqt-mt.so: undefined reference to `FcCharSetHasChar'
/usr/lib/libXft.so.2: undefined reference to `FcFontList'
/usr/lib/libXft.so.2: undefined reference to `FcUtf16ToUcs4'
/usr/lib/libXft.so.2: undefined reference to `FcUtf8ToUcs4'
/usr/lib/libXft.so.2: undefined reference to `FcPatternVaBuild'
/usr/lib/libXft.so.2: undefined reference to `FcPatternGetDouble'
/usr/lib/qt-3.1/lib/libqt-mt.so: undefined reference to `FcCharSetAddChar'
/usr/lib/qt-3.1/lib/libqt-mt.so: undefined reference to `FcPatternGetString'
/usr/lib/libXft.so.2: undefined reference to `FcInit'
/usr/lib/qt-3.1/lib/libqt-mt.so: undefined reference to `FcPatternGetInteger'
/usr/lib/qt-3.1/lib/libqt-mt.so: undefined reference to `FcPatternGetCharSet'
/usr/lib/qt-3.1/lib/libqt-mt.so: undefined reference to `FcPatternCreate'
/usr/lib/qt-3.1/lib/libqt-mt.so: undefined reference to `FcPatternAddString'
/usr/lib/libXft.so.2: undefined reference to `FcPatternGet'
/usr/lib/qt-3.1/lib/libqt-mt.so: undefined reference to `FcPatternAddDouble'
/usr/lib/libXft.so.2: undefined reference to `FcConfigSubstitute'
/usr/lib/libXft.so.2: undefined reference to `FcObjectSetCreate'
/usr/lib/qt-3.1/lib/libqt-mt.so: undefined reference to `FcPatternDestroy'
/usr/lib/libXft.so.2: undefined reference to `FcCharSetCount'
/usr/lib/libXft.so.2: undefined reference to `FcNameRegisterObjectTypes'
/usr/lib/libXft.so.2: undefined reference to `FcObjectSetAdd'
/usr/lib/libXft.so.2: undefined reference to `FcPatternAdd'
/usr/lib/libXft.so.2: undefined reference to `FcStrCmpIgnoreCase'
/usr/lib/qt-3.1/lib/libqt-mt.so: undefined reference to `FcPatternAddCharSet'
/usr/lib/libXft.so.2: undefined reference to `FcConfigGetBlanks'
/usr/lib/libXft.so.2: undefined reference to `FcFreeTypeCharIndex'
/usr/lib/libXft.so.2: undefined reference to `FcNameParse'
/usr/lib/libXft.so.2: undefined reference to `FcPatternGetFTFace'
/usr/lib/libXft.so.2: undefined reference to `FcPatternGetMatrix'
/usr/lib/qt-3.1/lib/libqt-mt.so: undefined reference to `FcCharSetCreate'
/usr/lib/libXft.so.2: undefined reference to `FcPatternPrint'
/usr/lib/libXft.so.2: undefined reference to `FcFontMatch'
/usr/lib/qt-3.1/lib/libqt-mt.so: undefined reference to `FcCharSetDestroy'
/usr/lib/qt-3.1/lib/libqt-mt.so: undefined reference to `FcFontSetDestroy'
/usr/lib/libXft.so.2: undefined reference to `FcDefaultSubstitute'
collect2: ld returned 1 exit status
make[1]: *** [scripts/kconfig/qconf] Error 1
make: *** [scripts/kconfig/qconf] Error 2
[root@localhost linux-2.5.68]#
[/code:1]
[root@localhost linux-2.5.68]# rpm -qa|grep fontconfig
fontconfig-2.2.0-fans
fontconfig-devel-2.2.0-fans
fontconfig-debuginfo-2.1-1


先谢了
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-2 22:28 , Processed in 0.069224 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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