Closed GoogleCodeExporter closed 9 years ago
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
Original comment by jungl...@gmail.com
on 10 Aug 2012 at 12:06
my system is CentOS .
Think you!
2012/8/10, chmsee@googlecode.com <chmsee@googlecode.com>:
Original comment by wushuyi...@gmail.com
on 20 Aug 2012 at 1:05
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
(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!
Original comment by wushuyi...@gmail.com
on 23 Aug 2012 at 4:37
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.*".
Original comment by jungl...@gmail.com
on 23 Aug 2012 at 7:34
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?
Original comment by wushuyi...@gmail.com
on 23 Aug 2012 at 4:49
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.*
Original comment by jungl...@gmail.com
on 24 Aug 2012 at 12:30
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]#
Original comment by wushuyi...@gmail.com
on 24 Aug 2012 at 2:41
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
Original comment by jungl...@gmail.com
on 24 Aug 2012 at 3:23
Thank you, wait a minute, I will try.
Original comment by wushuyi...@gmail.com
on 24 Aug 2012 at 4:44
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.
Original comment by wushuyi...@gmail.com
on 24 Aug 2012 at 7:42
Could you paste the output of following commands:
$ xulrunner-bin --version
$ ls -l components
Original comment by jungl...@gmail.com
on 26 Aug 2012 at 1:58
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]$
Original comment by wushuyi...@gmail.com
on 27 Aug 2012 at 1:33
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
Original comment by jungl...@gmail.com
on 27 Aug 2012 at 7:45
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]#
Original comment by wushuyi...@gmail.com
on 27 Aug 2012 at 2:13
The FreeBSD installation chmsee very easy to use.
Why CentOS always have problems.
Original comment by wushuyi...@gmail.com
on 27 Aug 2012 at 2:28
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.
Original comment by jungl...@gmail.com
on 27 Aug 2012 at 2:39
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]#
Original comment by wushuyi...@gmail.com
on 28 Aug 2012 at 12:07
How to rewrite Makefile?
Original comment by wushuyi...@gmail.com
on 28 Aug 2012 at 12:09
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
Original comment by jungl...@gmail.com
on 28 Aug 2012 at 3:16
Clear all pre-2.0 issues
Original comment by jungl...@gmail.com
on 18 Jan 2013 at 6:10
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
Original comment by niujiami...@gmail.com
on 8 Aug 2013 at 1:23
Original issue reported on code.google.com by
wushuyi...@gmail.com
on 9 Aug 2012 at 4:04