Compiling Wine from source/.tar.bz2 for NOOB

Questions about Wine on Linux
Locked
SaleX
Newbie
Newbie
Posts: 2
Joined: Fri Nov 20, 2015 8:22 am

Compiling Wine from source/.tar.bz2 for NOOB

Post by SaleX »

I am new to Linux and Wine too.
Until now (3 days ago :D ) I used PPA and apt-get wine1.7, straight forward process, but there is no Wine1.8-rc1 in PPA atm so I am let's say forced to compile it.
I read BuildingWine and there is too much new stuff for me, and lot of them are giving some errors or just not working so I am forced to ask for help.

I usually use Wine like this:
- WINEARCH=win32 WINEPREFIX="$HOME/Wine32" - for 32bit programs experiment
- WINEARCH=win64 WINEPREFIX="$HOME/Wine64" - for 64bit programs experiment
- regular WINEPREFIX (.wine) - for experiment fault safe regular use
- debug symbols - for more informative Backtrace

So, can you help me to automate this process, like:
- auto dependencies resolve command/batch
- compile Wine satisfying requirements from above
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Compiling Wine from source/.tar.bz2 for NOOB

Post by dimesio »

These instructions may be easier to follow: http://wiki.winehq.org/BuildingBiarchWineOnUbuntu.
SaleX
Newbie
Newbie
Posts: 2
Joined: Fri Nov 20, 2015 8:22 am

Re: Compiling Wine from source/.tar.bz2 for NOOB

Post by SaleX »

Until now I used this bash:

Code: Select all

#!/bin/sh
cd $HOME
# Adding Wine1.7 PPA repository
sudo add-apt-repository ppa:ubuntu-wine/ppa
# Updating PPA repository
sudo apt-get update
# Resolve Wine dependencies
sudo apt-get build-dep wine
# Installing "wine1.7 wine1.7-dbg wine1.7-dbg:i386"
sudo apt-get install wine1.7 wine1.7-dbg wine1.7-dbg:i386
# Installing "cabextract p7zip unrar unzip wget zenity" for Winetricks
sudo apt-get install cabextract p7zip unrar unzip wget zenity
# Downloading Winetricks
wget  https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
# Allow Winetricks executing
chmod +x winetricks
Can someone help me achieve same result but with compiling? (All default folders and config)
Locked