Firefox not opening

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
fernandocarvalho
Level 4
Level 4
Posts: 102
Joined: Sun Oct 11, 2009 7:03 am

Firefox not opening

Post by fernandocarvalho »

I tried firefox on wine-1.1.38 (Gentoo) and I got the following error when opening firefox.
Do someone have any suggestions to make this work?

Code: Select all

fernando@localhost ~/.wine/drive_c/Program Files/Mozilla Firefox $ wine firefox.exe 
fixme:ole:CoInitializeSecurity (0x563120,-1,(nil),(nil),6,2,(nil),64,(nil)) - stub!
err:ole:CoGetClassObject class {24e669e1-e90f-4595-a012-b0fd3ccc5c5a} not registered
err:ole:CoGetClassObject no class object {24e669e1-e90f-4595-a012-b0fd3ccc5c5a} could be created for context 0x1
err:module:import_dll Library USP10.dll (which is needed by L"C:\\Program Files\\Mozilla Firefox\\xul.dll") not found
err:module:import_dll Library xul.dll (which is needed by L"C:\\Program Files\\Mozilla Firefox\\firefox.exe") not found
err:module:import_dll Library USP10.dll (which is needed by L"C:\\Program Files\\Mozilla Firefox\\xul.dll") not found
err:module:import_dll Library xul.dll (which is needed by L"C:\\Program Files\\Mozilla Firefox\\xpcom.dll") not found
err:module:import_dll Library xpcom.dll (which is needed by L"C:\\Program Files\\Mozilla Firefox\\firefox.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\Mozilla Firefox\\firefox.exe" failed, status c0000135
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Firefox not opening

Post by dimesio »

fernandocarvalho wrote:

Code: Select all

err:module:import_dll Library USP10.dll (which is needed by L"C:\\Program Files\\Mozilla Firefox\\xul.dll") not found
Do you happen to have Office 2007 installed in the same wineprefix? Because the override for usp10.dll recommended for Word 2007 should not be set globally unless Office is installed to its own wineprefix. Non-Office apps won't be able to find the usp10.dll that Office installs, resulting in an error like the one above.
fernandocarvalho
Level 4
Level 4
Posts: 102
Joined: Sun Oct 11, 2009 7:03 am

Post by fernandocarvalho »

I have OFFICE 2007 installed.
How can I create another prefix to install firefox, without needing to delete my current prefix?
Martin Gregorie

Firefox not opening

Post by Martin Gregorie »

On Thu, 2010-04-01 at 13:43 -0500, fernandocarvalho wrote:
I have OFFICE 2007 installed.
How can I create another prefix to install firefox, without needing to delete my current prefix?
export WINEPREFIX=$HOME/.wine_firefox

before you install it. Write a simple script for each app:

================run_ff start====================
#!/bin/bash
#
export WINEPREFIX=$HOME/.wine_firefox
cd $WINEPREFIX/drive_c/path_to_installation_directory
wine firefox.exe
=================run_ff end=====================

and set up a launcher to run the script when you click it.



Martin
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

http://wiki.winehq.org/FAQ#head-faf9617 ... 522d490faf

Creating a new wineprefix just for Firefox isn't really necessary. You could remove the global override and set individual overrides for each Office app (Word is the only one that I know for certain needs it). Or you could leave the global override in place, but add an override for Firefox only setting usp10.dll back to (builtin, native). If Firefox is the only other app you have installed in that wineprefix, and you don't plan on installing any others, the latter is probably the easiest way to handle it.
Locked