LMDE (64bit) -pos UP5- The WINE issue

Questions about applications and software
Forum rules
Before you post please read this

Re: LMDE (64bit) -pos UP5- The WINE issue

Postby zerozero on Sat Sep 29, 2012 6:38 am

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
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6488
Joined: Tue Jul 07, 2009 2:29 pm

Linux Mint is funded by ads and donations.
 

Re: LMDE (64bit) -pos UP5- The WINE issue

Postby andrez on Sun Sep 30, 2012 2:46 pm

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!
andrez
Level 1
Level 1
 
Posts: 4
Joined: Sun Sep 30, 2012 10:20 am

Re: LMDE (64bit) -pos UP5- The WINE issue

Postby zerozero on Sun Sep 30, 2012 5:06 pm

andrez,
welcome to the forum :D
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 :wink: )

the way i see this i'm missing dev.carbon (already covered by seppalta) and a compilation from source << TODO
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6488
Joined: Tue Jul 07, 2009 2:29 pm

Re: LMDE (64bit) -pos UP5- The WINE issue

Postby ormu on Sun Sep 30, 2012 5:14 pm

-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
ormu
Level 1
Level 1
 
Posts: 24
Joined: Mon Dec 19, 2011 3:42 pm

Re: LMDE (64bit) -pos UP5- The WINE issue

Postby zerozero on Sun Sep 30, 2012 5:22 pm

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.
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6488
Joined: Tue Jul 07, 2009 2:29 pm

Re: LMDE (64bit) -pos UP5- The WINE issue

Postby andrez on Mon Oct 01, 2012 7:34 am

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.
andrez
Level 1
Level 1
 
Posts: 4
Joined: Sun Sep 30, 2012 10:20 am

Re: LMDE (64bit) -pos UP5- The WINE issue

Postby zerozero on Mon Oct 01, 2012 12:16 pm

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 :lol:
if you don't mind (i know i'm asking a lot :P ) could you give us a howto compile wine with your optimizations? :D
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6488
Joined: Tue Jul 07, 2009 2:29 pm

Re: LMDE (64bit) -pos UP5- The WINE issue

Postby andrez on Fri Oct 05, 2012 2:01 pm

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

Code: Select all
./configure


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_Packages#head-a17f30175497e3c24b87cf7cee667664c0e7536f

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:
Code: Select all
make -j4

for quad core.


*8 run your application
Code: Select all
<WINE>/wine /PATH_TO_APP_NAME/APP.EXE
Last edited by andrez on Sat Oct 06, 2012 12:05 pm, edited 2 times in total.
andrez
Level 1
Level 1
 
Posts: 4
Joined: Sun Sep 30, 2012 10:20 am

Re: LMDE (64bit) -pos UP5- The WINE issue

Postby zerozero on Fri Oct 05, 2012 7:31 pm

@andrez
cool :D
if you don't mind i linked your post in the OP.
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6488
Joined: Tue Jul 07, 2009 2:29 pm

Re: LMDE (64bit) -pos UP5- The WINE issue

Postby andrez on Sat Oct 06, 2012 4:48 am

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.
andrez
Level 1
Level 1
 
Posts: 4
Joined: Sun Sep 30, 2012 10:20 am

Re: LMDE (64bit) -pos UP5- The WINE issue

Postby ormu on Thu Oct 11, 2012 2:04 pm

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.
ormu
Level 1
Level 1
 
Posts: 24
Joined: Mon Dec 19, 2011 3:42 pm

Re: LMDE (64bit) -pos UP5- The WINE issue

Postby zerozero on Thu Oct 11, 2012 4:50 pm

hi ormu,
i noticed annoyance 2) as well :lol: luckily is fairly easy to revert those changes back
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6488
Joined: Tue Jul 07, 2009 2:29 pm

Re: LMDE (64bit) -pos UP5- The WINE issue

Postby ormu on Thu Nov 08, 2012 7:40 am

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.
ormu
Level 1
Level 1
 
Posts: 24
Joined: Mon Dec 19, 2011 3:42 pm

Re: LMDE (64bit) -pos UP5- The WINE issue

Postby lizbeth on Mon Nov 26, 2012 9:49 pm

checking whether gcc -m32 works... no
configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.
lizbeth
Level 4
Level 4
 
Posts: 314
Joined: Thu Mar 31, 2011 5:44 pm

Re: LMDE (64bit) -pos UP5- The WINE issue

Postby zerozero on Mon Nov 26, 2012 10:00 pm

i'm assuming you are trying to compile it following andrez howto viewtopic.php?f=190&t=111026&p=635465#p635465
do you have
Code: Select all
ia32-libs-dev
installed?
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6488
Joined: Tue Jul 07, 2009 2:29 pm

Re: LMDE (64bit) -pos UP5- The WINE issue

Postby lizbeth on Mon Nov 26, 2012 10:05 pm

No, something else entirely but i thought it to be much along the same lines

http://www.iheartubuntu.com/2012/11/net ... -here.html
lizbeth
Level 4
Level 4
 
Posts: 314
Joined: Thu Mar 31, 2011 5:44 pm

Re: LMDE (64bit) -pos UP5- The WINE issue

Postby zerozero on Mon Nov 26, 2012 10:12 pm

ahh i see 8) the build *should* (theoretically) be similar.
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6488
Joined: Tue Jul 07, 2009 2:29 pm

Re: LMDE (64bit) -pos UP5- The WINE issue

Postby lizbeth on Mon Nov 26, 2012 10:16 pm

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
lizbeth
Level 4
Level 4
 
Posts: 314
Joined: Thu Mar 31, 2011 5:44 pm

Re: LMDE (64bit) -pos UP5- The WINE issue

Postby lizbeth on Mon Nov 26, 2012 10:18 pm

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 :mrgreen:
lizbeth
Level 4
Level 4
 
Posts: 314
Joined: Thu Mar 31, 2011 5:44 pm

Re: LMDE (64bit) -pos UP5- The WINE issue

Postby lizbeth on Mon Nov 26, 2012 10:25 pm

./configure --build=i386
lizbeth
Level 4
Level 4
 
Posts: 314
Joined: Thu Mar 31, 2011 5:44 pm

Linux Mint is funded by ads and donations.
 
PreviousNext

Return to Software & Applications

Who is online

Users browsing this forum: Google Feedfetcher and 2 guests