LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-10-2012, 02:54 AM   #1
a4necromant
Member
 
Registered: Jul 2012
Location: Belarus (A country near Russia, a repoblic of former USSR)
Distribution: slackware 13.47 x64
Posts: 39

Rep: Reputation: Disabled
Question wine in slackware


I tryed to install wine from thiese place. But after installation wine doesn't work. I can't run winecfg too. It brings an error.
Code:
root@darkstar:~# winecfg
/usr/bin/winecfg: line 29: /usr/bin/wine: No such file or directory
/usr/bin/winecfg: line 29: /usr/bin/wine: Success
I had installed wine-1.5.8-x86_64-1sg.txz file.

I'm using slackware 13.37 x 64

I want to have wine to run such applications as WOW, MS Office, Photoshop.......
 
Old 07-10-2012, 02:59 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
despite the name of the package wine is a 32bit application, to run it on slackware64 you need to go multilib: follow the instructions here

http://connie.slackware.com/~alien/multilib/
 
Old 07-10-2012, 03:16 AM   #3
a4necromant
Member
 
Registered: Jul 2012
Location: Belarus (A country near Russia, a repoblic of former USSR)
Distribution: slackware 13.47 x64
Posts: 39

Original Poster
Rep: Reputation: Disabled
Unhappy

Quote:
Originally Posted by ponce View Post
despite the name of the package wine is a 32bit application, to run it on slackware64 you need to go multilib: follow the instructions here

http://connie.slackware.com/~alien/multilib/
It hadn't help....((((
 
Old 07-10-2012, 03:35 AM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
strange, it should work fine.
which error do you got?

have you installed these packages and the compat32 ones (you need them all) as written in the instructions?
 
Old 07-10-2012, 03:56 AM   #5
a4necromant
Member
 
Registered: Jul 2012
Location: Belarus (A country near Russia, a repoblic of former USSR)
Distribution: slackware 13.47 x64
Posts: 39

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
strange, it should work fine.
which error do you got?

have you installed these packages and the compat32 ones (you need them all) as written in the instructions?
I had insalled compat32-tools-2.1-noarch-9alien.tgz
Code:
root@darkstar:~# winecfg
/usr/bin/winecfg: line 29: /usr/bin/wine: No such file or directory
/usr/bin/winecfg: line 29: /usr/bin/wine: Success
root@darkstar:~#
nothing happened

Last edited by a4necromant; 07-10-2012 at 03:59 AM.
 
Old 07-10-2012, 04:31 AM   #6
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
that package is not enough: please read this page carefully.
 
1 members found this post helpful.
Old 07-10-2012, 04:32 AM   #7
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

Quote:
Originally Posted by a4necromant View Post
I had insalled compat32-tools-2.1-noarch-9alien.tgz
Code:
root@darkstar:~# winecfg
/usr/bin/winecfg: line 29: /usr/bin/wine: No such file or directory
/usr/bin/winecfg: line 29: /usr/bin/wine: Success
root@darkstar:~#
nothing happened
As Ponce has said, you have to install the multilib from alienBob. For this, you have to follow the instructions at http://alien.slackbook.org/dokuwiki/...kware:multilib.

You can also automate this installation using the tools multilibpkg and compat32pkg.

The first has to be used to manage (install, update, uninstall) the 64-bit part of the multilib (multilib version of gcc, glibc, and, the tool compat32-tools).
The second has to be used to manage (install, upgrade, remove) the 32-bit compatibility layer (subset of packages that provides 32-bit libraries).

1st, install the 64-bit part of the multilib using multilibpkg, as below :

Code:
$ multilibpkg --mirror @alienbase.nl-13.37 --install

multilibpkg ver. 1.2.120425 (stable)
(INFO) No default multilib-mirror was defined in configuration's script /etc/multilibpkg/multilibpkg.conf
(WARNING) You're using multilibpkg in mode --install, while the system is not                            
(WARNING) in run level 1: current runlevel is (3).

Do you want to continue (Y/N) ? Y

...
Then you have to install the 32-bit compatibility layer using compat32pkg, as below :

Code:
$ compat32pkg --mirror @worldwide-13.37 --install layer-32

compat32pkg ver. 1.4.120430 (stable)

(INFO) No default mirror was defined in configuration's script /etc/compat32pkg/compat32pkg.conf
[--install] Started on Tue 10 Jul 2012 11:17:35 AM CEST                                             
[--install]   Using mirror ftp://mirrors.kernel.org/slackware/slackware-13.37
[--install]   Local system is Slackware/x86_64 version 13.37.0
[--install]   Mirrored system is Slackware/i486 version 13.37
[--install]   Slackware-32 packages will be stored into /var/cache/compat32pkg/slackware-32
[--install]   compat32 packages will be stored into /var/cache/compat32pkg/compat-32
[--install]   Configuration file for "layer-32" : /etc/compat32pkg/multilib-32bit-packages.lst version 1.4.110825
                                                                    
[--install]   113 package(s) were found (0,115 sec.)

[--install]   Processing package #1/113: aaa_elflibs version 13.37 build 7

...
Reboot, and it's done. Wine should now work.

Hope this help.

Cheers.

--
SeB
 
1 members found this post helpful.
Old 07-10-2012, 06:53 AM   #8
a4necromant
Member
 
Registered: Jul 2012
Location: Belarus (A country near Russia, a repoblic of former USSR)
Distribution: slackware 13.47 x64
Posts: 39

Original Poster
Rep: Reputation: Disabled
thanks to all, who helped me. All works right....
 
Old 07-10-2012, 06:51 PM   #9
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Actually you can build Wine from source without the SlackBuilds and pre-packaged bundles and it will work on a 64-bit machine without multilib and will support both 32-bit and 64-bit applications.

The only downside is, you will have to store your sources somewhere safe if you need to remove Wine and you'll have to take care of what dependencies are needed, if any, and such stuff.
 
Old 07-10-2012, 11:33 PM   #10
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by ReaperX7 View Post
Actually you can build Wine from source without the SlackBuilds and pre-packaged bundles and it will work on a 64-bit machine without multilib and will support both 32-bit and 64-bit applications
Having tried this in the past it will not execute 32bit binaries only 64bit, and I had a great deal of trouble finding anything that was 64bit including the installer.
 
Old 07-11-2012, 12:25 AM   #11
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Wine64's WoW64 documentation is a bit sketchy at best into this so, unless it does or doesn't need the 32-bit compatibility multilib packages is unknown.

Code:
http://wiki.winehq.org/Wine64
I haven't played around with multilib in a while anyway. Last time I did it broke my system.
 
1 members found this post helpful.
Old 07-11-2012, 04:30 PM   #12
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
Quote:
and it will work on a 64-bit machine without multilib and will support both 32-bit and 64-bit applications
are you sure?
 
Old 07-11-2012, 05:46 PM   #13
schmatzler
Member
 
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 411

Rep: Reputation: 181Reputation: 181
64bit wine is able to run 32bit programs. Just create a new 32bit wineprefix with

Code:
WINEARCH=win32 winecfg
Although a win64 WINEARCH is meant to be able to run 32-bit Windows applications as well as 64-bit ones, support for this is limited in Wine and users are encouraged to use a win32 WINEPREFIX for the time being until support improves.
 
2 members found this post helpful.
  


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
[SOLVED] Can't run Wine: "wine: could not exec wineserver" Slackware 13.1 ShellyCat Slackware 5 07-01-2010 05:46 PM
wine and slackware paul62 Linux - Software 16 07-31-2004 06:38 PM
wine and winesetuptk working well with slackware 9.0 and slackware 9.1 oobe Linux - Software 0 10-19-2003 12:29 PM
Slackware + Wine Sloanr333 Linux - Software 19 09-22-2003 10:53 PM

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

All times are GMT -5. The time now is 10:45 PM.

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