Page 2 of 3
Re: LMDE (64bit) -pos UP5- The WINE issue
Posted: Sat Sep 29, 2012 6:38 am
by zerozero
anmys,
i spent days trying to install liquorix's wine in UP5 incoming and couldn't find a way; there's some unsolved dependencies between this package and lmde-up5 (i know that earlier in this topic i reported success installing it but was in
sid and somehow that has to make all the difference).
unfortunately atm i don't have logs of those attempts but if you go further (as i remember i did) this path >>
anmys wrote:So, I tried as before
Code: Select all
# apt-get install wine1.5 wine1.5-i386
...
The following packages have unmet dependencies:
wine1.5-i386:i386 : Depends: libpulse0:i386 (>= 0.99.1) but it is not going to be installed
Recommends: gettext:i386 but it is not going to be installed
Recommends: libgif4:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
you'll have an idea of the troubles you are up to
Re: LMDE (64bit) -pos UP5- The WINE issue
Posted: Sun Sep 30, 2012 2:46 pm
by andrez
The stable branch is not good enough especially for direct3d stuff.
So here is how to build the unstable wine branch from LMDE x64.
After you made the original tutorial from zerozero for the stable wine 1.4 you need to continue with the following:
Code: Select all
sudo apt-get install libzip-dev:i386
sudo apt-get install libglu1-mesa-dev:i386
sudo apt-get install libosmesa6-dev:i386
sudo apt-get install libgl1-mesa-dev:i386
Same rule if you need additional libs or use wine for different purposes.
After this just compile wine as usual and play!
Re: LMDE (64bit) -pos UP5- The WINE issue
Posted: Sun Sep 30, 2012 5:06 pm
by zerozero
andrez,
welcome to the forum
if i understand correctly your post, those -dev lib will be needed if one decides to compile wine, am i right?
btw, in the meantime i redid the first post in this topic adding clearer steps about wine's default installation and also from mepis repo (with pin-priority for safety
)
the way i see this i'm missing dev.carbon (already covered by seppalta) and a compilation from source << TODO
Re: LMDE (64bit) -pos UP5- The WINE issue
Posted: Sun Sep 30, 2012 5:14 pm
by ormu
-With 32bit Wine you can run 32bit Windows software
-With 64bit Wine you can run 64bit Windows software, and 32bit software if WoW64 support is enabled
-32bit Wine works on 64bit Linux if ia32-libs and some other packages are installed
...is this correct? I think I could try to compile Wine from source. Most likely the 32bit version as I don't currently have any 64bit Windows software. I don't really like to install it from other distros' repositories, or enable multi-arch.
edit: link ->
http://wiki.winehq.org/WineOn64bit
Re: LMDE (64bit) -pos UP5- The WINE issue
Posted: Sun Sep 30, 2012 5:22 pm
by zerozero
ormu,
32bit wine in lmde's repo is not multiarch and if v.1.4.1 can do what you want it's (imo) the safest bet in all this scenario.
Re: LMDE (64bit) -pos UP5- The WINE issue
Posted: Mon Oct 01, 2012 7:34 am
by andrez
thank you zerozero. Yes, these libs are for compiling 32 bit wine from a x64 LMDE system if you are planning to use wine for games as I do. if you need the latest stuff that has been developed on a particular area other than direct3d you need to include other 32bit libs but the process is similar.
The x64 version of wine will not run a 32bit executable and there is not much windows software that has been actually developed for x64 architecture.
Also the x64 version of wine is not mature enough for actual "productive" usage so you should stick to the 32bit for a year or two from now.
The version included in the distribution is as one would expect the stable 1.4 for 32bit. This can be used as a default or reference in the system but unfortunately it is too old for newer windows applications.
You can use in parallel the compiled version (the latest) without actually running make install. If you are planning to make the latest tree the default one ( a very bad idea if you ask me) then remove first the 1.4 from your system.
Re: LMDE (64bit) -pos UP5- The WINE issue
Posted: Mon Oct 01, 2012 12:16 pm
by zerozero
andrez,
in the OP i say
zerozero wrote:[...]
important (final for now) notes:
- i'm not a wine user, so i appreciate all the help (and with all the info possible);
[...]
i can easily see that you know more about wine with your eyes closed than i do with both open
if you don't mind (i know i'm asking a lot
) could you give us a howto compile wine with your optimizations?
Re: LMDE (64bit) -pos UP5- The WINE issue
Posted: Fri Oct 05, 2012 2:01 pm
by andrez
The following is the quickest and the easiest way to do it from a normal user perspective.
From a developer point of view you can use version control tools like git to remove or add certain tasks from your tree.
If you want this more complex approach then it's better to follow the tutorial from the wine page on developer sections.
More details here:
http://wiki.winehq.org/GitWine
Now lets return to the user perspective again:
Steps to compile 32bit wine from x64 LMDE:
It is recommended that you finish all the steps on
1- installing from the default repos (wine 1.4.1 at the time of writing) before beginning with the compilation of a newer version.
* 1: Browse
http://sourceforge.net/projects/wine/files/Source/ and download any version of wine you want. Then extract it anywhere you want on your system.
Let's call this location <WINE> directory from now.
* 2: Go to the <WINE> directory and type
in your terminal and wait until it finishes.
* 3: check the results of the exection
Example:
- configure: libsane 32-bit development files not found, scanners won't be supported.
configure: gstreamer-0.10 base plugins 32-bit development files not found, gstreamer support disabled
configure: OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
configure: libcups 32-bit development files not found, CUPS won't be supported.
configure: libgsm 32-bit development files not found, gsm 06.10 codec won't be supported.
configure: WARNING: libjpeg 32-bit development files not found, JPEG won't be supported.
configure: Finished. Do 'make' to compile Wine.
Depending on what you have previously installed on the system you may be having more or less of these libs missing.
* 4. Fix warnings or add libs required for your usage.
I will fix the WARNING on the libjpeg 32-bit as an example:
Code: Select all
apt-cache search 'libjpeg' | grep dev
- libjpeg62-dev - Development files for the IJG JPEG library (version 6.2)
libjpeg8-dev - Development files for the IJG JPEG library
get i386 version:
Code: Select all
sudo apt-get install libjpeg8-dev:i386
- Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gcj-4.6-base gcj-4.6-jre-lib icoutils libavahi-client-dev libavahi-common-dev libgcj12
libgcrypt11-dev libgdata1.8-cil libgettextpo0:i386 libglew1.6 libgmp10:i386 libgomp1:i386
libgpg-error-dev libieee1284-3-dev libitm1:i386 liblog4j1.2-java-gcj libmpc2:i386 libmpfr4:i386
libosmesa6 libpoppler-glib6 libpoppler13 libquadmath0:i386 librpmio2 libsane-extras-dev
libsdl-ttf2.0-0 libsmpeg0 libunistring0:i386 libxalan2-java-gcj linux-headers-3.0.0-1-common
linux-kbuild-3.0.0 wine
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
libjpeg8-dev:i386
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 232 kB of archives.
After this operation, 493 kB of additional disk space will be used.
* 5 go to step 2 and repeat the process if you need anything else.
I mentioned in my last post the libs needed for direct 3d, most of the people should fix these also:
Code: Select all
sudo apt-get install libzip-dev:i386
sudo apt-get install libglu1-mesa-dev:i386
sudo apt-get install libosmesa6-dev:i386
sudo apt-get install libgl1-mesa-dev:i386
In my example the dependencies were already solved. You may also take a look at the quick list from winehq page:
http://wiki.winehq.org/Recommended_Pack ... 64c0e7536f
6. check that the warning on libjpeg are no longer present:
- configure: libsane 32-bit development files not found, scanners won't be supported.
configure: gstreamer-0.10 base plugins 32-bit development files not found, gstreamer support disabled
configure: OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
configure: libcups 32-bit development files not found, CUPS won't be supported.
configure: libgsm 32-bit development files not found, gsm 06.10 codec won't be supported.
configure: Finished. Do 'make' to compile Wine.
* 7 run make or make -jx where x is the number of threads.
ex:
for quad core.
*8 run your application
Code: Select all
<WINE>/wine /PATH_TO_APP_NAME/APP.EXE
Re: LMDE (64bit) -pos UP5- The WINE issue
Posted: Fri Oct 05, 2012 7:31 pm
by zerozero
@andrez
cool
if you don't mind i linked your post in the OP.
Re: LMDE (64bit) -pos UP5- The WINE issue
Posted: Sat Oct 06, 2012 4:48 am
by andrez
thanks zerozero. i saw that wine is the most popular software in Linux Mint software manager in games and i believe that your post here will help us have it more accessible for x64.
Re: LMDE (64bit) -pos UP5- The WINE issue
Posted: Thu Oct 11, 2012 2:04 pm
by ormu
Ok, I enabled i386 architecture and installed wine from the standard repo - it wasn't as painful as I once thought. But I noticed two annoyances immediately:
1) Loading any Windows executable makes the mouse stutter for a short time.
2) Wine automatically changed some file associations (.txt and .info at least) which I definitely didn't want. Now I'm just asking WHY? Who really wants to open standard plaintext files in the horrible Windows notepad when 1) not using Windows, 2) having lots of better alternatives? (I would better understand this if Notepad++ were included with Wine - it's actually one of the reasons for me to install Wine. But the basic Windows notepad, seriously...)
I looked at compiling as well but Wine needed a 32-bit Freetype development library and when I tried to install it a bunch of important packages was listed in the "to be removed" section and I didn't want to remove them. Has anyone encountered this problem? I may still have to compile as I want to try some stuff that might need a newer version than 1.4.x.
Re: LMDE (64bit) -pos UP5- The WINE issue
Posted: Thu Oct 11, 2012 4:50 pm
by zerozero
hi ormu,
i noticed annoyance 2) as well
luckily is fairly easy to revert those changes back
Re: LMDE (64bit) -pos UP5- The WINE issue
Posted: Thu Nov 08, 2012 7:40 am
by ormu
I noticed that some of the default programs used by Firefox were also replaced with the Wine alternatives, e.g. when you click a link to a text file, it asks whether to open or save the file, in the "open" dialog the Wine notepad is listed as default. I was able to fix this by deleting all desktop objects pointing to Wine notepad from ~/.local/share/applications/
I also sent complainments to the packagers. I don't understand why anyone would use wine programs if there are better native ones available.
Re: LMDE (64bit) -pos UP5- The WINE issue
Posted: Mon Nov 26, 2012 9:49 pm
by lizbeth
checking whether gcc -m32 works... no
configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.
Re: LMDE (64bit) -pos UP5- The WINE issue
Posted: Mon Nov 26, 2012 10:00 pm
by zerozero
i'm assuming you are trying to compile it following andrez howto
http://forums.linuxmint.com/viewtopic.p ... 65#p635465
do you have
installed?
Re: LMDE (64bit) -pos UP5- The WINE issue
Posted: Mon Nov 26, 2012 10:05 pm
by lizbeth
No, something else entirely but i thought it to be much along the same lines
http://www.iheartubuntu.com/2012/11/net ... -here.html
Re: LMDE (64bit) -pos UP5- The WINE issue
Posted: Mon Nov 26, 2012 10:12 pm
by zerozero
ahh i see
the build *should* (theoretically) be similar.
Re: LMDE (64bit) -pos UP5- The WINE issue
Posted: Mon Nov 26, 2012 10:16 pm
by lizbeth
sudo apt-get build-dep gcc:i386
Working... this may take a while.
E: Ignore unavailable version '1.119' of package 'gcc:i386'
E: Unable to find a source package for gcc-defaults
Reading package lists... Done
Building dependency tree
Reading state information... Done
Picking 'gcc-defaults' as source package instead of 'gcc:i386'
E: Ignore unavailable version '1.119' of package 'gcc:i386'
E: Unable to find a source package for gcc-defaults
Re: LMDE (64bit) -pos UP5- The WINE issue
Posted: Mon Nov 26, 2012 10:18 pm
by lizbeth
Well, I had hoped it would be similar... I thought I might be smart enough to get the kinks out... but as usual I am in over my head
Re: LMDE (64bit) -pos UP5- The WINE issue
Posted: Mon Nov 26, 2012 10:25 pm
by lizbeth
./configure --build=i386