Code Monkey home page Code Monkey logo

Comments (8)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
[deleted comment]

from chmsee.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
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 [email protected] on 26 Jul 2009 at 12:23

from chmsee.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
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

from chmsee.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
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 [email protected] on 10 Aug 2009 at 3:20

from chmsee.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
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 [email protected] on 10 Aug 2009 at 3:33

from chmsee.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
fixed in: 
http://github.com/lidaobing/chmsee/commit/c9a445c12ded12e940dde30b1c08f752738e6f
dd

Original comment by [email protected] on 14 Aug 2009 at 11:55

  • Changed state: FixCommited
  • Added labels: Milestone-1.0.7

from chmsee.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
Issue 10 has been merged into this issue.

Original comment by [email protected] on 14 Aug 2009 at 11:56

from chmsee.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024

Original comment by [email protected] on 14 Sep 2009 at 2:43

  • Changed state: Fixed

from chmsee.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.