LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 08-01-2010, 02:24 PM   #1
CincinnatiKid
Member
 
Registered: Jul 2010
Posts: 454

Rep: Reputation: 47
Building Wine from Source


I am on Slackware64, I came from the Debian world so I did not do much building software from source. I successfully built wine from source, now the wine binary is in the same directory where the Makefile and all of the other source stuff is. I can run wine from that directory fine, but I sort of want to move it somewhere else. I tried moving the wine binary somewhere else, but when I try to run it I get

Code:
bash-4.1$ wine
./wine: could not locate Wine source tree
What all do I have to move into the new directory to get wine working in the new directory? By convention, where should I move wine, I want it available for all users, should I move it to /opt/wine, or /usr/local/wine, or somewhere else?
 
Old 08-01-2010, 02:34 PM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: Slackware
Posts: 7,699

Rep: Reputation: 2980Reputation: 2980Reputation: 2980Reputation: 2980Reputation: 2980Reputation: 2980Reputation: 2980Reputation: 2980Reputation: 2980Reputation: 2980Reputation: 2980
From the wine source directory:

Code:
su -c 'make install'
make clean
Move the source directory to /usr/local/src.

You're done.

When you want to uninstall Wine, go back to the source directory and enter:

Code:
su -c 'make uninstall'
There were easier (Slackware-specific) ways to do it, you know.

You could have gotten a prebuilt package from here:

http://connie.slackware.com/~alien/slackbuilds/

You could have gotten a working build script from here, which would have built a Slackware package from the source tarball:

http://www.slackbuilds.org/

You could have built the source tarball into a Slackware package with src2pkg, which I'm positive would have word flawlessly

Or you could even have built Wine with:

Code:
./tools/wineinstall
which is the method recommended in the source documentation and would have installed it after building it. You did read the files with the capitalized names that you found in the source directory, right?

Last edited by dugan; 08-01-2010 at 02:43 PM.
 
Old 08-01-2010, 02:52 PM   #3
CincinnatiKid
Member
 
Registered: Jul 2010
Posts: 454

Original Poster
Rep: Reputation: 47
Quote:
You could have gotten a prebuilt package from here:

http://connie.slackware.com/~alien/slackbuilds/
Didn't know this existed

Quote:
You could have gotten a working build script from here, which would have built a Slackware package from the source tarball:

http://www.slackbuilds.org/
Checked here, not available for x86_64. I don't have multilib installed.

Quote:
You could have built the source tarball into a Slackware package with src2pkg, which I'm positive would have word flawlessly
I'll try this next time, thanks for the tip!

Quote:
Or you could even have built Wine with:

Code:

./tools/wineinstall

which is the method recommended in the source documentation and would have installed it after building it. You did read the files with the capitalized names that you found in the source directory, right?
I tried that, and it didn't work, to be honest I can't remember what it did, but I think it had something to do with the fact that I am on a 64-bit arch, so I had to compile like this:

Code:
./configure --enable-win64
make
make install
Thanks for your help. Your suggestion worked out, plus I have some suggestions for the next time, such as src2pkg.
 
Old 08-01-2010, 05:00 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 472Reputation: 472Reputation: 472Reputation: 472Reputation: 472
Moved: This thread is more suitable in Slackware and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 08-01-2010, 05:35 PM   #5
rigelan
Member
 
Registered: Jul 2005
Location: Iowa
Distribution: Slackware
Posts: 180

Rep: Reputation: 19
Unfortunately - if you don't have the multilib installed - Wine will only be able to run 64-bit windows programs.

Most windows programs are 32-bit, so to have them run on wine - multilib needs to be installed.
 
Old 08-01-2010, 08:26 PM   #6
CincinnatiKid
Member
 
Registered: Jul 2010
Posts: 454

Original Poster
Rep: Reputation: 47
Quote:
Originally Posted by rigelan View Post
Unfortunately - if you don't have the multilib installed - Wine will only be able to run 64-bit windows programs.

Most windows programs are 32-bit, so to have them run on wine - multilib needs to be installed.
I just found that out, lol. I am going to install multilib, and then go with the Slackbuild.
 
Old 08-03-2010, 09:47 AM   #7
CincinnatiKid
Member
 
Registered: Jul 2010
Posts: 454

Original Poster
Rep: Reputation: 47
Actually, I decided against multilib. I am just going to forget wine. I was wanting to try out Starcraft II, but I guess I will boycott Blizzard since they do not have a native Linux client. There is a Mac release, how hard could this have been to compile for Linux?
 
  


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
Building WINE on Slackware64 multilib? Lufbery Slackware 12 07-19-2010 07:22 PM
LXer: Howto Install latest wine with patched source and manage wine prefixes LXer Syndicated Linux News 0 12-07-2009 06:11 PM
[SOLVED] Building wine on Slackware64 JanZamoyski Slackware 22 06-13-2009 04:05 AM
Errors building WINE 0.9.53 from source on CentOS x64 Micro420 Linux - Software 4 01-14-2008 01:15 PM
Building wine RPM SpEcIeS Linux - Software 1 04-05-2005 10:30 PM

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

All times are GMT -5. The time now is 12:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration