LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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-27-2010, 08:42 PM   #1
Tim Johnson
Member
 
Registered: Oct 2004
Location: Palmer, Alaska
Distribution: ubuntu 10.04, Slack 13.0/32-bit
Posts: 206

Rep: Reputation: 30
Installing Wine on Slackware 13.0


I'm back to slack after several years.
I'd like to install wine.
I have downloaded wine-1.1.33.tar.bz2
from http://sourceforge.net/projects/wine...re%20Packages/
I am currently looking at the installation instructions.

I would welcome any advice, comments or caveats that might
contribute to the installation. In particular, have I made the
correct download?

Another example: My preference is that the installation be made to
/usr/local, since that directory is on its own partition.
Will that introduce any problems?

thanks
tim
 
Old 01-27-2010, 09:11 PM   #2
Hangaber
Member
 
Registered: Sep 2004
Location: USA
Distribution: Slackware, Debian
Posts: 93

Rep: Reputation: 25
I can't answer your partition question right, but coincidentally ... I'm compiling v1.1.37 right now using the slackbuilds.org script (obviously with the 1 line modified for the new version number). I installed it a couple of days ago (last time I tried Wine was a couple of years ago) - and I'm very impressed.

Although I'm new to Wine, the latest version (to me) does not seem any less stable than the earlier versions, although I did make the mistake to not install Gecko at first, so I had no clue why HTML content was not loading. (Whoops)

The slackbuilds.org script, along with the official dev download from winehq seem to work well with each other.

I'm interested to see what initial success (or failures) you have from the sourceforge slack packages installation.
 
1 members found this post helpful.
Old 01-27-2010, 09:24 PM   #3
Tim Johnson
Member
 
Registered: Oct 2004
Location: Palmer, Alaska
Distribution: ubuntu 10.04, Slack 13.0/32-bit
Posts: 206

Original Poster
Rep: Reputation: 30
I think you have opened a whole new can of worms - or bottle of wine!
What you have provided is probably a better path for me to pursue.
It is late here, so I will investigate the link to slackbuilds.

Two questions now:
How do I install gecko on slack?
Also, after some investigation, I see that line 4 in wine.info of slackbuild package
should be changed to the URI: http://ibiblio.org/pub/linux/system/...1.1.37.tar.bz2
I believe that the m5sum value needs to be changed also, but as I write,
can't find it.

Thanks very much.
tim

Last edited by Tim Johnson; 01-27-2010 at 10:51 PM. Reason: questions about gecko, md5sum value
 
Old 01-28-2010, 04:00 AM   #4
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Rep: Reputation: 137Reputation: 137
To get round the md5sum bit either download Alien Bob's slackbuild (it doesn't take the md5sum into account), or if you are using the slackbuilds.org script just do a md5sum on the file and copy the result into the info file.

You do not say which version of Slackware you are running, if you are running Slackware64-13.0 you will need Alien Bob's compatibility layer installed or you will not be able to cross-compile wine.

samac
 
Old 01-28-2010, 04:09 AM   #5
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Rep: Reputation: 137Reputation: 137
I knew I'd seen this recently. From dugan's site http://www.vcn.bc.ca/~dugan/setting-up-slackware.html
Quote:
Windows Emulation

Besides the obvious steps of first installing Wine, then running winecfg to configure it and “wine iexplore http://www.winehq.org/“ to set up its Gecko engine, and there are a few more.

First, enable support for misc binaries. To do so, edit “/etc/rc.d/rc.modules” and uncomment the following line:
/sbin/modprobe binfmt_misc

Then add the following to “/etc/fstab”:
none /proc/sys/fs/binfmt_misc binfmt_misc defaults 0 0

Now add the following to “/etc/rc.rc.local”:
echo ':windows:M::MZ::/path/to/wine:' > /proc/sys/fs/binfmt_misc/register
echo ':windowsPE:M::PE::/path/to/wine:' > /proc/sys/fs/binfmt_misc/register

Now reboot.

Now, set any .exe file as executable, and it will execute with Wine. According to Wine Traffic #125, this is exactly how Wine is set up on Redhat and Mandrake.

You can set up other file associations like this as well. See File Associations in Linux to learn more.
samac
 
Old 01-28-2010, 04:27 AM   #6
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,458

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
just for LOLs: this can be seen as another step in automation for executing windows worms.
 
Old 01-28-2010, 10:22 AM   #7
Tim Johnson
Member
 
Registered: Oct 2004
Location: Palmer, Alaska
Distribution: ubuntu 10.04, Slack 13.0/32-bit
Posts: 206

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by samac View Post
You do not say which version of Slackware you are running, if you are running Slackware64-13.0 you will need Alien Bob's compatibility layer installed or you will not be able to cross-compile wine.

samac
Sorry.
Slackware 13.0 - 32-bit
And where is the URL for Alien Bob's slackbuild.
I'd like to have a look at it also.
thanks

Last edited by Tim Johnson; 01-28-2010 at 10:26 AM.
 
Old 01-28-2010, 11:45 AM   #8
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Rep: Reputation: 137Reputation: 137
http://connie.slackware.com/~alien/s...ds/wine/build/ You will have to edit the version number.

samac
 
Old 01-28-2010, 01:39 PM   #9
Tim Johnson
Member
 
Registered: Oct 2004
Location: Palmer, Alaska
Distribution: ubuntu 10.04, Slack 13.0/32-bit
Posts: 206

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by samac View Post
http://connie.slackware.com/~alien/s...ds/wine/build/ You will have to edit the version number.

samac
Hey, I like that. Looks like it might do everything right there.
As to the version number, am I correct that one would edit the
string at line number 96
Code:
SRCVER=${SRCVER:-"1.1.29"}
to
Code:
SRCVER=${SRCVER:-"1.1.36"}
or whatever is the target version?

Another observation I make is that /usr is hard-coded.
If /usr were edited to /usr/local would we not have
an installation under /usr/local? Or better yet, something like a
$dst variable which could in one edit control the destination
of installation?

To clarify, I made my installation to 3 partitions
1)/home
2)/ (root)
3)/usr/local

That should enable me to make a slackware upgrade without having to
re-install applications not included in the stock slack installation.
Of course, certain system - wide configurations might have to be made.

Or would I be opening another can of worms here?
I'd welcome the opinions of those wiser than I
 
Old 01-28-2010, 02:54 PM   #10
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Rep: Reputation: 137Reputation: 137
The version number thing is correct. If you go down to the configure section of the script there is a line
Code:
 --prefix=/usr \
edit that to /usr/local, though this is just a waste of time because you will almost certainly have to re-install packages, especially if they add files to the /etc directory.

I just copy all the packages that I make to a directory ~/otherpkg on my home partition and after I have a new install working I just do
Code:
 installpkg *.t?z
samac
 
Old 01-28-2010, 03:38 PM   #11
Hangaber
Member
 
Registered: Sep 2004
Location: USA
Distribution: Slackware, Debian
Posts: 93

Rep: Reputation: 25
Quote:
Originally Posted by Tim Johnson View Post
[...]
Two questions now:
How do I install gecko on slack?
Also, after some investigation, I see that line 4 in wine.info of slackbuild package
should be changed to the URI: http://ibiblio.org/pub/linux/system/...1.1.37.tar.bz2
I believe that the m5sum value needs to be changed also, but as I write,
can't find it.
When I ran winecfg, I was asked if I wanted to install Gecko - I selected yes.

I think another method is to download the winetricks script (it's on the third party list on the wine homepage), then do a "chmod +x winetricks", then just "./winetricks gecko".

As for the md5sum in the "wine.info" file, I've never bothered changing that.

My steps normally are;
1) Download the slackbuild file.
wget http://slackbuilds.org/slackbuilds/1...em/wine.tar.gz
2) Extract
tar zxvf wine.tar.gz
3) Change directory in to the folder that was just created ("cd wine" or whatever).
cd wine
4) Obtain the source code (Source code URL normally on the slackbuild page)
wget http://ibiblio.org/pub/linux/system/...1.1.37.tar.bz2
5) Edit the slackbuild executable file if needed. ("wine.SlackBuild" in this case)
pico -w wine.SlackBuild
(Or your favorite text editor.) Here I would edit the line from;
VERSION=1.1.24
to
VERSION=1.1.37
(and save/exit the editor)
6) Launch the script...
./wine.SlackBuild
.. go get some tea, browse the web, wait, etc.

The package will be in /tmp/ (normally with SBo in the filename)... I move this to a custom folder, and install it.
 
1 members found this post helpful.
Old 01-28-2010, 04:25 PM   #12
Tim Johnson
Member
 
Registered: Oct 2004
Location: Palmer, Alaska
Distribution: ubuntu 10.04, Slack 13.0/32-bit
Posts: 206

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by samac View Post
The version number thing is correct. If you go down to the configure section of the script there is a line
Code:
 --prefix=/usr \
edit that to /usr/local, though this is just a waste of time because you will almost certainly have to re-install packages, especially if they add files to the /etc directory.
Duly noted and I concur where system files are involved.
Quote:
Originally Posted by samac View Post
I just copy all the packages that I make to a directory ~/otherpkg on my home partition and after I have a new install working I just do
Code:
 installpkg *.t?z
This sounds like a well-organized way to do an upgrade.
And those packages that you have made are made using SlackBuild
as in the wine.SlackBuild file that we have been discussing?
thanks again
tim
 
  


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
Installing wine on slackware 1337 Linux - Software 3 05-02-2009 04:58 AM
Problems installing WINE on Fedora Core 6 using $yum install wine rubiks_nerd_90 Linux - Software 4 03-06-2008 08:36 AM
Installing WINE on Slackware Problem with pkginstall Saythein Linux - Software 1 08-28-2005 03:28 AM
Installing Wine -- Slackware 10.0 (help) monroehips Slackware 5 09-13-2004 07:12 AM
Installing Wine In Slackware 9.0 react Linux - Newbie 1 10-28-2003 10:39 AM


All times are GMT -5. The time now is 02:52 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration