SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hey, I'm new to Slackware but not to Linux in general.
I installed slackware cause i wanted a Minimal type distro, All i use my pc for is Music, Movies, Internet and what not, So i've turned to Slackware so i can learn more about linux and have a fast desktop.
So far what i have done is......
Downloaded wine-1.3.11-x86_64-1sg.txz for my 64bit OS, Extracted it, Found the "wine.SlackBuild" file in it, Tried to run is and it said it needed to download "wine-1.3.11.tar.bz2" Let it do it's thing, Than it gives me this message in the terminal.....
+-----------------------+
| Building ... |
+-----------------------+
checking build system type... i486-slackware-linux-gnu
checking host system type... i486-slackware-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/tmp/build/tmp-wine/wine':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** No rule to make target `depend'. Stop.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
wine.SlackBuild FAILED on line 357!
Any ideas, I would not use Wine at all, I'm happy and content with all Linux has to offer, But i do live with a World of Warcraft addict, So i thought I'd be nice and set it up for him.
That "wine-1.3.11-x86_64-1sg.txz" file is a precompiled 64-bit Slackware package, all you would need to install this package is run (as root) "installpkg wine-1.3.11-x86_64-1sg.txz". However...
Your challenge is not compiling wine. It is realizing that you are not running a 64-bit version of Slackware:
Quote:
checking build system type... i486-slackware-linux-gnu
You appear to be running the 32-bit version of Slackware. My guess is that the wine.SlackBuild you extracted from the 64-bit package is configured to work only on 64-bit Slackware and that's why it failed for you.
Get the 32-bit binary Slackware package of wine instead and install that.
O.k. I just ran installpkg wine-1.3.11-x86_64-1sg.txz again, It gave me....
root@mitch:~# installpkg wine-1.3.11-x86_64-1sg.txz
Verifying package wine-1.3.11-x86_64-1sg.txz.
Installing package wine-1.3.11-x86_64-1sg.txz:
PACKAGE DESCRIPTION:
# wine (Wine Is Not an Emulator)
#
# Wine is an Open Source implementation of the Windows API
# on top of X and Unix.
#
# Homepage: http://www.winehq.com/
#
Executing install script for wine-1.3.11-x86_64-1sg.txz.
Package wine-1.3.11-x86_64-1sg.txz installed.
root@mitch:~#
But i can't find it anywhere, Even if i type wine into terminal i get....
root@mitch:~# wine
-su: /usr/bin/wine: No such file or directory
EDIT........
Also when i type into Terminal "whereis wine" It gives me....
On my 64-bit Slackware, running my own wine.SlackBuild shows this:
Quote:
...
checking build system type... x86_64-slackware-linux-gnu
checking host system type... x86_64-slackware-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
...
Your compiler thinks it is on a 32-bit system (I did not look at the SlackBuild script inside the package you downloaded but such a thing can be faked). On 64-bit Slackware you can not run wine (let alone compile it) unless you install a set of multilib packages - Slackware itself is pure 64-bit and does not support 32-bit programs like wine.
Read http://alien.slackbook.org/dokuwiki/...kware:multilib
You'll have to follow AlienBob's advice. Setup multi-lib following the guide he linked to you. Wine will then build install and run perfectly on a 64-bit system. (speaking from experience).
O.k. I enabled Multilib and it's working, I can access Wine through Terminal, But how to i go about adding it to the Menu?, I'm using a Gnome incase you need to know.
I've got wine installed, I can get winecfg up but i can not load actual wine at all, Not even notepad that comes with wine, the virual window comes up for a couple of seconds with nothing but a blue screen in it and when i launch from terminal i get this......
root@mitch:~/Desktop/wow# wine Launcher.exe
err:module:load_builtin_dll failed to load .so lib for builtin L"WININET.dll": libz.so.1: cannot open shared object file: No such file or directory
err:module:import_dll Loading library WININET.dll (which is needed by L"Z:\\root\\Desktop\\wow\\Launcher.exe") failed (error c000007a).
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\root\\Desktop\\wow\\Launcher.exe" failed, status c0000135
Looks like that wine package you downloaded was not compiled for the version of Slackware you are using. The "libz.so.1: cannot open shared object file: No such file or directory" is an indication of that.
Either you find and upgrade to a correct binary wine package, or you build it from source so that you are certain it will work for you.
I have a package for 64-bit Slackware 13.1 that I use myself: http://slackware.com/~alien/slackbui..._64-1alien.tgz
It's a different version from what you have but that should not be a problem. My package adds winecfg to the desktop menu. Wine itself should be started from the commandline, but it creates a desktop menu entry for every Windows program you install through wine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.