fennec build problem
Hi,
I never succeeded to build Fennec because I never had the time and the will to fix it (the Mozilla build system seem complicated...), but dcordes_ on #oe On Freenode on irc really wanted fennec.
So I decided to give a try because it didn't compile for him for another reason.
Here is the build error:
| make[5]: *** No rule to make target `-lgconf-2', needed by
`libmozgnome.so'. Stop.
| make[5]: *** Waiting for unfinished jobs....
[...]
| make[5]: Leaving directory `/home/gnutoo/embedded/oe/oetmps/nokia900/work/armv7a-oe-linux-gnueabi/fennec-1_2.0+4.0b3pre-r0/mozilla-central/objdir/xulrunner/toolkit/system/gnome' | make[4]: *** [libs_tier_platform] Error 2
here's a grep for -lgconf-2:
gnutoo@gnutoo-laptop:~/embedded/oe/oetmps/nokia900/work/armv7a-oe-linux-gnueabi/fennec-1_2.0+4.0b3pre-r0/mozilla-central/objdir/xulrunner$ grep "\-lgconf-2" -r *
config/autoconf.mk:MOZ_GNOMEUI_LIBS = -pthread -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgconf-2 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0
config/autoconf.mk:MOZ_GNOMEVFS_LIBS = -pthread -lgnomevfs-2 -lgconf-2 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0
config/autoconf.mk:MOZ_GCONF_LIBS = -pthread -lgconf-2 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0
config.status:s%@MOZ_GNOMEVFS_LIBS@%-pthread -lgnomevfs-2 -lgconf-2 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0%g
config.status:s%@MOZ_GCONF_LIBS@%-pthread -lgconf-2 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0%g
config.status:s%@MOZ_GNOMEUI_LIBS@%-pthread -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgconf-2 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0%g
Note that it need a modified autoconf.inc, that I will send for review(as it's core).
Denis
As far as I know, it seems like a missing dependency, gconf2 is provided by the gconf recipe but I didn't find any immediate dependencies on gconf. Or maybe there is something wrong in the configuration step for fennec that should disable the use of gconf.
Looking at the rest of the libraries used, there might the more missing dependencies or missing disables in the configuration step of fennec.
Hope this helps,
Regards,
Jan
Quoted 56 lines
Hi,
I never succeeded to build Fennec because I never had the time and the will to fix it (the Mozilla build system seem complicated...), butdcordes_on #oe On Freenode on irc really wanted fennec.
So I decided to give a try because it didn't compile for him for another reason.Here is the build error:
| make[5]: *** No rule to make target `-lgconf-2', needed by
`libmozgnome.so'. Stop.
| make[5]: *** Waiting for unfinished jobs....
[...]
| make[5]: Leaving directory `/home/gnutoo/embedded/oe/oetmps/nokia900/work/armv7a-oe-linux-gnueabi/fennec-1_2.0+4.0b3pre-r0/mozilla-central/objdir/xulrunner/toolkit/system/gnome' | make[4]: *** [libs_tier_platform] Error 2here's a grep for -lgconf-2:
gnutoo@gnutoo-laptop:~/embedded/oe/oetmps/nokia900/work/armv7a-oe-linux-gnueabi/fennec-1_2.0+4.0b3pre-r0/mozilla-central/objdir/xulrunner$ grep "\-lgconf-2" -r *config/autoconf.mk:MOZ_GNOMEUI_LIBS = -pthread -lgnomeui-2 -lSM -lICE
(quoted diff) +0
-5-lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgconf-2 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0config/autoconf.mk:MOZ_GNOMEVFS_LIBS = -pthread -lgnomevfs-2 -lgconf-2 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0
config/autoconf.mk:MOZ_GCONF_LIBS = -pthread -lgconf-2 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0
config.status:s%@MOZ_GNOMEVFS_LIBS@%-pthread -lgnomevfs-2 -lgconf-2 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0%g
config.status:s%@MOZ_GCONF_LIBS@%-pthread -lgconf-2 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0%g
config.status:s%@MOZ_GNOMEUI_LIBS@%-pthread -lgnomeui-2 -lSM -lICE
(quoted diff) +0
-5-lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgconf-2 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0%gNote that it need a modified autoconf.inc, that I will send for review(as it's core).
Denis
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 6 lines · Jan Paesmans
As far as I know, it seems like a missing dependency, gconf2 is provided by the gconf recipe but I didn't find any immediate dependencies on gconf. Or maybe there is something wrong in the configuration step for fennec that should disable the use of gconf.
Looking at the rest of the libraries used, there might the more missing dependencies or missing disables in the configuration step of fennec.
Thinking back to679a2367acde02f76f43f446c56c1eefed4e69c0 last year, I would be unsurprised if there weren't more implicit deps in both firefox and fennec.
[snip]
Quoted 29 lines
Quoted 29 lines
here's a grep for -lgconf-2:
gnutoo@gnutoo-laptop:~/embedded/oe/oetmps/nokia900/work/armv7a-oe-linux-gnueabi/fennec-1_2.0+4.0b3pre-r0/mozilla-central/objdir/xulrunner$ grep "\-lgconf-2" -r *config/autoconf.mk:MOZ_GNOMEUI_LIBS = -pthread -lgnomeui-2 -lSM -lICE
(quoted diff) +0
-5-lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgconf-2 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0config/autoconf.mk:MOZ_GNOMEVFS_LIBS = -pthread -lgnomevfs-2 -lgconf-2 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0
config/autoconf.mk:MOZ_GCONF_LIBS = -pthread -lgconf-2 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0
config.status:s%@MOZ_GNOMEVFS_LIBS@%-pthread -lgnomevfs-2 -lgconf-2 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0%g
config.status:s%@MOZ_GCONF_LIBS@%-pthread -lgconf-2 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0%g
config.status:s%@MOZ_GNOMEUI_LIBS@%-pthread -lgnomeui-2 -lSM -lICE
(quoted diff) +0
-5-lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgconf-2 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0%g
Quoted 2 lines
Quoted 2 lines
Note that it need a modified autoconf.inc, that I will send for review(as it's core).
Most of these should be pretty easily mappable to recipes and made sure we have explicit deps for them.
Signature · 2 lines
Tom Rini Mentor Graphics Corporation