Could not initialize XPCOM. Perhaps the GRE is not installed or could be found? How to resolve it?
Posted by: xingbi
Date: October 20, 2009 08:40PM

I compiled K-MeleonBE1.5 by vs2005. When I launched k-meleon.exe, error described in subject occured. Please help me to resolve it . Thanks!

Re: Could not initialize XPCOM. Perhaps the GRE is not installed or could be found? How to resolve it?
Posted by: xingbi
Date: October 29, 2009 09:09AM

No one knows this issue? Help me please.sad smiley

Re: Could not initialize XPCOM. Perhaps the GRE is not installed or could be found? How to resolve it?
Posted by: Peten-c
Date: October 29, 2009 02:54PM

I'm also!

Re: Could not initialize XPCOM. Perhaps the GRE is not installed or could be found? How to resolve it?
Posted by: desga2
Date: October 29, 2009 02:54PM

You only compiled the K-Meleon sources, but you need include the Gecko sources to build a functional K-Meleon.

K-Meleon in Spanish

Re: Could not initialize XPCOM. Perhaps the GRE is not installed or could be found? How to resolve it?
Posted by: guenter
Date: October 29, 2009 04:48PM

Quote
xingbi
I compiled K-MeleonBE1.5 by vs2005. When I launched k-meleon.exe, error described in subject occured. Please help me to resolve it . Thanks!

AFAIK You need a K-Meleon GRE that is build with the same compiler.

This page is about building the GRE with free tools http://resources.kairo.at/mozilla/build/make-win-tinderbox-vc8express.html

Would You post Your K-Meleon.exe for others to experiment?



Edited 1 time(s). Last edit at 10/29/2009 04:50PM by guenter.

Re: Could not initialize XPCOM. Perhaps the GRE is not installed or could be found? How to resolve it?
Posted by: xingbi
Date: October 31, 2009 02:26PM

No. I can not launch exe yet.

Where to get gecko and build it by vs2005? Is there any tutorial for it?

Re: Could not initialize XPCOM. Perhaps the GRE is not installed or could be found? How to resolve it?
Posted by: guenter
Date: November 01, 2009 02:43AM

Quote
xingbi
No. I can not launch exe yet.

Is there any tutorial for it?

1.) Can You give me Your k-meleon.exe and the kplugins.dlls, please?
You know more than me. I cannot build these parts.

2.) There are old build instructions to build Firefox with free tools.
From there I know to build the GRE with Microsoft Visual C++ 2005 Express Edition.

2a) I use the Mozilla-Build environament from Windows_Build_Prerequisites
(link from build Prerequisitives Page. Some tools have a recommended location.)
It contain the up to date tools to make any Mozilla GRE.

2b.) And the Source naturally.

2.c) Building any current GRE with free Tools definitely needs
Microsoft Microsoft Platform SDK for Windows Server 2003 R2 Because it is the only that has free mfc, atl, crt... includes.

Since You have VS 2005 You can use any other SDK.

3.) I needed an altered comsupp.lib, the normal system calls brake the build.
The one I will include in a subfolder is from Mozilla.zine thread, link above.
The zip includes the sources and the lib. All other mentioned later go there too.


4.) I used a .mozconfig like described by Robert Kaiser. I will include my .mozconfig.
I also patched like he described. I will include the patched atlbase.h.

5.) I used a 1.bat that starts the build in writes the results and errors to a log. So that I could search google for the solutions, because I am no developer or coder.

6.) A finished SeaMonkey build with Microsoft Visual C++ 2005 Express Edition is at http://two.xthost.info/kmupdate/bin.7z It includes the described files. Also three manifest files that are copied into ./dist/bin - when the compilation stops at half way with error: cannot find *80.dll.

7.) To do. Place the files where they must go.
Setup instructions are at Mozilla build instructions.

Next You need to partially build a Tbird or Firefox 1.8 non static.
You need its chrome.dll and chrome.xpt to run K-Meleon's chrome components.

Next replace the files of K-Meleon GRE with files from new GRE and K-meleon.exe etc. with Yours.

And You have to test if it really helps to use the GRE build with Visual C++ 2005.

I wish You success, greetings to CN(?) from DE.

p.s. added forgotten Seamonkey manifest and the two mentioned chrome files from a Tbird build.



Edited 5 time(s). Last edit at 11/01/2009 04:23AM by guenter.

Attachments: manifest.7z (22.5 KB)  
Re: Could not initialize XPCOM. Perhaps the GRE is not installed or could be found? How to resolve it?
Posted by: xingbi
Date: November 02, 2009 06:32PM

Thank you for your help. I will try by your steps. I greatly appreciate it.

Re: Could not initialize XPCOM. Perhaps the GRE is not installed or could be found? How to resolve it?
Posted by: xingbi
Date: November 02, 2009 06:38PM

And how to add a attachment?
Please give me your email, I will send dll(exe) to you.

Re: Could not initialize XPCOM. Perhaps the GRE is not installed or could be found? How to resolve it?
Posted by: guenter
Date: November 03, 2009 12:32PM

Quote
xingbi
And how to add a attachment?

Please give me your email, I will send dll(exe) to you.

1.) You need to be moderator to add any attachments.
And even then the allowed attachment is small.

Click my profile the mail address is real.
It must be - all must be able to contact the moderators.

I send a mail to Your address.

And thank You.



Edited 5 time(s). Last edit at 11/06/2009 03:00AM by guenter.

Re: Could not initialize XPCOM. Perhaps the GRE is not installed or could be found? How to resolve it?
Posted by: guenter
Date: November 13, 2009 07:47AM

A thread that provide info about building with free tools 2005.

A comsupp lib error fix in Mozilla build with free tools from that page.

A pity that I do not know to build a K-Meleon.exe and kplugin.dll with VC8.0 free version sad smiley

& I have no idea where to download such items build with VS8 or free compiler version.

Thx 4 reading my post.



Edited 1 time(s). Last edit at 11/13/2009 07:49AM by guenter.

K-Meleon forum is powered by Phorum.