LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-19-2011, 04:19 PM   #1
warrior23
LQ Newbie
 
Registered: Jun 2010
Posts: 17

Rep: Reputation: 0
Installing wine-1.3.11


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.
 
Old 01-19-2011, 04:27 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Code:
checking whether the C compiler works... no
Try either reinstalling or updating gcc and see what happens. Normally there is a big reason why it doesn't work.
 
Old 01-19-2011, 04:27 PM   #3
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,669

Rep: Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367Reputation: 1367
Ignore this post, I should of read closer. Follow Alien Bob below.

Last edited by Daedra; 01-19-2011 at 04:47 PM.
 
Old 01-19-2011, 04:28 PM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104
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.

Eric
 
Old 01-19-2011, 04:48 PM   #5
warrior23
LQ Newbie
 
Registered: Jun 2010
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Alien Bob View Post
Your challenge is not compiling wine. It is realizing that you are not running a 64-bit version of Slackware:

Eric


Quote:
bash-4.1# uname -m
x86_64
I'm running 64 bit.
 
Old 01-19-2011, 04:55 PM   #6
warrior23
LQ Newbie
 
Registered: Jun 2010
Posts: 17

Original Poster
Rep: Reputation: 0
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....

root@mitch:~# whereis wine
wine: /usr/bin/wine /usr/lib/wine /usr/lib64/wine /usr/X11R6/bin/wine /usr/bin/X11/wine /usr/X11/bin/wine /usr/include/wine /usr/share/wine /usr/man/man1/wine.1.gz /usr/share/man/man1/wine.1.gz /usr/X11/man/man1/wine.1.gz

So it is there, What's happening here?

Last edited by warrior23; 01-19-2011 at 04:57 PM.
 
Old 01-19-2011, 04:56 PM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104
OK, "uname -m" settles it.

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

Eric
 
Old 01-19-2011, 05:07 PM   #8
warrior23
LQ Newbie
 
Registered: Jun 2010
Posts: 17

Original Poster
Rep: Reputation: 0
Slackware has native 64 bit wine.
 
Old 01-19-2011, 05:20 PM   #9
D1ver
Member
 
Registered: Jan 2010
Distribution: Slackware 13.37
Posts: 598
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
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).
 
Old 01-19-2011, 05:24 PM   #10
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Quote:
Originally Posted by warrior23 View Post
Slackware has native 64 bit wine.
Slackware doesn't have any wine. At all.
 
Old 01-19-2011, 05:41 PM   #11
warrior23
LQ Newbie
 
Registered: Jun 2010
Posts: 17

Original Poster
Rep: Reputation: 0
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.
 
Old 01-19-2011, 07:36 PM   #12
warrior23
LQ Newbie
 
Registered: Jun 2010
Posts: 17

Original Poster
Rep: Reputation: 0
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
 
Old 01-20-2011, 03:20 AM   #13
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104
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.

Eric
 
Old 01-20-2011, 03:43 AM   #14
TigerLinux
Senior Member
 
Registered: Sep 2005
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 11.04
Posts: 1,731

Rep: Reputation: 30
you need wine to do what?
 
0 members found this post helpful.
Old 01-20-2011, 10:43 AM   #15
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Rep: Reputation: 74
Quote:
Originally Posted by TigerLinux View Post
you need wine to do what?
Wine is for running windows programs/games on a linux system.
 
  


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
Problems installing WINE on Fedora Core 6 using $yum install wine rubiks_nerd_90 Linux - Software 4 03-06-2008 08:36 AM
wine: installing win apps. using wine on mandrake10 dexmax Linux - Newbie 2 09-05-2005 04:40 PM
installing wine davidfes Linux - General 2 08-03-2004 07:24 AM
Installing WINE Trust Slackware 11 03-26-2004 03:55 AM
installing wine zexter Linux - Software 1 11-02-2003 11:20 AM

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

All times are GMT -5. The time now is 06:02 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