h1aji / chmsee

CHM viewer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

chmsee does not work in fedora 15

GoogleCodeExporter opened this issue · comments

[MagicRabbit@localhost ~]$ chmsee -v
** Message: Main >>> load config
** Message: CS_HTML_GECKO >>> init gecko system

** (chmsee:2848): WARNING **: GECKO_UTILS >>> Couldn't find a compatible GRE!


** ERROR **: Initialize html render engine failed!
aborting...
Aborted
---------------------
[MagicRabbit@localhost ~]$ xulrunner -v
Mozilla XULRunner 5.0 - 20110622105737

----------------------

[root@localhost Downloads]# yum install xulrunner
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
updates/metalink                                         | 7.7 kB     00:00     
 * fedora: mirrors.sohu.com
 * rpmfusion-free: mirror.bjtu.edu.cn
 * rpmfusion-free-updates: mirrors.ustc.edu.cn
 * rpmfusion-nonfree: mirrors.ustc.edu.cn
 * rpmfusion-nonfree-updates: mirrors.ustc.edu.cn
 * updates: mirrors.ustc.edu.cn
ailurus                                                  | 1.3 kB     00:00     
Setting up Install Process
Package xulrunner-5.0-2.fc15.i686 already installed and latest version
Nothing to do
---------------------
[root@localhost Downloads]# yum install chmsee
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
 * fedora: mirrors.sohu.com
 * rpmfusion-free: mirror.bjtu.edu.cn
 * rpmfusion-free-updates: mirrors.ustc.edu.cn
 * rpmfusion-nonfree: mirrors.ustc.edu.cn
 * rpmfusion-nonfree-updates: mirrors.ustc.edu.cn
 * updates: mirrors.ustc.edu.cn
Setting up Install Process
Package chmsee-1.3.1.1-1.fc15.i686 already installed and latest version
Nothing to do

--------------

[root@localhost Downloads]# uname -a
Linux localhost.localdomain 2.6.38.8-32.fc15.i686.PAE #1 SMP Mon Jun 13 
19:55:27 UTC 2011 i686 i686 i386 GNU/Linux

Original issue reported on code.google.com by rabbitby...@gmail.com on 26 Jun 2011 at 11:50

You can download the source of chmsee, 
edit src/components/gecko-utils.cpp.
change
183         static const GREVersionRange greVersion = {
184                 "1.9a", PR_TRUE,
185                 "2.0.*", PR_TRUE,
186         };


To:


183         static const GREVersionRange greVersion = {
184                 //"1.9a", PR_TRUE,
185                 "2.0.*", PR_TRUE,
186                 "5.0.*", PR_TRUE
187         };

Original comment by yanjing...@gmail.com on 29 Jun 2011 at 11:13

thanks,all is ok.

but need install chmlib-devel.i686

Original comment by rabbitby...@gmail.com on 29 Jun 2011 at 2:05

Thanks!

Original comment by jungl...@gmail.com on 16 Jul 2011 at 12:29

  • Changed state: Done