wine errors

Post here if you are a new Porteus member and you're looking for some help.
User avatar
Ed_P
Contributor
Contributor
Posts: 3314
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

wine errors

Post#1 by Ed_P » 04 May 2014, 19:30

In trying to use wine I get these errors. Any solutions?

Code: Select all

guest@porteus:~$ wine /mnt/sda3/Program Files/Microsoft Games/FreeCell/FreeCell.exe
wine: created the configuration directory '/home/guest/.wine'
wine: cannot find '/mnt/sda3/Program'
guest@porteus:~$ wine /mnt/sda3/"Program Files/Microsoft Games"/FreeCell/FreeCell.exe
fixme:storage:create_storagefile Storage share mode not implemented.
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:storage:create_storagefile Storage share mode not implemented.
p11-kit: couldn't load module: /usr/lib/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:iphlpapi:NotifyAddrChange (Handle 0xece8f0, overlapped 0xece8fc): stub
wine: configuration in '/home/guest/.wine' has been updated.
err:process:create_process L"Z:\\mnt\\sda3\\Program Files\\Microsoft Games\\FreeCell\\FreeCell.exe" not supported on this installation (x86_64 binary)
wine: Bad EXE format for Z:\mnt\sda3\Program Files\Microsoft Games\FreeCell\FreeCell.exe.
guest@porteus:~$ 
My modules are:

Code: Select all

guest@porteus:~$ ./modules.sh
cat /proc/cmdline
quiet from=/ISOs/Porteus-RazorQT-v3.0-x86_64.iso changes=EXIT:/porteus/changes/porteussave.dat extramod=/mnt/sda5/porteus/modules 

ls /mnt/sda5/porteus/modules
001-core_fixes-20140408-x86_64-1prt.xzm   jre-7u55-x86_64-1.xzm
07-printing.xzm				  keepassx-0.4.3-x86_64-2dj.xzm
compat32-libraries-3.0-x86_64-1sl.xzm	  qemu-1.6.2.xzm
flash-plugin-11.2.202.350-x86_64-1gv.xzm  wine-1.7.9-x86_64-1alien.xzm
gnucash-2.6.2.xzm			  wmweather-2.4.5-x86_64-1ponce.xzm

ls /mnt/live/memory/images
000-kernel.xzm
001-core.xzm
001-core_fixes-20140408-x86_64-1prt.xzm
002-xorg.xzm
003-razor.xzm
04-firefox.xzm
07-printing.xzm
changes
compat32-libraries-3.0-x86_64-1sl.xzm
flash-plugin-11.2.202.350-x86_64-1gv.xzm
gnucash-2.6.2.xzm
jre-7u55-x86_64-1.xzm
keepassx-0.4.3-x86_64-2dj.xzm
qemu-1.6.2.xzm
wine-1.7.9-x86_64-1alien.xzm
wmweather-2.4.5-x86_64-1ponce.xzm
Ed

User avatar
Slaxmax
Contributor
Contributor
Posts: 403
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: wine errors

Post#2 by Slaxmax » 04 May 2014, 20:32

“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

tome
Contributor
Contributor
Posts: 571
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Poland
Contact:

Re: wine errors

Post#3 by tome » 04 May 2014, 21:20

maybe no solution. this app isn't portable so first you should try install it from wine (instead of run) but is it not installed by your manufacturer?

User avatar
Ed_P
Contributor
Contributor
Posts: 3314
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: wine errors

Post#4 by Ed_P » 04 May 2014, 22:46

Install this in place of or in addition to the compat32-libraries-3.0-x86_64-1sl.xzm module that I have?

The two wine modules that I have came from: http://ponce.cc/porteus/x86_64/current/extras/ USM shows 3 different wine modules and no reference to 32bit compatibility. When attempting to run the game wine notes that it requires .net and downloads and installs something who's name escapes me. However whatever it is downloading is not being saved between boot ups.
tome wrote: but is it not installed by your manufacturer?
It is definitely installed by the manufacturer and owned by Microsoft so reinstalling is not an option.
Ed

User avatar
Slaxmax
Contributor
Contributor
Posts: 403
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: wine errors

Post#5 by Slaxmax » 05 May 2014, 03:46

Install this in place of or in addition to the compat32-libraries-3.0-x86_64-1sl.xzm module that I have?
step by step in addition install the package and test
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

User avatar
Ed_P
Contributor
Contributor
Posts: 3314
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: wine errors

Post#6 by Ed_P » 05 May 2014, 04:28

Downloaded the file.
In spaceFM I dbl clicked on the file which created the folder p11-kit-compat32-0.16.4-x86_64-1compat32
In terminal mode I changed to the p11-kit-compat32-0.16.4-x86_64-1compat32 folder's /install/ folder
In terminal mode I ran the doinst.sh install script.

Code: Select all

root@porteus:/home/guest# cd /home/guest/Downloads/p11-kit-compat32-0.16.4-x86_64-1compat32/install
root@porteus:/home/guest/Downloads/p11-kit-compat32-0.16.4-x86_64-1compat32/install# ./doinst.sh
bash: ./doinst.sh: Permission denied
root@porteus:/home/guest/Downloads/p11-kit-compat32-0.16.4-x86_64-1compat32/install# sh doinst.sh
doinst.sh: line 1: cd: usr/lib: No such file or directory
doinst.sh: line 2: cd: usr/lib: No such file or directory
doinst.sh: line 3: cd: usr/lib: No such file or directory
doinst.sh: line 4: cd: usr/lib: No such file or directory
doinst.sh: line 5: cd: usr/lib: No such file or directory
doinst.sh: line 6: cd: usr/lib: No such file or directory
root@porteus:/home/guest/Downloads/p11-kit-compat32-0.16.4-x86_64-1compat32/install# ls
doinst.sh  libp11-kit.so@  libp11-kit.so.0@  p11-kit-proxy.so@  slack-desc
Ed

User avatar
Slaxmax
Contributor
Contributor
Posts: 403
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: wine errors

Post#7 by Slaxmax » 05 May 2014, 20:13

do not extract the package

you need installpkg

Code: Select all

root@porteus:/home/guest# installpkg p11-kit-compat32-0.16.4-x86_64-1compat32.txz
or txz2xzm convert

Code: Select all

root@porteus:/home/guest# txz2xzm p11-kit-compat32-0.16.4-x86_64-1compat32.txz p11-kit-compat32-0.16.4-x86_64-1compat32.xzm
and activate the module
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

User avatar
Ed_P
Contributor
Contributor
Posts: 3314
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: wine errors

Post#8 by Ed_P » 05 May 2014, 20:57

Thanks Slaxmax but I've got other problems at the moment.

I do think I tried a txz2xzm command on the download and got an error which is why I took the route I did.
Ed

User avatar
Ed_P
Contributor
Contributor
Posts: 3314
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: wine errors

Post#9 by Ed_P » 07 May 2014, 04:31

OK, I redownloaded the .txz file, ran txz2xzm, copied the resulting xzm module to my porteus/modules/ folder and activated it.

When I ran my wine script I got a prompt to install Wine Mono Installer which I did. And I got this:

Code: Select all

guest@porteus:~$ ./FreeCell.sh
wine: created the configuration directory '/home/guest/.wine'

(process:3227): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed
err:process:__wine_kernel_init boot event wait timed out
err:process:create_process L"Z:\\mnt\\sda3\\Program Files\\Microsoft Games\\FreeCell\\FreeCell.exe" not supported on this installation (x86_64 binary)
wine: Bad EXE format for Z:\mnt\sda3\Program Files\Microsoft Games\FreeCell\FreeCell.exe.
guest@porteus:~$ fixme:storage:create_storagefile Storage share mode not implemented.
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:storage:create_storagefile Storage share mode not implemented.
p11-kit: couldn't load module: /usr/lib/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:iphlpapi:NotifyAddrChange (Handle 0xece8f0, overlapped 0xece8fc): stub
wine: configuration in '/home/guest/.wine' has been updated.
After I rebooted and retried my script I got:

Code: Select all

guest@porteus:~$ ./FreeCell.sh
err:wineboot:ProcessRunKeys Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2)
fixme:service:scmdatabase_autostart_services Auto-start service L"MountMgr" failed to start: 2
fixme:service:scmdatabase_autostart_services Auto-start service L"PlugPlay" failed to start: 2
err:process:create_process L"Z:\\mnt\\sda3\\Program Files\\Microsoft Games\\FreeCell\\FreeCell.exe" not supported on this installation (x86_64 binary)
wine: Bad EXE format for Z:\mnt\sda3\Program Files\Microsoft Games\FreeCell\FreeCell.exe.
I do NOT understand the 1st error. My script makes no reference to c:\Windows\system32".

Code: Select all

#!/bin/sh

wine /mnt/sda3/"Program Files/Microsoft Games"/FreeCell/FreeCell.exe
Ed

User avatar
freestyler
Contributor
Contributor
Posts: 382
Joined: 17 Oct 2013, 14:21
Distribution: Porteus KDE4
Location: Traveller
Contact:

Re: wine errors

Post#10 by freestyler » 07 May 2014, 05:44

Can you upload your script so we can check?
https://www.porteus-apps.org

User avatar
Ed_P
Contributor
Contributor
Posts: 3314
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: wine errors

Post#11 by Ed_P » 07 May 2014, 13:50

freestyler wrote:Can you upload your script so we can check?
Ya see those last two lines in the posting above yours? That's it. :)
Ed

User avatar
freestyler
Contributor
Contributor
Posts: 382
Joined: 17 Oct 2013, 14:21
Distribution: Porteus KDE4
Location: Traveller
Contact:

Re: wine errors

Post#12 by freestyler » 07 May 2014, 14:23

:%)
Yeah that's not a script problem, I don't use wine so can't help ya
https://www.porteus-apps.org

User avatar
fanthom
Site Admin
Site Admin
Posts: 4613
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: wine errors

Post#13 by fanthom » 07 May 2014, 14:30

message is clear to me:

Code: Select all

"Z:\\mnt\\sda3\\Program Files\\Microsoft Games\\FreeCell\\FreeCell.exe" not supported on this installation (x86_64 binary)
your wine is 32bit and can't run 64bit windows apps.
Please add [Solved] to your thread title if the solution was found.

User avatar
Slaxmax
Contributor
Contributor
Posts: 403
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: wine errors

Post#14 by Slaxmax » 07 May 2014, 18:06

“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

User avatar
Ed_P
Contributor
Contributor
Posts: 3314
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: wine errors

Post#15 by Ed_P » 07 May 2014, 22:16

Thanks guys.

I thought the two compat32 modules I added, p11-kit-compat32-0.16.4-x86-64-lcompat32 and compat32-libraries-3.0-x86_64-1sl, supported the running of 64-bit apps on 32-bit wine.

Here is the result of running a 32-bit Windows app under wine.

Code: Select all

guest@porteus:~$ sh wine.sh
err:wineboot:ProcessRunKeys Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2)
fixme:service:scmdatabase_autostart_services Auto-start service L"MountMgr" failed to start: 2
fixme:service:scmdatabase_autostart_services Auto-start service L"PlugPlay" failed to start: 2
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
fixme:msg:ChangeWindowMessageFilter 400 00000001
fixme:wtsapi:WTSRegisterSessionNotification Stub 0x10070 0x00000000
p11-kit: couldn't load module: /usr/lib/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
err:listview:LISTVIEW_WindowProc unknown msg 109d wp=00000000 lp=00000000
err:listview:LISTVIEW_WindowProc unknown msg 109d wp=00000000 lp=00000000
err:listview:LISTVIEW_WindowProc unknown msg 109d wp=00000000 lp=00000000
fixme:systray:wine_notify_icon unhandled tray message: 4
err:shell:SHGetFileInfoW pidl is null!
err:listview:LISTVIEW_WindowProc unknown msg 109d wp=00000000 lp=00000000
fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
fixme:toolhelp:Heap32ListFirst : stub
fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
fixme:toolhelp:Heap32ListFirst : stub
Cfixme:console:CONSOLE_DefaultHandler Terminating process 8 on event 0
The wine.sh code:

Code: Select all

#!/bin/sh

#wine /mnt/sda3/"Program Files/Microsoft Games"/FreeCell/FreeCell.exe
wine /mnt/sda5/Users/Ed/"My Utilities"/PopTrayU/PopTrayU.exe
BTW How does one exit a wine session? Ctrl+C worked but not sure it is the standard exit.

And FWIW there is no C:\\windows\\system32\\winemenubuilder.exe file on either my Windows 7 64-bit or Windows 7 32-bit systems.
Ed

Post Reply