LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   wine in slackware (https://www.linuxquestions.org/questions/slackware-14/wine-in-slackware-4175415844/)

a4necromant 07-10-2012 02:54 AM

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.......

ponce 07-10-2012 02:59 AM

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/

a4necromant 07-10-2012 03:16 AM

Quote:

Originally Posted by ponce (Post 4723694)
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....((((

ponce 07-10-2012 03:35 AM

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?

a4necromant 07-10-2012 03:56 AM

Quote:

Originally Posted by ponce (Post 4723732)
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

ponce 07-10-2012 04:31 AM

that package is not enough: please read this page carefully.

phenixia2003 07-10-2012 04:32 AM

Hello,

Quote:

Originally Posted by a4necromant (Post 4723761)
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

a4necromant 07-10-2012 06:53 AM

thanks to all, who helped me. All works right....

ReaperX7 07-10-2012 06:51 PM

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.

wildwizard 07-10-2012 11:33 PM

Quote:

Originally Posted by ReaperX7 (Post 4724415)
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.

ReaperX7 07-11-2012 12:25 AM

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.

solarfields 07-11-2012 04:30 PM

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?

schmatzler 07-11-2012 05:46 PM

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.


All times are GMT -5. The time now is 03:45 AM.