Hi all,
 
This is the first time I am posting here, so kindly excuse my ignorance, if 
any, and do guide me with utmost patience.
 
I am mainly following the instructions given at 
https://wiki.mozilla.org/Mobile/DFBPorting#Using_script
So after a lot of trial and error (and of course patching) I have my GTK-DFB 
packages installed properly!!! The DirectFB examples and gtk-demo are running 
fine.
 
I procured the mozilla source code from  
http://hg.mozilla.org/mozilla-central (after being guided to appropriately). I 
successfully built it with this .mozconfig.

####################################
#.mozconfig file 
####################################
 . $topsrcdir/browser/config/mozconfig
mk_add_options [EMAIL PROTECTED]@/obj-dfb
ac_add_options --disable-plugins
ac_add_options --enable-default-toolkit=cairo-gtk2-dfb
ac_add_options --disable-debug
#ac_add_options --enable-optimize
#ac_add_options --enable-strip
ac_add_options --disable-updater
ac_add_options --disable-tests
ac_add_options --disable-mochitest
ac_add_options --disable-crashreporter
ac_add_options --disable-installer
ac_add_options --disable-javaxpcom
ac_add_options --disable-svg
ac_add_options --disable-mathml
ac_add_options --disable-view-source
ac_add_options --disable-ogg
#DFB Options
ac_add_options --enable-system-cairo
ac_add_options --disable-pedantic
ac_add_options --disable-gtktest
ac_add_options --enable-pango
ac_add_options --disable-xft
ac_add_options --enable-extensions=default
ac_add_options --disable-xinerama
ac_add_options --without-system-nspr
ac_add_options --disable-mailnews
 
I was even able to run the TestGtkEmbed test application present under 
"obj_DIR/embedding/browser/gtk/tests/" which provided me a basic browser and 
the browsing turned to be just fine.
 
However on running Firefox all I get is a popup message "Error launching 
browser window: no XBL binding for browser". I tried all the standard debugging 
methods for this error (mentioned in forums) like deleting the ~/.mozilla file 
created and reinstalling Firefox. However nothing yielded any results.
Below is the log
 
************************************************************
* Call to xpconnect wrapped JSObject produced this error:  *
[Exception... "'[JavaScript Error: "Cc['@mozilla.org/widget/idleservice;1'] is 
undefined" {file: 
"file:///home/anup/Mozilla/MohansMoz/moz_dfb/mozilla-central/obj-dfb/dist/bin/components/nsBrowserGlue.js"
 line: 413}]' when calling method: [nsIObserver::observe]"  nsresult: 
"0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: 
"<unknown>"  data: yes]
************************************************************
++WEBSHELL 0x302a95e0 == 2
++DOMWINDOW == 2 (0x3036fd30) [serial = 2] [outer = (nil)]
++DOMWINDOW == 3 (0x3036fef0) [serial = 3] [outer = 0x3036fd00]
 (!!!)  *** UNIMPLEMENTED [IA__gdk_window_configure_finished] *** 
[gdkwindow-directfb.c:2654]
++DOMWINDOW == 4 (0x303705f0) [serial = 4] [outer = 0x3036f0c0]
 (!!!)  *** UNIMPLEMENTED [IA__gdk_window_shape_combine_mask] *** 
[gdkwindow-directfb.c:1916]
###!!! ASSERTION: non-root frame's desired size changed during an incremental 
reflow: '(target == rootFrame && size.height == NS_UNCONSTRAINEDSIZE) || 
(desiredSize.width == size.width && desiredSize.height == size.height)', file 
/home/anup/Mozilla/MohansMoz/moz_dfb/mozilla-central/layout/base/nsPresShell.cpp,
 line 6330
###!!! ASSERTION: reflow state computed incorrect width: 
'reflowState.ComputedWidth() == size.width - 
reflowState.mComputedBorderPadding.LeftRight()', file 
/home/anup/Mozilla/MohansMoz/moz_dfb/mozilla-central/layout/base/nsPresShell.cpp,
 line 6316
###!!! ASSERTION: reflow roots must not have visible overflow: 
'desiredSize.mOverflowArea == nsRect(nsPoint(0, 0), nsSize(desiredSize.width, 
desiredSize.height))', file 
/home/anup/Mozilla/MohansMoz/moz_dfb/mozilla-central/layout/base/nsPresShell.cpp,
 line 6334
++WEBSHELL 0x302aa300 == 3
++DOMWINDOW == 5 (0x34b2a530) [serial = 5] [outer = (nil)]
++WEBSHELL 0x302aaa80 == 4
WARNING: NS_ENSURE_TRUE(browserChrome) failed: file 
/home/anup/Mozilla/MohansMoz/moz_dfb/mozilla-central/docshell/base/nsDocShell.cpp,
 line 9099
WARNING: NS_ENSURE_TRUE(win_private) failed: file 
/home/anup/Mozilla/MohansMoz/moz_dfb/mozilla-central/content/base/src/nsFrameLoader.cpp,
 line 867
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x8000FFFF: file 
/home/anup/Mozilla/MohansMoz/moz_dfb/mozilla-central/content/base/src/nsFrameLoader.cpp,
 line 900
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x8000FFFF: file 
/home/anup/Mozilla/MohansMoz/moz_dfb/mozilla-central/content/base/src/nsFrameLoader.cpp,
 line 181
++WEBSHELL 0x302aae40 == 5
++DOMWINDOW == 6 (0x3028cbf0) [serial = 6] [outer = (nil)]
JavaScript error: chrome://browser/content/tabbrowser.xml, line 2518: 
this.mPanelContainer.childNodes[0] is undefined
JavaScript error: chrome://global/content/bindings/tabbox.xml, line 269: 
children[i] is undefined
WARNING: recurring into frame construction: 
'mPresContext->mLayoutPhaseCount[eLayoutPhase_FrameC] == 0', file 
../../dist/include/layout/nsPresContext.h, line 959
WARNING: recurring into frame construction: 
'mPresContext->mLayoutPhaseCount[eLayoutPhase_FrameC] == 0', file 
../../dist/include/layout/nsPresContext.h, line 959
JavaScript error: chrome://browser/content/tabbrowser.xml, line 0: 
this.mCurrentBrowser is null
 (!!!)  *** UNIMPLEMENTED [IA__gdk_display_request_selection_notification] *** 
[gdkdisplay-directfb.c:362]
###!!! ASSERTION: reflow state computed incorrect width: 
'reflowState.ComputedWidth() == size.width - 
reflowState.mComputedBorderPadding.LeftRight()', file 
/home/anup/Mozilla/MohansMoz/moz_dfb/mozilla-central/layout/base/nsPresShell.cpp,
 line 6316
###!!! ASSERTION: non-root frame's desired size changed during an incremental 
reflow: '(target == rootFrame && size.height == NS_UNCONSTRAINEDSIZE) || 
(desiredSize.width == size.width && desiredSize.height == size.height)', file 
/home/anup/Mozilla/MohansMoz/moz_dfb/mozilla-central/layout/base/nsPresShell.cpp,
 line 6330
JavaScript error: chrome://browser/content/places/toolbar.xml, line 254: child 
is undefined
++DOMWINDOW == 7 (0x361dba70) [serial = 7] [outer = 0x34b2a500]
++DOMWINDOW == 8 (0x3028db20) [serial = 8] [outer = 0x3028cbc0]
###!!! ASSERTION: reflow state computed incorrect width: 
'reflowState.ComputedWidth() == size.width - 
reflowState.mComputedBorderPadding.LeftRight()', file 
/home/anup/Mozilla/MohansMoz/moz_dfb/mozilla-central/layout/base/nsPresShell.cpp,
 line 6316
###!!! ASSERTION: non-root frame's desired size changed during an incremental 
reflow: '(target == rootFrame && size.height == NS_UNCONSTRAINEDSIZE) || 
(desiredSize.width == size.width && desiredSize.height == size.height)', file 
/home/anup/Mozilla/MohansMoz/moz_dfb/mozilla-central/layout/base/nsPresShell.cpp,
 line 6330
###!!! ASSERTION: reflow state computed incorrect width: 
'reflowState.ComputedWidth() == size.width - 
reflowState.mComputedBorderPadding.LeftRight()', file 
/home/anup/Mozilla/MohansMoz/moz_dfb/mozilla-central/layout/base/nsPresShell.cpp,
 line 6316
###!!! ASSERTION: non-root frame's desired size changed during an incremental 
reflow: '(target == rootFrame && size.height == NS_UNCONSTRAINEDSIZE) || 
(desiredSize.width == size.width && desiredSize.height == size.height)', file 
/home/anup/Mozilla/MohansMoz/moz_dfb/mozilla-central/layout/base/nsPresShell.cpp,
 line 6330
###!!! ASSERTION: reflow roots must not have visible overflow: 
'desiredSize.mOverflowArea == nsRect(nsPoint(0, 0), nsSize(desiredSize.width, 
desiredSize.height))', file 
/home/anup/Mozilla/MohansMoz/moz_dfb/mozilla-central/layout/base/nsPresShell.cpp,
 line 6334
WARNING: dependent window created without a parent: file 
/home/anup/Mozilla/MohansMoz/moz_dfb/mozilla-central/toolkit/components/startup/src/nsAppStartup.cpp,
 line 472
 (!!!)  *** UNIMPLEMENTED [IA__gdk_window_set_group] *** 
[gdkwindow-directfb.c:2247]
++WEBSHELL 0x302ac100 == 6
++DOMWINDOW == 9 (0x361dc170) [serial = 9] [outer = (nil)]
++DOMWINDOW == 10 (0x361dc330) [serial = 10] [outer = 0x361dc140]
 (!!!)  *** UNIMPLEMENTED [IA__gdk_window_unmaximize] *** 
[gdkwindow-directfb.c:2166]
 (!!!)  *** UNIMPLEMENTED [IA__gdk_window_unstick] *** 
[gdkwindow-directfb.c:2041]
 (!!!)  *** UNIMPLEMENTED [IA__gdk_window_deiconify] *** 
[gdkwindow-directfb.c:2019]
 (!!!)  *** UNIMPLEMENTED [IA__gdk_window_unfullscreen] *** 
[gdkwindow-directfb.c:2626]
 (!!!)  *** UNIMPLEMENTED [IA__gdk_window_set_keep_above] *** 
[gdkwindow-directfb.c:2634]
 (!!!)  *** UNIMPLEMENTED [IA__gdk_window_set_keep_below] *** 
[gdkwindow-directfb.c:2642]
 (!!!)  *** UNIMPLEMENTED [IA__gdk_window_set_urgency_hint] *** 
[gdkwindow-directfb.c:2676]
--WEBSHELL 0x302ac100 == 5
JavaScript error: chrome://browser/content/tabbrowser.xml, line 1018: 
this.mCurrentBrowser is null
WARN: res_name = 'navigator:browser'
###!!! ASSERTION: non-root frame's desired size changed during an incremental 
reflow: '(target == rootFrame && size.height == NS_UNCONSTRAINEDSIZE) || 
(desiredSize.width == size.width && desiredSize.height == size.height)', file 
/home/anup/Mozilla/MohansMoz/moz_dfb/mozilla-central/layout/base/nsPresShell.cpp,
 line 6330
###!!! ASSERTION: reflow state computed incorrect width: 
'reflowState.ComputedWidth() == size.width - 
reflowState.mComputedBorderPadding.LeftRight()', file 
/home/anup/Mozilla/MohansMoz/moz_dfb/mozilla-central/layout/base/nsPresShell.cpp,
 line 6316
###!!! ASSERTION: reflow roots must not have visible overflow: 
'desiredSize.mOverflowArea == nsRect(nsPoint(0, 0), nsSize(desiredSize.width, 
desiredSize.height))', file 
/home/anup/Mozilla/MohansMoz/moz_dfb/mozilla-central/layout/base/nsPresShell.cpp,
 line 6334
###!!! ASSERTION: non-root frame's desired size changed during an incremental 
reflow: '(target == rootFrame && size.height == NS_UNCONSTRAINEDSIZE) || 
(desiredSize.width == size.width && desiredSize.height == size.height)', file 
/home/anup/Mozilla/MohansMoz/moz_dfb/mozilla-central/layout/base/nsPresShell.cpp,
 line 6330
 (!!!)  *** UNIMPLEMENTED [IA__gdk_window_maximize] *** 
[gdkwindow-directfb.c:2155]
*** e = [Exception... "Component returned failure code: 0x80570016 
(NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSCID.getService]"  nsresult: 
"0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)"  location: "JS frame :: 
chrome://browser/content/utilityOverlay.js :: getShellService :: line 310"  
data: no]
nsSessionStore could not be initialized: [Exception... "'[JavaScript Error: 
"aPanel is undefined" {file: 
"file:///home/anup/Mozilla/MohansMoz/moz_dfb/mozilla-central/obj-dfb/dist/bin/components/nsSessionStore.js"
 line: 599}]' when calling method: [nsISessionStore::init]"  nsresult: 
"0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame 
:: chrome://browser/content/browser.js :: delayedStartup :: line 1072"  data: 
yes]
JavaScript error: chrome://global/content/bindings/tabbox.xml, line 378: 
tabs[i] is undefined
************************************************************
* Call to xpconnect wrapped JSObject produced this error:  *
[Exception... "'[JavaScript Error: "aTab is undefined" {file: 
"file:///home/anup/Mozilla/MohansMoz/moz_dfb/mozilla-central/obj-dfb/dist/bin/components/nsSessionStore.js"
 line: 967}]' when calling method: [nsIObserver::observe]"  nsresult: 
"0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: 
"<unknown>"  data: yes]
************************************************************
JavaScript error: chrome://browser/content/browser.js, line 8275: 
this._observerService is null
--WEBSHELL 0x302aa300 == 4
###!!! ASSERTION: ResultNodeForContainer expects a valid item id: 'results', 
file 
/home/anup/Mozilla/MohansMoz/moz_dfb/mozilla-central/toolkit/components/places/src/nsNavBookmarks.cpp,
 line 2283
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x8000FFFF: file 
/home/anup/Mozilla/MohansMoz/moz_dfb/mozilla-central/storage/src/mozStorageStatement.cpp,
 line 720
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x8000FFFF: file 
/home/anup/Mozilla/MohansMoz/moz_dfb/mozilla-central/toolkit/components/places/src/nsNavBookmarks.cpp,
 line 2289
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x8000FFFF: file 
/home/anup/Mozilla/MohansMoz/moz_dfb/mozilla-central/toolkit/components/places/src/nsNavHistory.cpp,
 line 2867
************************************************************
* Call to xpconnect wrapped JSObject produced this error:  *
[Exception... "Component returned failure code: 0x8000ffff 
(NS_ERROR_UNEXPECTED) [nsINavHistoryService.executeQuery]"  nsresult: 
"0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: 
file:///home/anup/Mozilla/MohansMoz/moz_dfb/mozilla-central/obj-dfb/dist/bin/modules/utils.js
 :: PU_backupBookmarksToFile :: line 1544"  data: no]
************************************************************
--WEBSHELL 0x302a95e0 == 3
--WEBSHELL 0x302a8e60 == 2
--DOMWINDOW == 9 (0x3028cbf0) [serial = 6] [outer = (nil)] [url = about:blank]
 
Is there any .mozconfig option which can prevent this error? Any insight you 
could provide on this would be really helpful as I have been stuck on this for 
quite a few days now and I am hopelessly clueless!!!
Do let me know if you guys need any more details.
 
Warm Regards,
Anup


      Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/
_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to