LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 05-14-2010, 12:52 AM   #16
gezley
Member
 
Registered: Sep 2009
Location: Ireland
Distribution: Slackware64, NetBSD
Posts: 509

Original Poster
Rep: Reputation: 210Reputation: 210Reputation: 210

Quote:
Originally Posted by cwwilson721 View Post
wine (32-bit compiled on a 64 bit SW13 system), worked perfectly fine on my Slackware Multi-lib system.

Installed the multi-lib according to alienBoB's instructions, and then compiled wine from source.
Did you use the slackbuild script when compiling from source or just the usual ./configure && make && sudo make install?

Quote:
Sounds like the OP doesn't know how to setup wine. (I'm guessing he never ran
Code:
winecfg
after compiling/installing
Yes I think it's more to do with my lack of knowledge. I did run winecfg though, but only after trying first to run wine (sheepish grin).


Last edited by gezley; 05-14-2010 at 12:54 AM. Reason: correct CODE tags
 
Old 05-14-2010, 01:10 AM   #17
gezley
Member
 
Registered: Sep 2009
Location: Ireland
Distribution: Slackware64, NetBSD
Posts: 509

Original Poster
Rep: Reputation: 210Reputation: 210Reputation: 210
Quote:
Originally Posted by disturbed1 View Post
As to the OP's exact problem, hard to tell. Missing some 32bit compatible packages? Wrong versions of 32bit compatible packages?
The whole multilib thing is new to me. I have a full standard Slackware setup, and I loop mounted the 32-bit Slackware for the 32-bit package tree. I downloaded Alien Bob's 13.0 multilib packages. I ran the multilib instructions as root. I tried to run winecfg and wine as normal user. I'm no expert by any means but I have been compiling software and and running slackbuilds since the first day I moved to Slackware last August, without a single problem. I even learned to modify Slackbuilds so that I could install newer source. No problems at all until now! But still it remains very exciting learning all about this anyway, so I never mind coming up against problems!
 
Old 05-14-2010, 04:24 AM   #18
gezley
Member
 
Registered: Sep 2009
Location: Ireland
Distribution: Slackware64, NetBSD
Posts: 509

Original Poster
Rep: Reputation: 210Reputation: 210Reputation: 210
Quote:
Originally Posted by cwwilson721 View Post
wine gives the "Cannot execute binary file" for many reasons.

Most common are:
  • wine not setup after install (winecfg)
  • File permissions were not changed to executable
  • File is not in a format that wine recognizes as executable
  • File is on a drive that does not allow execution of files
With more info, we may be able to get to the bottom of this issue.
Hi, and thank you for your help. I now see that *any* 32-bit program I install reports the same error - "Cannot execute binary file" - so this isn't a Wine issue. It seems that the multilib process hasn't worked out for me, but I'm completely unsure why that might be so, given that I followed every step religiously, and my system is pretty much a stock Slackware, full install. The only significant system change I made was to upgrade the kernel to 2.6.33.

The question now is, how do I restore the system and start again, or troubleshoot to find the problem? The multilib process didn't report any errors, except for those expected errors Alien Bob mentions.

I know I haven't given much information to you to be of help here, so don't trouble yourself over it, but a pointer to how I might output the various steps of the multilib process to a log file would help, if anybody could advise.
 
Old 05-14-2010, 05:37 AM   #19
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 66
Easiest way to setup multilib is to download all the 32 bit compat pkgs that AB has on his site, get the wine source code, get the proprietary drivers for your video card, then:
  • Install the video drivers
  • Install the compat pkgs (I do them all twice, because some pkgs rely on packages that will install later. No harm to the system to install twice)
  • Compile and install wine
  • Run winecfg
  • Done

Last edited by cwwilson721; 05-14-2010 at 05:39 AM.
 
Old 05-14-2010, 06:43 AM   #20
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,315

Rep: Reputation: Disabled
Quote:
Originally Posted by gezley View Post
The only significant system change I made was to upgrade the kernel to 2.6.33.
Perhaps you forgot to enable 32bit binary support in your 64bit kernel?

Eric
 
Old 05-14-2010, 11:04 AM   #21
gezley
Member
 
Registered: Sep 2009
Location: Ireland
Distribution: Slackware64, NetBSD
Posts: 509

Original Poster
Rep: Reputation: 210Reputation: 210Reputation: 210
Quote:
Originally Posted by Alien Bob View Post
Perhaps you forgot to enable 32bit binary support in your 64bit kernel?

Eric
Eric you are a genius! Thank you! I'd never have guessed! Working perfectly now.

Thanks to everybody else who helped as well.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
KDE 4.4.0 on Alien Bob's site samac Slackware 64 04-20-2010 07:22 AM
rebuilding Alien Bob's multilib toolchain fails kohoutm2 Slackware 1 04-01-2010 04:38 AM
[SOLVED] Wine Install fails at line 291 - Alien Bob's SlackBuild script Tim Johnson Slackware 14 02-01-2010 11:52 PM
Downloading patches with Alien Bob's script. glore2002 Slackware 8 09-15-2009 08:33 PM
Alien Bob's Slackware-13 mini iso, what does it contain? linus72 Slackware 2 08-31-2009 02:42 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration