building transformiix (standalone) on linux have error
[email protected] (tbao)
| Newsgroups | gmane.comp.mozilla.devel.layout.xslt |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <[email protected]> |
Sorry for the brain-dead question,I was trying to build a standalone
XSLT on my linux box, via instructions at:
http://www.mozilla.org/projects/xslt/standalone.html
1) check out client.mk
2) creat a .mozconfig
my .mozconfig
TX_EXE=1
mk_add_options BUILD_MODULES="xpcom transformiix"
ac_add_options --enable-standalone-modules="xpcom transformiix"
ac_add_options --disable-gtktest
ac_add_options --without-jpeg
ac_add_options --without-zlib
ac_add_options --without-png
ac_add_options --without-x
3)make -f client.mk checkout
4)make -f client.mk build
I get a error:
"checking MOZ_GTK2_CFLAGS... -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking MOZ_GTK2_LIBS... -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
configure: error: --enable-application=APP is required"
I have to add
ac_add_options --enable-application=browser to my .mozconfig
to continue,then ran "make -f client.mk build", get another
error:
"nsXFormsXPathEvaluator.cpp:163: no matching function for call to `
do_QueryInterface(nsIDOMNode*&)'
../../../../dist/include/xpcom/nsCOMPtr.h:380: candidates are:
nsQueryInterface
do_QueryInterface(nsISupports*)
../../../../dist/include/xpcom/nsCOMPtr.h:387:
nsQueryInterfaceWithError do_QueryInterface(nsISupports*,
nsresult*)
nsXFormsXPathEvaluator.cpp:166: base operand of `->' is not a pointer
nsXFormsXPathEvaluator.cpp:169: `SetDOMStringToNull' undeclared (first
use this
function)
nsXFormsXPathEvaluator.cpp:176: `DOMStringIsNull' undeclared (first
use this
function)
nsXFormsXPathEvaluator.cpp:181: `kNameSpaceID_None' undeclared (first
use this
function)
nsXFormsXPathEvaluator.cpp:186: `gTxNameSpaceManager' undeclared
(first use
this function)
gmake[5]: *** [nsXFormsXPathEvaluator.o] Error 1"
Could some wise person help me?
Thanks!