LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Can Slackware 64 run 64-bit Windows programs with Wine? (http://www.linuxquestions.org/questions/slackware-14/can-slackware-64-run-64-bit-windows-programs-with-wine-4175498355/)

klerg 03-16-2014 12:46 AM

Can Slackware 64 run 64-bit Windows programs with Wine?
 
I have Slackware 64 14.1, and installed the multilib library for 32-bit support. Now, I'm not sure which Wine package(s) to install that will be able to run both 64-bit and 32-bit Windows programs.

Thanks

ReaperX7 03-16-2014 01:55 AM

Wine has a pure 64-bit version, as well as a 32-bit version, but it's also got some WOW64 capabilities if you build for it. Instructions to do so are on the winehq website. Check the FAQ there for exclusive details.

moisespedro 03-16-2014 06:32 AM

This might help you http://wiki.winehq.org/WineOn64bit

klerg 03-16-2014 04:36 PM

Well, that link lead me to http://wiki.winehq.org/Wine64, and i'm following "Building a shared WoW64 setup" section, but stuck on the 4th, 9th and 11th commands. What is ../wine-git/? When i type ../wine-git/ in terminal, it tells me that directory does not exist. Also, the ../wine64 part of the 9th command and 11th command is confusing me, do i replace .. with something else? I found the source and extracted it to $HOME folder. Can i go ahead and ignore ../wine-git and compile without it?

moisespedro 03-16-2014 04:57 PM

Well I didn't try to build Wine but AlienBob has packages for it http://www.slackware.com/~alien/slac...ne/pkg64/14.1/
You can try.

klerg 03-16-2014 09:24 PM

I think these packages are 32-bit versions of Wine for Slackware 64 system, but i may be wrong. Can anyone confirm if the AlienBob packages support both 32-bit and 64-bit programs under Slackware 64?

gengisdave 03-17-2014 03:41 AM

Quote:

Originally Posted by moisespedro (Post 5135758)
Well I didn't try to build Wine but AlienBob has packages for it http://www.slackware.com/~alien/slac...ne/pkg64/14.1/
You can try.

this is 64bit package (pkg64), but i download it and a 'file' in usr/bin showed me they are all 32 bit executables, so you need multilib installed

mmm... and libraries are under /usr/lib, not /usr/lib64

anyway, i have stock slack64, no way to execute 32bit programs, my wine can run 32bit windows executables

moisespedro 03-17-2014 03:53 AM

Quote:

Originally Posted by gengisdave (Post 5135955)
this is 64bit package (pkg64), but i download it and a 'file' in usr/bin showed me they are all 32 bit executables, so you need multilib installed

mmm... and libraries are under /usr/lib, not /usr/lib64

anyway, i have stock slack64, no way to execute 32bit programs, my wine can run 32bit windows executables

Just checked the SlackBuild and it is indeed a package with 32 bit executables. Maybe OP can modify the SlackBuild and use it?

gengisdave 03-17-2014 04:10 AM

indeed, export LDFLAGS="-L/usr/lib -ldl", this slackbuild will have some trouble on a 64 bit host

klerg 03-17-2014 12:06 PM

Glad i did not install the AlienBob package, since its definitely 32-bit Wine for Slackware 64. What is Slackbuild, and how can i modify it? I will try to build/compile the WOW64 Wine from source, and ignore the ../wine-git/ part of the command and report what happens.

gengisdave 03-17-2014 12:13 PM

http://docs.slackware.com/slackware:slackbuild_scripts

basically, it's a shell script containing the sequence from source package to slack package, you can enter all lines manually on command line, result should be the same

http://www.slackware.com/~alien/slackbuilds/wine/build/

this folder contain sources, script and all files which you can use to compile it by yourself

hint: add --enable-win64=yes to ./configure to enable 64bit wine

moisespedro 03-17-2014 01:04 PM

SlackBuild is a script that automates the creation of a Slackware package. I am not sure of how exaclty you should edit this one but when you edit a SlackBuild you can define: version, architeture, destination of the installed binaries, etc. It is a great tool and learning it is not hard, just read a few ones and you can get the concept.

mostlyharmless 03-18-2014 03:38 PM

Quote:

What is ../wine-git/?
Means that "This requires an out-of-tree build.." and you should be downloading the source from git. But, considering you're new to all that, you *might* be getting in over your head.

I haven't tackled that project *yet* but if I do I'll report back on what worked; or if you persevere, do post what you did exactly. ;)

enorbet 03-18-2014 04:27 PM

Greetings
I'm not absolutely certain this could solve your issues since there is no exclusively 64bit wine app I want to run, but I do know this. PlayOnLinux is available as a SlackBuild and it can install and manage multiple instances (even wildly different versions) of Wine. I only use Wine for a very few things anymore so I don't care to spend too much time having to deal with "The Windows Way" and I find PlayOnLinux to be a great time-saver. It's not limited to gaming, although that's all I use it for these days, and even that number is dwindling.

Correction - moisespedro's post reminded me that I do also use Wine for pipelight though apparently that will change soon as MS is killing Silverlight.

moisespedro 03-18-2014 04:31 PM

I got rid off all the Windows softwares I used. Except for Silverlight, I am using pipelight for it now. I think, except when there is no alternative avaliable, wine should be the last option.


All times are GMT -5. The time now is 07:46 PM.