Closed GoogleCodeExporter closed 8 years ago
[deleted comment]
Hello,
what's your distribution? which version?
do you have installed libnspr4-dev package?
this package should be depended by xulrunner-1.9-dev.
thanks.
Original comment by lidaob...@gmail.com
on 26 Jul 2009 at 12:23
I guess I have nspr installed (and devel version), but it still reports the
same error.
I am using CentOS 5.3 on an AMD64 platform. Do I need to update some software or
something else?
Original comment by blueflycn
on 27 Jul 2009 at 3:28
I see the same error here, building on openSUSE 11.2 (dev version).
I have mozilla-xulrunner-190-devel and mozilla-nspr4-devel installed.
The 'issue' at hand seems to be that prtypes.h is in /usr/include/nspr4, but
the c++c
line is:
/usr/bin/c++ -DXPCOM_GLUE -I/usr/src/packages/BUILD/chmsee-1.0.6/src
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2
-I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0
-I/usr/include/xulrunner-1.9.0.13/unstable -Wall -pthread -fshort-wchar -o
CMakeFiles/chmseelib.dir/gecko_utils.cpp.o -c
/usr/src/packages/BUILD/chmsee-1.0.6/src/gecko_utils.cpp
It does not include a -I/usr/include/nspr4 parameter, and as such fails to find
the
nspr4 headers.
Original comment by dominiqu...@gmail.com
on 10 Aug 2009 at 3:20
This patch solves it for me:
diff -ur chmsee-1.0.6.orig/CMakeLists.txt chmsee-1.0.6/CMakeLists.txt
--- chmsee-1.0.6.orig/CMakeLists.txt 2009-07-12 05:02:53.000000000 +0200
+++ chmsee-1.0.6/CMakeLists.txt 2009-08-10 17:30:53.000000000 +0200
@@ -2,7 +2,7 @@
cmake_minimum_required(VERSION 2.6.2 FATAL_ERROR)
set(PACKAGE_VERSION "1.0.6" )
find_package(PkgConfig)
-pkg_check_modules (CHMSEE REQUIRED gthread-2.0 glib-2.0 libxml-2.0 gtk+-2.0
libglade-2.0 libxul-embedding-unstable>=1.9
libxul-embedding-unstable<=1.9.0.999)
+pkg_check_modules (CHMSEE REQUIRED gthread-2.0 glib-2.0 libxml-2.0 gtk+-2.0
libglade-2.0 nspr libxul-embedding-unstable>=1.9
libxul-embedding-unstable<=1.9.0.999)
set(CHMSEE_BOOKMARK_FILE "chmsee_bookmarks")
set(CHMSEE_BOOKINFO_FILE "chmsee_bookinfo")
Original comment by dominiqu...@gmail.com
on 10 Aug 2009 at 3:33
fixed in:
http://github.com/lidaobing/chmsee/commit/c9a445c12ded12e940dde30b1c08f752738e6f
dd
Original comment by lidaob...@gmail.com
on 14 Aug 2009 at 11:55
Issue 10 has been merged into this issue.
Original comment by lidaob...@gmail.com
on 14 Aug 2009 at 11:56
Original comment by lidaob...@gmail.com
on 14 Sep 2009 at 2:43
Original issue reported on code.google.com by
blueflycn
on 24 Jul 2009 at 7:23