Issue 152 in chmsee: what is this??

56 views
Skip to first unread message

chm...@googlecode.com

unread,
Aug 9, 2012, 12:04:55 PM8/9/12
to chm...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 152 by wushuyi...@gmail.com: what is this??
http://code.google.com/p/chmsee/issues/detail?id=152

[root@localhost build]# cmake ../chmsee-1.3.1.1/
-- The C compiler identification is GNU 4.4.6
-- The CXX compiler identification is GNU 4.4.6
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.23")
-- checking for
modules 'gthread-2.0>=2.22;glib-2.0>=2.22;libxml-2.0;gtk+-2.0>=2.18;nspr'
-- package 'libxml-2.0' not found
-- package 'nspr' not found
CMake Error at /usr/local/share/cmake-2.8/Modules/FindPkgConfig.cmake:275
(message):
A required package was not found
Call Stack (most recent call first):
/usr/local/share/cmake-2.8/Modules/FindPkgConfig.cmake:329
(_pkg_check_modules_internal)
CMakeLists.txt:10 (pkg_check_modules)


-- checking for one of the
modules 'mozilla-gtkmozembed-embedding>=1.9;xulrunner-gtkmozembed>=1.9'
CMake Error at /usr/local/share/cmake-2.8/Modules/FindPkgConfig.cmake:359
(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!


chm...@googlecode.com

unread,
Aug 9, 2012, 8:06:21 PM8/9/12
to chm...@googlegroups.com

Comment #1 on issue 152 by jungl...@gmail.com: what is this??
http://code.google.com/p/chmsee/issues/detail?id=152

CMake checking the build environment, found two packages are needed to
install on your system:

-- package 'libxml-2.0' not found
-- package 'nspr' not found

If your system is ubuntu/debian like, these package are libxm2l-dev and
libnspr4-dev

chm...@googlecode.com

unread,
Aug 19, 2012, 9:05:55 PM8/19/12
to chm...@googlegroups.com

Comment #2 on issue 152 by wushuyi...@gmail.com: what is this??
http://code.google.com/p/chmsee/issues/detail?id=152

my system is CentOS .
Think you!

2012/8/10, chm...@googlecode.com <chm...@googlecode.com>:

chm...@googlecode.com

unread,
Aug 23, 2012, 12:37:30 AM8/23/12
to chm...@googlegroups.com

Comment #3 on issue 152 by wushuyi...@gmail.com: what is this??
http://code.google.com/p/chmsee/issues/detail?id=152

I need help. How to solve this problem? Thank you.

-- The C compiler identification is GNU 4.4.6
-- The CXX compiler identification is GNU 4.4.6
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.23")
-- checking for modules
'gthread-2.0>=2.22;glib-2.0>=2.22;libxml-2.0;gtk+-2.0>=2.18;nspr'
-- found gthread-2.0, version 2.22.5
-- found glib-2.0, version 2.22.5
-- found libxml-2.0, version 2.7.6
-- found gtk+-2.0, version 2.18.9
-- found nspr, version 4.9.0
-- checking for one of the modules
'mozilla-gtkmozembed-embedding>=1.9;xulrunner-gtkmozembed>=1.9'
CMake Error at /usr/local/share/cmake-2.8/Modules/FindPkgConfig.cmake:363

chm...@googlecode.com

unread,
Aug 23, 2012, 3:34:45 AM8/23/12
to chm...@googlegroups.com

Comment #4 on issue 152 by jungl...@gmail.com: what is this??
http://code.google.com/p/chmsee/issues/detail?id=152

You need "xulrunner-gtkmozembed" package to be installed.

On centos, and for chmsee 1.3.1, this package's name
is "libxulrunner1.9.2*" or "libxulrunner-devel-1.9.2.*".

chm...@googlecode.com

unread,
Aug 23, 2012, 12:49:31 PM8/23/12
to chm...@googlegroups.com

Comment #5 on issue 152 by wushuyi...@gmail.com: what is this??
http://code.google.com/p/chmsee/issues/detail?id=152

I can not find "libxulrunner1.9.2*" or "libxulrunner-devel-1.9.2.*"
for CentOS or RedHat.
But to find the for Mandriva rpm packages.

I also can not find "xulrunner-gtkmozembed" package

How do I want to do?

chm...@googlecode.com

unread,
Aug 23, 2012, 8:30:43 PM8/23/12
to chm...@googlegroups.com

Comment #6 on issue 152 by jungl...@gmail.com: what is this??
http://code.google.com/p/chmsee/issues/detail?id=152

I didn't have a centos box at hand, after searching with rpmfind.net:

http://rpmfind.net/linux/rpm2html/search.php?query=xul&submit=Search+...&system=centos&arch=

These package name should be:

xulrunner-devel-1.9.2.*


chm...@googlecode.com

unread,
Aug 23, 2012, 10:41:10 PM8/23/12
to chm...@googlegroups.com

Comment #7 on issue 152 by wushuyi...@gmail.com: what is this??
http://code.google.com/p/chmsee/issues/detail?id=152

I have installed xulrunner-devel,But still error.
Is the wrong xulrunner-devel version?
I need help.


[root@localhost build]# cmake ../chmsee-1.3.1.1/
-- The C compiler identification is GNU 4.4.6
-- The CXX compiler identification is GNU 4.4.6
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.23")
-- checking for modules
'gthread-2.0>=2.22;glib-2.0>=2.22;libxml-2.0;gtk+-2.0>=2.18;nspr'
-- found gthread-2.0, version 2.22.5
-- found glib-2.0, version 2.22.5
-- found libxml-2.0, version 2.7.6
-- found gtk+-2.0, version 2.18.9
-- found nspr, version 4.9.0
-- checking for one of the modules
'mozilla-gtkmozembed-embedding>=1.9;xulrunner-gtkmozembed>=1.9'
CMake Error at /usr/local/share/cmake-2.8/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!
[root@localhost build]# rpm -q xulrunner-devel
xulrunner-devel-10.0.6-1.el6.centos.x86_64
[root@localhost build]#

chm...@googlecode.com

unread,
Aug 23, 2012, 11:23:17 PM8/23/12
to chm...@googlegroups.com

Comment #8 on issue 152 by jungl...@gmail.com: what is this??
http://code.google.com/p/chmsee/issues/detail?id=152

Your system's xulrunner-devel version is 10.0.6, it's not compatible with
chmsee 1.3.1.

If you want to compile chmsee 1.3.1, you must install xulruner 1.9.2.

But I recommend to download chmsee 1.99.08 which works under xulrunner 10.0
from:

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

chm...@googlecode.com

unread,
Aug 24, 2012, 12:44:41 AM8/24/12
to chm...@googlegroups.com

Comment #9 on issue 152 by wushuyi...@gmail.com: what is this??
http://code.google.com/p/chmsee/issues/detail?id=152

Thank you, wait a minute, I will try.

chm...@googlecode.com

unread,
Aug 24, 2012, 3:43:07 AM8/24/12
to chm...@googlegroups.com

Comment #10 on issue 152 by wushuyi...@gmail.com: what is this??
http://code.google.com/p/chmsee/issues/detail?id=152

Hello, I tried jungleji-chmsee-v1.99.08 but still have a problem.
When I open chm file error.

Error:

Open book failed!
You may need to rebuild the chmsee XPCOM component.

chm...@googlecode.com

unread,
Aug 25, 2012, 9:58:52 PM8/25/12
to chm...@googlegroups.com

Comment #11 on issue 152 by jungl...@gmail.com: what is this??
http://code.google.com/p/chmsee/issues/detail?id=152

Could you paste the output of following commands:

$ xulrunner-bin --version

$ ls -l components


chm...@googlecode.com

unread,
Aug 26, 2012, 9:33:45 PM8/26/12
to chm...@googlegroups.com

Comment #12 on issue 152 by wushuyi...@gmail.com: what is this??
http://code.google.com/p/chmsee/issues/detail?id=152

I think the problem is that I do not have to compile libxpcomchm.so
I can not find xulrunner-sdk2.0

[wushuyi@CentOS jungleji-chmsee-422e522]$ xulrunner -v
Mozilla XULRunner 10.0.6 - 20120717203344
[wushuyi@CentOS jungleji-chmsee-422e522]$ ls -lh components/
total 52K
-rw-rw-r--. 1 wushuyi wushuyi 212 Feb 19 2012 components.manifest
-rw-rw-r--. 1 wushuyi wushuyi 3.6K Feb 19 2012 csprotocol.js
-rw-rw-r--. 1 wushuyi wushuyi 38K Feb 19 2012 fuelApplication.js
-rw-rw-r--. 1 wushuyi wushuyi 239 Feb 19 2012 fuelApplication.manifest
[wushuyi@CentOS jungleji-chmsee-422e522]$


chm...@googlecode.com

unread,
Aug 27, 2012, 3:46:09 AM8/27/12
to chm...@googlegroups.com

Comment #13 on issue 152 by jungl...@gmail.com: what is this??
http://code.google.com/p/chmsee/issues/detail?id=152

Yes, you need to build libxpcomchm.so first.
There is a fedora version makefile in src directory, you can rename it to
Makefile and use make to compile.

$ cd src
$ cp Makefile.fedora Makefile
$ make

chm...@googlecode.com

unread,
Aug 27, 2012, 10:13:17 AM8/27/12
to chm...@googlegroups.com

Comment #14 on issue 152 by wushuyi...@gmail.com: what is this??
http://code.google.com/p/chmsee/issues/detail?id=152

I know that, but make has a problem.
Xulrunner-sdk2.0 not installed
I can not find the xulrunner-sdk2.0 package

make error:

[root@CentOS src]# cat Makefile
## -*- Mode: makefile -*-
LIBXUL_SDK := $(shell pkg-config --variable=sdkdir libxul)

NSPR_INCLUDES = -I/usr/include/nspr4
NSPR_LIBS = -lplds4 -lplc4 -lnspr4 -lpthread -ldl

CHMLIB_INCLUDES = -I/usr/include
CHMLIB_LIBS = -lchm

include ./common.mk
[root@CentOS src]# make
python2 /sdk/bin/header.py -o csIChm.h -I /idl --cachedir=. csIChm.idl
python2: can't open file '/sdk/bin/header.py': [Errno 2] No such file
or directory
make: *** [../components/xpcomchm.xpt] Error 2
[root@CentOS src]#

chm...@googlecode.com

unread,
Aug 27, 2012, 10:28:24 AM8/27/12
to chm...@googlegroups.com

Comment #15 on issue 152 by wushuyi...@gmail.com: what is this??
http://code.google.com/p/chmsee/issues/detail?id=152

The FreeBSD installation chmsee very easy to use.
Why CentOS always have problems.

chm...@googlecode.com

unread,
Aug 27, 2012, 10:39:45 AM8/27/12
to chm...@googlegroups.com

Comment #16 on issue 152 by jungl...@gmail.com: what is this??
http://code.google.com/p/chmsee/issues/detail?id=152

In this Makefile, xulrunner sdk is found out by `pkg-confg`.

I guess the problem is the pkg name on centos that is different than
libxul. So, you should check following command:

$ pkg-config --list-all | grep xul

and replace "libxul" with the right one for LIBXUL_SDK variable.


chm...@googlecode.com

unread,
Aug 28, 2012, 8:07:32 AM8/28/12
to chm...@googlegroups.com

Comment #17 on issue 152 by wushuyi...@gmail.com: what is this??
http://code.google.com/p/chmsee/issues/detail?id=152

How do I want to do?

[root@CentOS sysconfig]# pkg-config --list-all | grep xul
libxul-embedding-unstable libxul-embedding - Static library for
version-independent embedding of the Mozilla runtime
libxul-embedding libxul-embedding - Static library for
version-independent embedding of the Mozilla runtime
libxul libxul - The Mozilla Runtime and Embedding
Engine
libxul-unstable libxul - The Mozilla Runtime and Embedding
Engine
[root@CentOS sysconfig]#

chm...@googlecode.com

unread,
Aug 28, 2012, 8:10:04 AM8/28/12
to chm...@googlegroups.com

Comment #18 on issue 152 by wushuyi...@gmail.com: what is this??
http://code.google.com/p/chmsee/issues/detail?id=152

How to rewrite Makefile?

chm...@googlecode.com

unread,
Aug 28, 2012, 11:16:09 AM8/28/12
to chm...@googlegroups.com

Comment #19 on issue 152 by jungl...@gmail.com: what is this??
http://code.google.com/p/chmsee/issues/detail?id=152

The LIBXUL_SDK in Makefile is used to locate the xulrunner-sdk installation
directory.
You can try the pkg-config command on command line:

$ pkg-config --variable=sdkdir libxul

If above command output empty, you should find out the correct directory by
hand.
For example:

$ which xulrunner-bin | xargs ls -l

If it shows /usr/bin/xulrunner-bin link to
/usr/lib/xulrunner/bin/xulrunner-bin, the xulrunner-sdk is installed
to "/usr/lib/xulrunner", so replace the LIBXUL_SDK line with:

LIBXUL_SDK=/usr/lib/xulrunner



chm...@googlecode.com

unread,
Aug 7, 2013, 9:23:19 PM8/7/13
to chm...@googlegroups.com

Comment #21 on issue 152 by niujiami...@gmail.com: what is this??
http://code.google.com/p/chmsee/issues/detail?id=152

I meet an problem about:

I have exec make in the src dir, then i run "xulrunner application.ini"

wen i open an chm file, it show the problem:

Open book failed!
You may need to rebuild the chmsee XPCOM component

my environment is: centos 6.4

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages