Building Biarch (Shared WoW64) Wine On Ubuntu

Questions about Wine on Linux
Locked
misshus
Level 2
Level 2
Posts: 13
Joined: Sat Jan 02, 2016 2:19 pm

Building Biarch (Shared WoW64) Wine On Ubuntu

Post by misshus »

This is also posted at:
http://ubuntuforums.org/showthread.php?t=2308290

So, I'm trying to install Wine on my 64 bit cpu/install (running Ubuntu 15.10)

I'm following the guide on Wine HQ found at: http://wiki.winehq.org/BuildingBiarchWineOnUbuntu

I think I've got everything correct so far, but when I get to the part titled,
Build 32-bit Wine

(about 2/3 of the way down the page)

The first set of code:

Code: Select all

mkdir $HOME/wine32-tools
cd $HOME/wine32-tools
make clean
~/wine-git/configure
make -j4

goes fine....

but when I get to the second set:

Code: Select all

mkdir $HOME/wine32
cd $HOME/wine32
make clean
~/wine-git/configure --with-wine64=$HOME/wine64 --with-wine-tools=$HOME/wine32-tools
make -j4

I get the following error:


Code:

Code: Select all

make: *** No rule to make target 'clean'.  Stop.
Any thoughts? I'm guessing that I compiled something in a wrong directory...but just don't know where it might be....

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

Re: Building Biarch (Shared WoW64) Wine On Ubuntu

Post by dimesio »

Try it without the "make clean" command.
misshus
Level 2
Level 2
Posts: 13
Joined: Sat Jan 02, 2016 2:19 pm

Re: Building Biarch (Shared WoW64) Wine On Ubuntu

Post by misshus »

So... I followed the directions and I believe that I have things installed more or less correctly. However, I have some ongoing issues:

1. I don't get the wine console (where you configure wine - i.e. choose which operating system etc.
2. My MS Office doesn't seem to be working when I try to install with setup.exe, it cycles through and crashes. I had a previous install where it worked...
3. Wine doesn't show up in my Applications list when I click the Ubuntu top left icon

My Synaptic Package Manager shows the following:

1. winehq-devel 1.9~ubuntu 15.10
2. wine-devel 1.9~ubuntu 15.10
3. wine-devel-amd64 1.9~ubuntu 15.0
4. wine-devel-i386:i386 1.9~ubuntu 15.0

any further thoughts?
Many thanks in advance
Steve
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Building Biarch (Shared WoW64) Wine On Ubuntu

Post by dimesio »

misshus wrote: 1. I don't get the wine console (where you configure wine - i.e. choose which operating system etc.
If you mean there's no menu entry for winecfg, that was never part of plain Wine. Open a terminal and type
winecfg
If winecfg doesn't open, post terminal output.
2. My MS Office doesn't seem to be working when I try to install with setup.exe, it cycles through and crashes. I had a previous install where it worked...
Post terminal output.
3. Wine doesn't show up in my Applications list when I click the Ubuntu top left icon
Wine doesn't add menu entries for itself. Once you install something, winemenubuilder should add entries for it (assuming it was an app that created menu entries on Windows).
My Synaptic Package Manager shows the following:

1. winehq-devel 1.9~ubuntu 15.10
2. wine-devel 1.9~ubuntu 15.10
3. wine-devel-amd64 1.9~ubuntu 15.0
4. wine-devel-i386:i386 1.9~ubuntu 15.0
So you gave up on building from source?
misshus
Level 2
Level 2
Posts: 13
Joined: Sat Jan 02, 2016 2:19 pm

Re: Building Biarch (Shared WoW64) Wine On Ubuntu

Post by misshus »

Hi Dimesio,

OK --
1. winecfg works... no problem...

2. Terminal Output from trying to install MS Office 2007 (last 20 or so lines):

Code: Select all

err:ole:CoGetClassObject no class object {807563e5-5146-11d5-a672-00b0d022e945} could be created for context 0x1
fixme:msxml:dom_pi_get_attributes created dummy map for <?xml ?>
err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\\PROG~5P2\\COMM~CP1\\MICR~NEI\\OFFICE12\\MSOXMLMF.DLL"
err:ole:CoGetClassObject no class object {807563e5-5146-11d5-a672-00b0d022e945} could be created for context 0x1
fixme:msxml:dom_pi_get_attributes created dummy map for <?xml ?>
err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\\PROG~5P2\\COMM~CP1\\MICR~NEI\\OFFICE12\\MSOXMLMF.DLL"
err:ole:CoGetClassObject no class object {807563e5-5146-11d5-a672-00b0d022e945} could be created for context 0x1
fixme:msxml:dom_pi_get_attributes created dummy map for <?xml ?>
fixme:service:SERV_QueryServiceObjectSecurity 0x94de38 4 (nil) 0 0xa7ce590 - semi-stub
fixme:service:SERV_QueryServiceObjectSecurity 0x94de38 4 0x8e6cc0 28 0xa7ce594 - semi-stub
fixme:advapi:SetSecurityInfo stub: Service objects are not supported at this time.
fixme:ole:NdrCorrelationInitialize (0x9ecd0e4, 0x9ecd1c0, 1024, 0x0): semi-stub
fixme:ole:NdrCorrelationInitialize (0xa4e234, 0xa4e310, 1024, 0x0): semi-stub
fixme:ntdll:NtFsControlFile FSCTL_PIPE_IMPERSONATE: impersonating self
fixme:ole:NdrCorrelationFree (0xa4e234): stub
fixme:ole:NdrCorrelationFree (0x9ecd0e4): stub
fixme:ole:NdrCorrelationInitialize (0x9ecd0a4, 0x9ecd180, 1024, 0x0): semi-stub
fixme:ole:NdrCorrelationInitialize (0x9ecd044, 0x9ecd120, 1024, 0x0): semi-stub
fixme:ole:NdrCorrelationInitialize (0x9ecd024, 0x9ecd100, 1024, 0x0): semi-stub
fixme:rpc:handle_bind_error unexpected status value 1765
err:rpc:RpcAssoc_BindConnection rejected bind for reason 0
The actual output is too large...and I couldn't find an appropriate file extension. Let me know and I'm happy to resubmit.

3. Not exactly sure what that means, but I'll go with it for right now... : :wink:

4. No, not giving up on building wine from source. Just thought I'd run synaptic to see what was there and was hopeful that the output would be helpful in troubleshooting.

Again many thanks for the support.

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

Re: Building Biarch (Shared WoW64) Wine On Ubuntu

Post by dimesio »

There's no way to tell from what you've posted what's going wrong with the Office 2007 installer. But off the top of my head: was this from a clean, 32 bit wineprefix with the Windows version set to XP? Do you have winbind installed on your system? All of those things need to be true, so if any of them aren't, install winbind if you need to (you need both 32 and 64 bit), and retest in a clean, 32 bit wineprefix with the Windows version set to XP. If that doesn't work, post the full terminal output, including the command you used to run the installer. You should be able to attach zipped files to the forum, but if you can't, post it on http://pastebin.com/ and post a link here.
misshus
Level 2
Level 2
Posts: 13
Joined: Sat Jan 02, 2016 2:19 pm

Re: Building Biarch (Shared WoW64) Wine On Ubuntu

Post by misshus »

I forgot to mention, the dialog box when running setup indicates:

Looking for Access.en-us/Access.en-us/AccLR.cab

This file is there under said folder.
misshus
Level 2
Level 2
Posts: 13
Joined: Sat Jan 02, 2016 2:19 pm

Re: Building Biarch (Shared WoW64) Wine On Ubuntu

Post by misshus »

sorry about the multiple messages.

I reset wincfg to XP from Windows 7.

Did not have winbind. I installed winbind using:

Code: Select all

sudo apt-get install winbind
Now says I have the latest version.

Same issue - looks for AccLR.cab and can't find it... although file is there in looking at GUI file manager. :(

File attached is the output from trying to install MS office 2007 after having installed winbind.

Steve
Attachments
Terminal Output - MS Office install 1.3.16.txt.tar.gz
(11.15 KiB) Downloaded 380 times
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Building Biarch (Shared WoW64) Wine On Ubuntu

Post by dimesio »

misshus wrote: I reset wincfg to XP from Windows 7.
That sounds like you are reusing the same wineprefix where the installer has previously failed. You need a clean one: delete that wineprefix and start from scratch.

What is the exact command you are using to run the installer?
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Building Biarch (Shared WoW64) Wine On Ubuntu

Post by dimesio »

Code: Select all

estelle@estelle-Satellite-C675:~/Downloads/MS Office 2007 Complete DVD$
Where did you download this from?
misshus
Level 2
Level 2
Posts: 13
Joined: Sat Jan 02, 2016 2:19 pm

Re: Building Biarch (Shared WoW64) Wine On Ubuntu

Post by misshus »

my office gave it to me so that I could work at home.

it is an enterprise version...i have the appropriate codes for my Office install.

I also have an older MS Office 2003 disc - which does not work either (again -with appropriate download code)
misshus
Level 2
Level 2
Posts: 13
Joined: Sat Jan 02, 2016 2:19 pm

Re: Building Biarch (Shared WoW64) Wine On Ubuntu

Post by misshus »

That sounds like you are reusing the same wineprefix where the installer has previously failed. You need a clean one: delete that wineprefix and start from scratch.

What is the exact command you are using to run the installer?
I'm lost....not sure what I need to do here:

Code: Select all

cd wine64
sudo apt-get remove wine64
??

Thoughts...or rather can you walk me through the specific command lines to input...?

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

Re: Building Biarch (Shared WoW64) Wine On Ubuntu

Post by dimesio »

I also have an older MS Office 2003 disc - which does not work either (again -with appropriate download code)
Office 2003 doesn't work as well in Wine as Office 2007, and the installer in particular has problems. Stick with Office 2007.
I'm lost....not sure what I need to do here:

Code: Select all

cd wine64
sudo apt-get remove wine64
No, don't do that. A wineprefix just where Wine stores its fake C: drive, and uninstalling Wine won't remove it.

I assume you've been installing to the default wineprefix, which is ~/.wine, and on a 64 bit system it would be a 64 bit wineprefix, so that could be the problem.

Since Office is best installed in a separate wineprefix anyway, leave the default one alone for now and create a new 32 bit one for Office:

Code: Select all

WINEARCH=win32 WINEPREFIX=$HOME/office2007 wineboot
You should get a popup message about creating a wineprefix, and some harmless error messages in the console. The console output at the end should say the wineprefix has been created. If it doesn't, post the terminal output.

Assuming wineprefix creation goes okay, run the Office installer, but you will have to start the command line with the WINEPREFIX variable to get it to install to the non-default wineprefix you created:

Code: Select all

WINEPREFIX=$HOME/office2007 wine start /unix /path/to/installer
(Substitute the actual path to the installer for /path/to/installer)

One more thing does occur to me: is the directory with the Office install files actually a mounted iso? If it is, either burn a real disc or copy all the files from the iso to an ordinary directory on your hard drive and run from there.
misshus
Level 2
Level 2
Posts: 13
Joined: Sat Jan 02, 2016 2:19 pm

Re: Building Biarch (Shared WoW64) Wine On Ubuntu

Post by misshus »

So -

From the home directory:

Code: Select all

WINEARCH=win32 WINEPREFIX=$HOME/office2007 wineboot
gets me the following:

Code: Select all

wine: created the configuration directory '/home/estelle/office2007'
wine: '/home/estelle/office2007' is a 32-bit installation, it cannot support 64-bit applications.
And then:

Code: Select all

estelle@estelle-Satellite-C675:[color=#80FF00]~$ WINEPREFIX=$HOME/office2007 wine start /unix /Downloads/MS Office 2007 Complete DVD$/setup.exe[/color]
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
err:ole:get_local_server_stream Failed: 80004002
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
err:ole:get_local_server_stream Failed: 80004002
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x6a07afa1, context 0xa33ba8, init_notify 0, handle 0x130e7d4): stub
fixme:iphlpapi:CancelMibChangeNotify2 (handle (nil)): stub
wine: configuration in '/home/estelle/office2007' has been updated.
fixme:exec:SHELL_execute flags ignored: 0x00000100
Application could not be started, or no application associated with the specified file.
ShellExecuteEx failed: Success.
My apologies if I'm not doing this right....I am pretty newb...I run linux at home, but I'm pretty non-technical...so I am not 100% with use of terminal and knowledge of directories...

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

Re: Building Biarch (Shared WoW64) Wine On Ubuntu

Post by dimesio »

misshus wrote: From the home directory:

Code: Select all

WINEARCH=win32 WINEPREFIX=$HOME/office2007 wineboot
gets me the following:

Code: Select all

wine: created the configuration directory '/home/estelle/office2007'
wine: '/home/estelle/office2007' is a 32-bit installation, it cannot support 64-bit applications.
That is not normal console output for wineprefix creation. Something is broken in your build. From what you posted earlier, it looks like you're using the WineHQ packages. Is that correct?
misshus
Level 2
Level 2
Posts: 13
Joined: Sat Jan 02, 2016 2:19 pm

Re: Building Biarch (Shared WoW64) Wine On Ubuntu

Post by misshus »

That is not normal console output for wineprefix creation. Something is broken in your build. From what you posted earlier, it looks like you're using the WineHQ packages. Is that correct?
[/quote]

I believe so.

From the terminal:

Code: Select all

estelle@estelle-Satellite-C675:~$ wine --version
wine-1.9.0
I had been following install instructions at: http://wiki.winehq.org/BuildingBiarchWineOnUbuntu

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

Re: Building Biarch (Shared WoW64) Wine On Ubuntu

Post by dimesio »

Something is wrong with your build. Rather than troubleshooting that right now, I'd like to concentrate on getting Office up and running for you. Uninstall the Wine you built (run sudo make uninstall from both build directories) and install the WineHQ packages. http://wiki.winehq.org/Ubuntu

You also need to delete /home/estelle/office2007 and recreate it with the same commands you used earlier (you did that correctly).
misshus
Level 2
Level 2
Posts: 13
Joined: Sat Jan 02, 2016 2:19 pm

Re: Building Biarch (Shared WoW64) Wine On Ubuntu

Post by misshus »

Well, I clearly did something wrong...here are the last 20 or so lines from the terminal output. It was the same error in the wine32 directory. I've attached the output in the file.

Code: Select all

rmdir: failed to remove ‘/usr/local/share/wine/fonts’: No such file or directory
rmdir: failed to remove ‘/usr/local/share/wine’: No such file or directory
rmdir: failed to remove ‘/usr/local/lib64/wine/fakedlls’: No such file or directory
rmdir: failed to remove ‘/usr/local/lib64/wine’: No such file or directory
rmdir: failed to remove ‘/usr/local/include/wine/windows/ddk’: No such file or directory
rmdir: failed to remove ‘/usr/local/include/wine/windows’: No such file or directory
rmdir: failed to remove ‘/usr/local/include/wine/msvcrt/sys’: No such file or directory
rmdir: failed to remove ‘/usr/local/include/wine/msvcrt’: No such file or directory
rmdir: failed to remove ‘/usr/local/include/wine’: No such file or directory
Makefile:384: recipe for target 'uninstall' failed
make: [uninstall] Error 1 (ignored)
rm -f /usr/local/share/wine/l_intl.nls
rm -f /usr/local/share/applications/wine.desktop
estelle@estelle-Satellite-C675:~/wine64$ 
Attachments
terminal output 1.4.16.tar.gz
terminal out from sudo make uninstall inside wine32 & wine64 directories
(72.05 KiB) Downloaded 388 times
misshus
Level 2
Level 2
Posts: 13
Joined: Sat Jan 02, 2016 2:19 pm

Re: Building Biarch (Shared WoW64) Wine On Ubuntu

Post by misshus »

Well - I had to abandon ship here as my deadline is looming.

I ran the sudo make uninstall from the directories, but I'm guessing I installed elsewhere as well? Not sure.

In the end, I reformatted my drive and loaded Linux Mint (a 32 bit install on my 64 bit machine); which installed EASILY ! ! Easier than with Ubuntu!

and Wine and subsequently MS Office seem to be working really well...not sure what the difference is...and the final touch for anyone who is reading: You must override

Riched20.dll

This will allow your graphs in Excel to display values on the axis, data table, graph name(s) etc. It also allows Power Point to function.

**NOTE to DEVELOPERS**

There are substantial numbers of "quasi-techs" like me who either run Linux or would like to but are stymied, because they need MS Office functionality (not our fault - it is the demand of the workplace & Open / Libre Office does not have as robust functionality,ease of use, nor well designed graphics).

Development of an install script for 64 bit machines/OS's that eliminates the terminal code or certain steps such as setting up the container would be extremely helpful.

Many thanks to dimesio who helped me...

Steve
Locked