build failure: --enable-liveconnect: nsIJVMManager.h not found

Timo Lindfors timo.lindfors at iki.fi
Wed Mar 26 16:39:49 PDT 2008


Hi,

I temporarily modified configure.ac

diff -r 2096ece1f58b configure.ac
--- a/configure.ac      Wed Mar 26 13:32:48 2008 -0400
+++ b/configure.ac      Wed Mar 26 23:36:02 2008 +0000
@@ -257,7 +257,7 @@ then
   XULRUNNER_VERSION=`pkg-config --modversion libxul`
   AC_SUBST(XULRUNNER_VERSION)
   PKG_CHECK_MODULES(XULRUNNER, \
-    nspr mozilla-js mozilla-plugin libxul-embedding >= 1.9pre)
+    nspr mozilla-js mozilla-plugin libxul-embedding-unstable >= 1.9pre)
   PKG_CHECK_MODULES(GTK, gtk+-2.0)
 else
   if test "x${enable_plugin}" = "xyes"

to workaround my earlier build problem. Afer this the build failed with

----

g++ -g -O2 \
          -DXPCOM_GLUE_USE_NSPR \
          -DXP_UNIX -DJS_THREADSAFE -DXPCOM_GLUE -fshort-wchar -I/home/lindi/l/xulrunner/include/xulrunner-2.0a1pre/stable -I/home/lindi/l/xulrunner/include/xulrunner-2.0a1pre/unstable -I/usr/include/nspr   \
          `echo -L/home/lindi/l/xulrunner/lib/xulrunner-devel-2.0a1pre/lib -lmozjs -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lxpcomglue   | sed 's%/lib\ %/sdk/lib\ %'` \
          -I/usr/include/xulrunner-sdk-2.0a1pre/oji \
          -I/usr/include/xulrunner-sdk-2.0a1pre/caps \
          -I/usr/include/xulrunner-sdk-2.0a1pre/liveconnect \
          -I/usr/include/xulrunner-sdk-2.0a1pre/necko \
          -I/usr/include/xulrunner-sdk-2.0a1pre/string \
          -I/usr/include/xulrunner-sdk-2.0a1pre/xpcom \
          -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12   -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   \
          -DPACKAGE_VERSION="\"1.6\"" \
          -fpic -fshort-wchar --shared -o IcedTeaPlugin.so IcedTeaPlugin.cc
IcedTeaPlugin.cc:507:27: error: nsIJVMManager.h: No such file or directory

---

I can not find "nsIJVMManager.h*" anywhere in xulrunner source code or
installation directory. Debian has this in old xulrunner (libxul-dev)
and also in package iceape-dev -- any idea if i should use any of
those? If yes then configure probably should check for their
existence? (Both packages are installed but the build does not try to
include them.)



best regards,
Timo Lindfors



More information about the distro-pkg-dev mailing list