I've try to build yelp on moblin2 dev env.
and I install following softwore:

-----------------
xulrunner-devel-0.0~20090518-1.1.moblin2.i586
xulrunner-0.0~20090518-1.1.moblin2.i586
xulrunner-unstable-devel-0.0~20090518-1.1.moblin2.i586
===================

I know that yelp needed xulrunner, I modified the configure to skip check
for
gecko. and make :

----------------------
make[3]: Entering directory `/root/work/yelp-2.27.1/src'
g++ -DHAVE_CONFIG_H -I. -I..  -I.. -I../src -DG_LOG_DOMAIN=\"Yelp\"
-DPREFIX=\""/usr/local"\" -DSYSCONFDIR=\""/usr/local/etc"\"
-DDATADIR=\""/usr/local/share"\" -DLIBDIR=\""/usr/local/lib"\"
-DIMAGEDIR=\""/usr/local/share/images/yelp"\"
-DSERVERDIR=\"/usr/local/libexec\" -DBINDIR=\""/usr/local/bin"\"
-DSHAREDIR=\""/usr/local/share/yelp"\" -DMOZILLA_HOME=\""\""
-DGDU_ICON_PATH=\"/usr/share/gnome-doc-utils/icons\"  -DXPCOM_GLUE
-fshort-wchar -I/usr/include/xulrunner-1.9.2a1pre/stable   -DXPCOM_GLUE
-fshort-wchar -I/usr/include/xulrunner-1.9.2a1pre/stable   -DXPCOM_GLUE
-fshort-wchar -I/usr/include/xulrunner-1.9.2a1pre/unstable
-I/usr/include/xulrunner-1.9.2a1pre/unstable/.
-I/usr/include/xulrunner-1.9.2a1pre/unstable/commandhandler
-I/usr/include/xulrunner-1.9.2a1pre/unstable/content
-I/usr/include/xulrunner-1.9.2a1pre/unstable/docshell
-I/usr/include/xulrunner-1.9.2a1pre/unstable/dom
-I/usr/include/xulrunner-1.9.2a1pre/unstable/fastfind
-I/usr/include/xulrunner-1.9.2a1pre/unstable/find
-I/usr/include/xulrunner-1.9.2a1pre/unstable/gtkembedmoz
-I/usr/include/xulrunner-1.9.2a1pre/unstable/gfx
-I/usr/include/xulrunner-1.9.2a1pre/unstable/layout
-I/usr/include/xulrunner-1.9.2a1pre/unstable/necko
-I/usr/include/xulrunner-1.9.2a1pre/unstable/pref
-I/usr/include/xulrunner-1.9.2a1pre/unstable/string
-I/usr/include/xulrunner-1.9.2a1pre/unstable/uriloader
-I/usr/include/xulrunner-1.9.2a1pre/unstable/webbrwsr
-I/usr/include/xulrunner-1.9.2a1pre/unstable/webshell
-I/usr/include/xulrunner-1.9.2a1pre/unstable/widget  -DORBIT2=1 -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gconf/2
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
-I/usr/include/gtk-unix-print-2.0 -I/usr/include/gtk-2.0
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/lib/gtk-2.0/include -I/usr/include/freetype2
-I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0
-I/usr/include/orbit-2.0 -I/usr/include/bonobo-activation-2.0
-I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libart-2.0
-I/usr/include/libxml2 -I/usr/include/startup-notification-1.0
-I/usr/include/rarian   -I/usr/include/libbeagle -I/usr/include/libxml2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DXPCOM_GLUE
-fshort-wchar -I/usr/include/xulrunner-1.9.2a1pre/stable   -DXPCOM_GLUE
-fshort-wchar -I/usr/include/xulrunner-1.9.2a1pre/stable   -DXPCOM_GLUE
-fshort-wchar -I/usr/include/xulrunner-1.9.2a1pre/unstable   -fno-rtti
-fshort-wchar -g -O2 -Wall -Wno-unused  -Wno-ctor-dtor-privacy
-Wno-non-virtual-dtor -g -O2 -MT yelp-Yelper.o -MD -MP -MF
.deps/yelp-Yelper.Tpo -c -o yelp-Yelper.o `test -f 'Yelper.cpp' || echo
'./'`Yelper.cpp
Yelper.cpp:30:25: error: gtkmozembed.h: 没有那个文件或目录
Yelper.cpp:31:34: error: gtkmozembed_internal.h: 没有那个文件或目录
Yelper.cpp:48:32: error: nsIWebBrowserPrint.h: 没有那个文件或目录
In file included from Yelper.cpp:61:
yelp-gecko-services.h:24:38: error: nsIPrintingPromptService.h: 没有那个文件或目录
yelp-gecko-services.h:25:36: error: nsIPrintProgressParams.h: 没有那个文件或目录
In file included from /usr/include/glib-2.0/glib/gtypes.h:34,
                 from /usr/include/glib-2.0/glib/galloca.h:34,
                 from /usr/include/glib-2.0/glib.h:32,
                 from yelp-debug.h:30,
                 from Yelper.cpp:60:
/usr/lib/glib-2.0/include/glibconfig.h:22: error: expected constructor,
destructor, or type conversion before ‘extern’
make[3]: *** [yelp-Yelper.o] 错误 1
make[3]: Leaving directory `/root/work/yelp-2.27.1/src'
make[2]: *** [all] 错误 2
make[2]: Leaving directory `/root/work/yelp-2.27.1/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/root/work/yelp-2.27.1'
make: *** [all] 错误 2
======================================

The problem is miss "gtkmozembed.h" ,"gtkmozembed_internal.h" and other *.h
files.
I've search in /usr/include. and all files from xulrunner*.rpm.

I'm confused that why gtkmozembed.h didn't content in moblin2 dev env ?

and I want to build yelp on moblin2 env . did anyone can help me ?

-- 
李建
msn  [email protected]
_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
https://lists.moblin.org/mailman/listinfo/dev or your user account on 
http://moblin.org once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

Reply via email to