Comments (21)
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 [email protected]
on 10 Aug 2012 at 12:06
from chmsee.
my system is CentOS .
Think you!
2012/8/10, [email protected] <[email protected]>:
Original comment by [email protected]
on 20 Aug 2012 at 1:05
from chmsee.
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 [email protected]
on 23 Aug 2012 at 4:37
from chmsee.
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 [email protected]
on 23 Aug 2012 at 7:34
from chmsee.
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 [email protected]
on 23 Aug 2012 at 4:49
from chmsee.
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 [email protected]
on 24 Aug 2012 at 12:30
from chmsee.
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 [email protected]
on 24 Aug 2012 at 2:41
from chmsee.
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 [email protected]
on 24 Aug 2012 at 3:23
from chmsee.
Thank you, wait a minute, I will try.
Original comment by [email protected]
on 24 Aug 2012 at 4:44
from chmsee.
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 [email protected]
on 24 Aug 2012 at 7:42
from chmsee.
Could you paste the output of following commands:
$ xulrunner-bin --version
$ ls -l components
Original comment by [email protected]
on 26 Aug 2012 at 1:58
from chmsee.
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 [email protected]
on 27 Aug 2012 at 1:33
from chmsee.
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 [email protected]
on 27 Aug 2012 at 7:45
from chmsee.
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 [email protected]
on 27 Aug 2012 at 2:13
from chmsee.
The FreeBSD installation chmsee very easy to use.
Why CentOS always have problems.
Original comment by [email protected]
on 27 Aug 2012 at 2:28
from chmsee.
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 [email protected]
on 27 Aug 2012 at 2:39
from chmsee.
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 [email protected]
on 28 Aug 2012 at 12:07
from chmsee.
How to rewrite Makefile?
Original comment by [email protected]
on 28 Aug 2012 at 12:09
from chmsee.
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 [email protected]
on 28 Aug 2012 at 3:16
from chmsee.
Clear all pre-2.0 issues
Original comment by [email protected]
on 18 Jan 2013 at 6:10
- Changed state: Done
from chmsee.
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 [email protected]
on 8 Aug 2013 at 1:23
from chmsee.
Related Issues (20)
- Next and Previous buttons on the Find toolbar are confused HOT 5
- error launching chmsee on fedora 16 LXDE HOT 4
- 编译失败问题 HOT 3
- xulrunner 10.0 isn't supported HOT 1
- font setting does not work HOT 1
- not comaptible with xulrunner-12 HOT 2
- Typo HOT 1
- chmsee not working with xulrunner-13 HOT 2
- not seperated xul installed HOT 2
- fedora 17 x86_64 系统编译失败 HOT 17
- released chmsee not compatible with xulrunner-14 HOT 4
- CentOS6.3 x86_64编译成功,make error! HOT 3
- Can not display picture when using chmsee v1.3.0 HOT 3
- chmsee does not resolve relative path from command line parameters HOT 3
- chmsee does not resolve relative path from command line parameters HOT 1
- Problem changing encoding HOT 4
- problem opening chm files HOT 1
- cannot resize window HOT 2
- You may need to rebuild the chmsee XPCOM component HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chmsee.