Issue 150 in chmsee: fedora 17 x86_64 系统编译失败

30 views
Skip to first unread message

chm...@googlecode.com

unread,
Jul 23, 2012, 2:51:06 AM7/23/12
to chm...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 150 by webluoye: fedora 17 x86_64 系统编译失败
http://code.google.com/p/chmsee/issues/detail?id=150

$ cmake ../chmsee-1.3.1.1
-- checking for one of the
modules 'mozilla-gtkmozembed-embedding>=1.9;xulrunner-gtkmozembed>=1.9'
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:363 (message):
None of the required
'mozilla-gtkmozembed-embedding>=1.9;xulrunner-gtkmozembed>=1.9' found
Call Stack (most recent call first):
CMakeLists.txt:11 (pkg_search_module)


-- Configuring incomplete, errors occurred!
已经安装xulrunner 版本是:xulrunner-devel-14.0.1-3.fc17(64位)
xulrunner-14.0.1-3.fc17(64位) 这个也已经安装了

请教下这个是什么问题?谢谢!

chm...@googlecode.com

unread,
Jul 23, 2012, 2:55:37 AM7/23/12
to chm...@googlegroups.com

Comment #1 on issue 150 by jungl...@gmail.com: fedora 17 x86_64 系统编译失败
http://code.google.com/p/chmsee/issues/detail?id=150

chmsee-1.3.1.1 和 xulrunner 14 不兼容,你应使用 chmsee-1.99.12

https://github.com/jungleji/chmsee/tags

chm...@googlecode.com

unread,
Jul 23, 2012, 3:37:50 AM7/23/12
to chm...@googlegroups.com

Comment #2 on issue 150 by webluoye: fedora 17 x86_64 系统编译失败
http://code.google.com/p/chmsee/issues/detail?id=150

谢谢回答!
/usr/bin/xulrunner /usr/bin/firefox 都可以执行

16 7月 23 15:33 xulrunner -> /usr/bin/firefox
还是提示:Could not find the Mozilla runtime.

还需要作什么操作吗?

chm...@googlecode.com

unread,
Jul 23, 2012, 4:16:41 AM7/23/12
to chm...@googlegroups.com

Comment #3 on issue 150 by jungl...@gmail.com: fedora 17 x86_64 系统编译失败
http://code.google.com/p/chmsee/issues/detail?id=150

运行前需要

1. 编译 src 下 XPCOM
2. 使用 xulrunner-bin --install-app 安装程序
3. 有时需要 ln -s 链接 xulrunner 到安装后的目录

如果这三步执行都没出错,你用 ls -l 列出安装目录我看一下

chm...@googlecode.com

unread,
Jul 23, 2012, 4:30:43 AM7/23/12
to chm...@googlegroups.com

Comment #4 on issue 150 by webluoye: fedora 17 x86_64 系统编译失败
http://code.google.com/p/chmsee/issues/detail?id=150

src下就这些文件

common.mk csChmfile.o csChm.o Makefile Makefile.sample
csChm.cpp csChm.h csIChm.h Makefile.arch
csChmfile.c csChmModule.cpp csIChm.idl Makefile.debian
csChmfile.h csChmModule.o csIChm.xpt Makefile.netbsd

刚才执行的安装命令:

/usr/bin/xulrunner --install-app ~/Downloads/jungleji-chmsee-e71e904 ~/tools

/home/iceweb/tools/chmsee下的文件

-rw-rw-r--. 1 iceweb iceweb 905 7月 23 15:29 application.ini
-rw-rw-r--. 1 iceweb iceweb 139 7月 23 15:29 AUTHORS
-rw-rw-r--. 1 iceweb iceweb 110 7月 23 15:29 ChangeLog
-rwxr-xr-x. 1 iceweb iceweb 94000 7月 23 15:29 chmsee
drwxr-xr-x. 5 iceweb iceweb 4096 7月 23 15:29 chrome
-rw-rw-r--. 1 iceweb iceweb 117 7月 23 15:29 chrome.manifest
drwxr-xr-x. 2 iceweb iceweb 4096 7月 23 15:29 components
-rw-rw-r--. 1 iceweb iceweb 18002 7月 23 15:29 COPYING
drwxr-xr-x. 3 iceweb iceweb 4096 7月 23 15:29 data
drwxr-xr-x. 3 iceweb iceweb 4096 7月 23 16:11 defaults
-rw-rw-r--. 1 iceweb iceweb 2875 7月 23 15:29 HACKING
-rw-rw-r--. 1 iceweb iceweb 4324 7月 23 15:29 NEWS
-rw-rw-r--. 1 iceweb iceweb 2257 7月 23 15:29 README
drwxr-xr-x. 2 iceweb iceweb 4096 7月 23 16:11 src
lrwxrwxrwx. 1 iceweb iceweb 18 7月 23 15:37 xulrunner ->
/usr/bin/xulrunner


chm...@googlecode.com

unread,
Jul 23, 2012, 4:57:18 AM7/23/12
to chm...@googlegroups.com

Comment #5 on issue 150 by jungl...@gmail.com: fedora 17 x86_64 系统编译失败
http://code.google.com/p/chmsee/issues/detail?id=150

xulrunner 应该链接到 /usr/lib/xulrunner 目录,而不是 xulrunner 这个可执行程


chm...@googlecode.com

unread,
Jul 23, 2012, 5:09:22 AM7/23/12
to chm...@googlegroups.com

Comment #6 on issue 150 by webluoye: fedora 17 x86_64 系统编译失败
http://code.google.com/p/chmsee/issues/detail?id=150

$ whereis xulrunner
xulrunner: /bin/xulrunner /usr/bin/xulrunner
$ which xulrunner
/usr/bin/xulrunner
好像没有xulrunner的目录 就有执行文件

$ cd /usr/lib/xulrunner
bash: cd: /usr/lib/xulrunner: 没有那个文件或目录


chm...@googlecode.com

unread,
Jul 23, 2012, 7:39:23 AM7/23/12
to chm...@googlegroups.com

Comment #7 on issue 150 by webluoye: fedora 17 x86_64 系统编译失败
http://code.google.com/p/chmsee/issues/detail?id=150

ln到firefox的目录也一样的提示
ln -s /usr/lib64/firefox xulrunner


$ /usr/lib64/firefox/xulrunner/xulrunner -v
Mozilla XULRunner 14.0.1 - 20120717123646


chm...@googlecode.com

unread,
Jul 23, 2012, 7:41:42 AM7/23/12
to chm...@googlegroups.com

Comment #8 on issue 150 by webluoye: fedora 17 x86_64 系统编译失败
http://code.google.com/p/chmsee/issues/detail?id=150

ln -s /usr/lib64/firefox/xulrunner xulrunner
这样连接就可以了,谢谢!

chm...@googlecode.com

unread,
Jul 23, 2012, 7:54:54 AM7/23/12
to chm...@googlegroups.com

Comment #9 on issue 150 by webluoye: fedora 17 x86_64 系统编译失败
http://code.google.com/p/chmsee/issues/detail?id=150

打开文件:You may need to rebuild the chmsee XPCOM component

界面是红色的chmsee 2.0 好像和ubunut 下的界面不一样/

chm...@googlecode.com

unread,
Jul 23, 2012, 8:32:13 AM7/23/12
to chm...@googlegroups.com

Comment #10 on issue 150 by jungl...@gmail.com: fedora 17 x86_64 系统编译失

http://code.google.com/p/chmsee/issues/detail?id=150

你有没有在 src 目录下把 Makefile.fedora 复制为 Makefile,然后执行 make?
这会生成新的 libxpcomchm.so 到 components 目录。

红色界面是没有打开文件的空界面。


chm...@googlecode.com

unread,
Jul 23, 2012, 9:09:25 PM7/23/12
to chm...@googlegroups.com

Comment #11 on issue 150 by webluoye: fedora 17 x86_64 系统编译失败
http://code.google.com/p/chmsee/issues/detail?id=150

有改为Makefile然后执行make

现在的目录下的文件
$ pwd
/home/iceweb/tools/chmsee/components
$ ls
components.manifest fuelApplication.js libxpcomchm.so
csprotocol.js fuelApplication.manifest xpcomchm.xpt

不是很理解这“the compiled XPCOM component and its xpt defines will be
output to
chmsee/components directory.” 是说会自动在chmsee/components生成
xpcomchm.xpt 这样的文件 然后什么也不用做?



chm...@googlecode.com

unread,
Jul 23, 2012, 9:11:16 PM7/23/12
to chm...@googlegroups.com

Comment #12 on issue 150 by webluoye: fedora 17 x86_64 系统编译失败
http://code.google.com/p/chmsee/issues/detail?id=150

还想问下 yum install chmsee安装的就是这个软件么?

chm...@googlecode.com

unread,
Jul 23, 2012, 10:26:48 PM7/23/12
to chm...@googlegroups.com

Comment #13 on issue 150 by jungl...@gmail.com: fedora 17 x86_64 系统编译失

http://code.google.com/p/chmsee/issues/detail?id=150

执行 make 是为了编译 libxpcomchm.so 和 xpcomchm.xpt。
在 Makefile 里面,生成的这两个文件是直接输出到 components 目录下面,chmsee
运行的时候需要从这个目录读取。

另外,你可以试试在 /home/iceweb/tools/chmsee 这个目录执行:

$ xulrunner-bin application.ini

再打开新的 chm 文件,看是否能正确读取内容。

yum 里面 chmsee 现在版本是多少我也不清楚,这里有个链接,供你参考:

https://bugzilla.redhat.com/show_bug.cgi?id=833640


chm...@googlecode.com

unread,
Jul 23, 2012, 11:02:54 PM7/23/12
to chm...@googlegroups.com

Comment #14 on issue 150 by webluoye: fedora 17 x86_64 系统编译失败
http://code.google.com/p/chmsee/issues/detail?id=150

谢谢你了,可能是系统BUG。
现在可以打开一部分CHM文件了,
一部分还是XP那个提示,一部分提示
A script on this page may be busy, or it may have stopped responding. You
can stop the script now, or you can continue to see if the script will
complete.

Script: chrome://chmsee/content/rdfUtils.js:140

我在搜索下!3Q!

chm...@googlecode.com

unread,
Jul 24, 2012, 12:03:41 AM7/24/12
to chm...@googlegroups.com

Comment #15 on issue 150 by jungl...@gmail.com: fedora 17 x86_64 系统编译失

http://code.google.com/p/chmsee/issues/detail?id=150

如果以前系统里面装过旧版本的 chmsee,先删除 ~/.chmsee 缓存再重新打开试试。

chm...@googlecode.com

unread,
Jul 24, 2012, 1:06:31 AM7/24/12
to chm...@googlegroups.com

Comment #16 on issue 150 by webluoye: fedora 17 x86_64 系统编译失败
http://code.google.com/p/chmsee/issues/detail?id=150

这次新装的fedora 17 64位的系统,刚开始是编译chmsee-1.3.1.1 一直失败,然后下
载的chmsee-1.99.12的

Reply all
Reply to author
Forward
0 new messages