Problem with wine64
Problem with wine64
I follow the steps on https://wiki.winehq.org/Building_Wine#Shared_WoW64 to install wine to my 64bit Linux6.8 server.
All seems to go well and wine has been installed. While wine is not an available command, wine64 does seem to work, that "wine64 --version" will return the version and "wine64 notepad" will open the notepad. However nothing else seems to work.
I try to run putty.exe downloaded from http://www.putty.org/, nothing happens. Running "wine64 putty.exe" and it just returns without doing anything. Try other .exe and all goes the same.
What am I missing? Thanks.
All seems to go well and wine has been installed. While wine is not an available command, wine64 does seem to work, that "wine64 --version" will return the version and "wine64 notepad" will open the notepad. However nothing else seems to work.
I try to run putty.exe downloaded from http://www.putty.org/, nothing happens. Running "wine64 putty.exe" and it just returns without doing anything. Try other .exe and all goes the same.
What am I missing? Thanks.
Re: Problem with wine64
It sounds like you're missing the 32 bit side. Did you build and install that?
Re: Problem with wine64
I guess that is true.
A correction, the way I install is:
1. Download the version 1.8.5
2. run ./configure --enable-win64
3. run make
4. run make install
I would get error if I don't use the --enable-win64 option
configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.
So what 32bit lib do I need to install? Thank you.
A correction, the way I install is:
1. Download the version 1.8.5
2. run ./configure --enable-win64
3. run make
4. run make install
I would get error if I don't use the --enable-win64 option
configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.
So what 32bit lib do I need to install? Thank you.
Re: Problem with wine64
So in other words, you didn't actually follow the instructions you claimed to have followed. The wiki page makes it very clear that both 32 and 64 bit Wine have to be built.
You need to install the 32 bit versions of everything you needed to build 64 bit Wine.
You need to install the 32 bit versions of everything you needed to build 64 bit Wine.
Re: Problem with wine64
If you're interested I've a dual-arch Chroot solution to building multilib Wine on Ubuntu - up on Github ...yep wrote:I guess that is true.
A correction, the way I install is:
1. Download the version 1.8.5
2. run ./configure --enable-win64
3. run make
4. run make install
I would get error if I don't use the --enable-win64 option
configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.
So what 32bit lib do I need to install? Thank you.
Basically the 600-foot view of the required build steps are:
- configure 32-bit wine
- compile 32-bit wine
- configure 64-bit wine
- compile 64-bit wine
- configure multilib wine
- cross-compile multilib wine
- install multilib wine
- install 64-bit wine
Bob
Re: Problem with wine64
I'm running on Red Hat Enterprise Linux Server release 6.8 64bit, and I think I'm stuck in building the 32bit wine. It said configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.
I know how to install a library with yum, but which 32-bit libraries do I need? Is there an easy way to install the so-called "32-bit development libraries" as a group? Thank you very much.
I know how to install a library with yum, but which 32-bit libraries do I need? Is there an easy way to install the so-called "32-bit development libraries" as a group? Thank you very much.
Re: Problem with wine64
Not much of RHEL / CentOS expert, so I can only refer you to: It appears that on RHEL / CentOS 6 - you can build a pure Syswow / multilib Wine - without the cross-compilation.yep wrote:I'm running on Red Hat Enterprise Linux Server release 6.8 64bit, and I think I'm stuck in building the 32bit wine. It said configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.
I know how to install a library with yum, but which 32-bit libraries do I need? Is there an easy way to install the so-called "32-bit development libraries" as a group? Thank you very much.
As I remember reading, some time back, 32-bit support is pretty much dropped in RHEL 7.
Bob
Re: Problem with wine64
Those instructions are incorrect for 64 bit systems--they will only build pure 64 bit Wine, which is useless. Please don't refer people to them.
Re: Problem with wine64
Sorry, yeah I noticed that but couldn't edit my post... Good catch!dimesio wrote:Those instructions are incorrect for 64 bit systems--they will only build pure 64 bit Wine, which is useless. Please don't refer people to them.
Bob
Re: Problem with wine64
Thank you all for the information.
As trying to follow the instruction on https://wiki.winehq.org/CentOS/RHEL, I install all 32-bit development libraries (I found a post online with all lib listed) and I can configure wine without "--enable-win64", however the installation is still unsuccessful:
1. I "make uninstall" the old 64bit installation (with "--enable-win64") I did
2. I tried "yum install epel-release" then "yum install wine", but no epel-release nor wine pacakge found
3. I tried to build from the source.
3.1 configure 64bit wine using "./configure --enable-win64"
3.2 make
3.3 in a different directory, configure 32bit wine using "./configure --with-wine64=<the 64bit build dir>"
3.4 make --> error complaining can not make 32bit in same directory tree
What am I missing?
Also if I just want to run 32bit app like putty, there is no need to install 64bit wine, is that true? Thank you very much.
As trying to follow the instruction on https://wiki.winehq.org/CentOS/RHEL, I install all 32-bit development libraries (I found a post online with all lib listed) and I can configure wine without "--enable-win64", however the installation is still unsuccessful:
1. I "make uninstall" the old 64bit installation (with "--enable-win64") I did
2. I tried "yum install epel-release" then "yum install wine", but no epel-release nor wine pacakge found
3. I tried to build from the source.
3.1 configure 64bit wine using "./configure --enable-win64"
3.2 make
3.3 in a different directory, configure 32bit wine using "./configure --with-wine64=<the 64bit build dir>"
3.4 make --> error complaining can not make 32bit in same directory tree
What am I missing?
Also if I just want to run 32bit app like putty, there is no need to install 64bit wine, is that true? Thank you very much.
Re: Problem with wine64
That is true.yep wrote: Also if I just want to run 32bit app like putty, there is no need to install 64bit wine, is that true?
Re: Problem with wine64
Great. Thank you. With the hint I figured out why my 32bit installation does not work... I need to delete .wine that setup by my 64bit installation in my home folder. Uninstall does not get rid of that. Now I get the 32bit wine to work.
I'm trying to install MS office via wine, it is telling me that some dll is missing:
err:module:import_dll Library MFC42.DLL (which is needed by L"C:\\users\\peye\\Temp\\inetutil.dll") not found
Some googling show I can install missing dll using winetricks... however I always get timed out, maybe due to the proxy script I'm required to use.
--2016-11-22 04:52:05-- (try: 3) https://web.archive.org/web/https://raw ... les/LATEST
Connecting to web.archive.org|207.241.225.186|:443... failed: Connection timed out.
Giving up.
Can I just copy the dll from windows directly or somewhere else? If not, what can I do since winetricks cannot connect? Thanks.
I'm trying to install MS office via wine, it is telling me that some dll is missing:
err:module:import_dll Library MFC42.DLL (which is needed by L"C:\\users\\peye\\Temp\\inetutil.dll") not found
Some googling show I can install missing dll using winetricks... however I always get timed out, maybe due to the proxy script I'm required to use.
--2016-11-22 04:52:05-- (try: 3) https://web.archive.org/web/https://raw ... les/LATEST
Connecting to web.archive.org|207.241.225.186|:443... failed: Connection timed out.
Giving up.
Can I just copy the dll from windows directly or somewhere else? If not, what can I do since winetricks cannot connect? Thanks.
Re: Problem with wine64
You can simply copy mfc42 from a Windows install if it's there, but it's not something that ships with Windows--it would have to have been installed by some app.
Re: Problem with wine64
I can download it here:yep wrote:Great. Thank you. With the hint I figured out why my 32bit installation does not work... I need to delete .wine that setup by my 64bit installation in my home folder. Uninstall does not get rid of that. Now I get the 32bit wine to work.
I'm trying to install MS office via wine, it is telling me that some dll is missing:
err:module:import_dll Library MFC42.DLL (which is needed by L"C:\\users\\peye\\Temp\\inetutil.dll") not found
Some googling show I can install missing dll using winetricks... however I always get timed out, maybe due to the proxy script I'm required to use.
--2016-11-22 04:52:05-- (try: 3) https://web.archive.org/web/https://raw ... les/LATEST
Connecting to web.archive.org|207.241.225.186|:443... failed: Connection timed out.
Giving up.
Can I just copy the dll from windows directly or somewhere else? If not, what can I do since winetricks cannot connect? Thanks.
Code: Select all
Using winetricks 20161107 - sha1sum: 9a08fd86198fcde30269d54e7701035bf00df8d6 with wine-1.9.23 (Staging)
--2016-11-24 21:20:24-- http://download.microsoft.com/download/vc60pro/Update/2/W9XNT4/EN-US/VC6RedistSetup_deu.exe
Resolving download.microsoft.com... 95.101.59.174, 2a02:26f0:f4:186::e59, 2a02:26f0:f4:19f::e59, ...
Connecting to download.microsoft.com|95.101.59.174|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1837888 (1.8M) [application/octet-stream]
Saving to: ‘VC6RedistSetup_deu.exe’
Executing mkdir -p /home/robert_gentoo/.cache/winetricks/vcrun6
Executing cd /home/robert_gentoo/.cache/winetricks/vcrun6
Downloading http://download.microsoft.com/download/vc60pro/Update/2/W9XNT4/EN-US/VC6RedistSetup_deu.exe to /home/robert_gentoo/.cache/winetricks/vcrun6
Executing cd /mnt/robs-rog-laptop/linux_shared/robert/wineprefixes/sample_vb6_application_32/drive_c/Sample_Code
Executing wine /home/robert_gentoo/.cache/winetricks/vcrun6/vc6redistsetup_deu.exe /T:C:\windows\Temp\_mfc42 /c
Executing cabextract -q /home/robert_gentoo/.cache/winetricks/vcrun6/vcredist.exe -d /home/robert_gentoo/.wine/dosdevices/c:/windows/system32 -F mfc42*.dll
Or just disable the winetricks autoupdate...
Code: Select all
mkdir -p ~/.config/winetricks
touch ~/.config/winetricks/disable-latest-version-check