LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-19-2019, 08:24 AM   #1
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,296

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Wine 32/64 issues on Multilib Current


I decided to try wine-4.0.1 because, by a process of elimination, I've come to the conclusion that Alien Bob's wine-4.0 (which is a staging release) was not recreating a user's ~/.wine dir correctly, on my box, at any rate. More that that, I don't know.
Wine-4.0.1 is a 'stable' release.

So, I compiled with --enable-wine64 --libdir=/usr/lib64, and installed to a DESTDIR. Then I moved ~bin in the DESTDIR to ~bin64 and recompiled for a 32bit version, and installed to the same DESTDIR. A quick check showed wine64, & wine64-preloader were unique to the ~bin64 directory, and wine was unique to the 32bit version.
Am I ok to copy over wine64, & wine64-preloader, and use the 32bit version of all else? Both lib dirs go in, of course.
 
Old 06-19-2019, 09:10 AM   #2
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,537

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
FYI, if you're compiling anything other than WINE 4.0 on current, be aware that there's a bug when it's compiled with gcc 9.1.0 and you're trying to use any Chromium-type application within it. (Like GW2's trading post, the League of Legends launcher, battle.net, and so on. There's a patch, and it should be pushed soon.)

If you need a WINE program capable of doing both 32 and 64-bit programs, the procedure for compiling it is a bit different. I'd highly recommend using Alien Bob's slackbuild or Dugan's slackbuild, because it's kind of a long process. More here: https://wiki.winehq.org/Building_Wine Or look at Alien Bob's script. It's a bit more complicated than a 64-bit version of WINE and a 32-bit version.

What were you doing that Alien Bob's WINE package wasn't working?
 
Old 06-19-2019, 11:10 AM   #3
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,296

Original Poster
Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Quote:
Originally Posted by garpu
What were you doing that Alien Bob's WINE package wasn't working?
See post #1 here.
https://www.linuxquestions.org/quest...ng-4175655873/

I wiped my ~/.wine, and when I went to recreate I got loads of dll errors. I'm used to wine nearly flipping the table over when it does that. I also got a pile of error 112 messages on other attempts, which mean different things in linux and wine. The my library app craps out frequently, the interface is bad, and a big update won't apply.

It's basically a 32bit wine I ended up with using that process. That was ok, because I only needed 32bit atm. Anyone's a fool now if he rules out 64bit, even in windows. I imagine I'll upgrade when Alien Bob does. The first thing I'll try is remaking a ~/wine.
 
Old 06-19-2019, 11:59 AM   #4
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
You did look at this, right?

https://wiki.winehq.org/Building_Wine#Shared_WoW64

My SlackBuild, Alien Bob's SlackBuild, and the SBo SlackBuild (just use that...) all follow this procedure.

Afterwards, the only WINE binary you use is "wine". You should never use wine64 directly; the wine binary will detect whether the Windows program is 32-bit or 64-bit and then do the right thing.
 
2 members found this post helpful.
Old 06-19-2019, 01:03 PM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,296

Original Poster
Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
No actually I didn't know about or read that.

Didn't know that's how they bodged it

I had a look in the wine dirs, and see that sysWoW thing in there. I'll do that, that's ok. I have the source.

Part of this was that it was important to verify the archive. I have a couple of dud archives, but as a result of this effort, I know there is at least one good one, and I know which one is good. So I can copy that.

The thing that makes sense if anything does is a mistake in the backup disk (which I found and corrected) that lost me some stuff, and things going funny in ~/.wine shortly after.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[ANN] mk-slack64-multilib : A tool to create slackware64+multilib tree/iso phenixia2003 Slackware 5 12-28-2012 05:42 AM
upgrading slackware64 13.1 multilib to slackware64 -current multilib Cultist Slackware 4 03-12-2011 09:04 AM
[SOLVED] Installing wine in -current,multilib TSquaredF Slackware 3 12-20-2010 12:34 PM
[SOLVED] Broffice not compile on Slack64(multilib or no multilib);SlackBuild afreitascs Slackware 4 06-14-2010 07:16 AM
[SOLVED] Slackware64-current multilib: Many improvements, few snags gargamel Slackware 7 11-15-2009 07:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration