superhxl 发表于 2013-5-27 13:45:08

2.6.2

系统是2.6.2,为了采用gvim进行python程序调试,安装了pyclewn,结果启动时出错。

$ pyclewn
gdbCRITICAL response to "show version":
***START***
~"GNU gdb Fedora (6.8-31mgc25)\n"
~"Copyright (C) 2008 Free Software Foundation, Inc.\n"
~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\n"
~"This is free software: you are free to change and redistribute it.\n"
~"There is NO WARRANTY, to the extent permitted by law.Type \"show copying\"\n"
~"and \"show warranty\" for details.\n"
~"This GDB was configured as \"i686-magic-linux-gnu\".\n"
***END***

vimCRITICAL
Exception in pyclewn:

<class 'clewn.ClewnError'>
"cannot find the gdb version"
source line: "raise ClewnError('cannot find the gdb version')"
at /usr/lib/python2.6/site-packages/clewn/gdb.py:340

pyclewn aborting...

似乎是找不到gdb的版本信息。这个算是bug么?

sejishikong 发表于 2013-5-27 18:07:44

你得看看他的代码是怎么找version的,才好判断到底哪里出了问题。

haulm 发表于 2013-5-27 19:30:51

换成 2.6.3 吧,不可能回到 2.6.2 去找问题了,1802 个包全翻新了。
gdb
GNU gdb (GDB) Fedora (7.6-28mgc26)
发现 spec 档里没把版本信息改过来,Fedora 得改成 Magic。
页: [1]
查看完整版本: 2.6.2