Page 1 of 1

[SOLVED] wine not working on mageia 3

PostPosted: Oct 17th, '13, 16:42
by astro_sutradhar
hi,
I'm getting this error on mageia 3 64bits
Code: Select all
[sutradhar@localhost Downloads]$ wine winbox.exe
Wine cannot find the ncurses library (libncurses.so.5).
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
wine: Unhandled page fault on read access to 0x0000005c at address 0x7e0728d0 (thread 0009), starting debugger...
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
err:syslink:SYSLINK_SetFont Failed to create link font!
libncurses is installed


thanks

Re: wine not working on mageia 3

PostPosted: Oct 17th, '13, 20:40
by doktor5000
Did you maybe carelessly run urpme --auto-orphans recently?
Please reinstall wine via
Code: Select all
urpme wine wine32; urpmi wine

Re: wine not working on mageia 3

PostPosted: Oct 22nd, '13, 21:03
by canadaist
I have no fonts in wine mageia 64
I installed freetype
lib64freetype2-1.3.1-42.mga3.tainted.x86_64.rpm
but at cli it protests no freetype found,
Code: Select all
wine progman
produces a text free window
I hope this meets the 'not working' portion of this thread

Re: wine not working on mageia 3

PostPosted: Oct 22nd, '13, 22:01
by jkerr82508
I get an empty window also when I try progman. I assume that you need to populate it by adding program groups and program files. I've never seen a need for progman and have never tried to use it. Progman, unlike other wine programs, is excluded from the Mageia menu. Perhaps because it is known not to work. (It is ancient win3 era software.)

Do other wine programs, such as notepad and winefile work? They do for me. If they do then wine is working and the issue is only about progman and/or winbox and the subject of the thread should be modified.

What do you mean by "no fonts in wine". Do you mean that ~/.wine/drive_c/windows/Fonts is non-existent or empty? That is quite normal. Wine fonts are installed in /usr/share/wine/fonts/

Was any error reported when you ran the command suggested by doktor5000?

I downloaded winbox-2.2.16.exe from http://www.mikrotik.co.id/download.php and the program launches without a problem. I have no need for it personally and so made no attempt to proceed any further.

Jim

Re: wine not working on mageia 3

PostPosted: Oct 22nd, '13, 22:22
by canadaist
Using the launcher from Tools> emulators etc, to run winfile and notepad:

On winfile and notepad, I get a winfile (or notepad) corner icon, three empty (no ttf icons) min max close buttons on the other top corner, on a grey box, and the normal win95 colors for the (empty) title bars, just like it did for progman

I just typed progman, (old enough to remember) randomly

I have not uninstalled or re-installed

/usr/share/wine/fonts/ is populated

Re: wine not working on mageia 3

PostPosted: Oct 22nd, '13, 22:38
by jkerr82508
What does this report?
Code: Select all
rpm -qa | grep ncurses

Jim

Re: wine not working on mageia 3

PostPosted: Oct 22nd, '13, 22:39
by canadaist
lib64ncurses-devel-5.9-10.mga3
ncurses-5.9-10.mga3
lib64ncursesw5-5.9-10.mga3
lib64ncurses5-5.9-10.mga3

Re: wine not working on mageia 3

PostPosted: Oct 22nd, '13, 22:49
by jkerr82508
A possible solution for winbox (no guarantees): Install the 32 bit (i586) version of libncurses5. You may also need the tainted 32 bit version of libfreetype2 and/or libfreetype6.

I think that you should first run the commands suggested by doktor5000. Make sure that you have the core32 and core32-updates repo's enabled when you do.

Jim

Re: wine not working on mageia 3

PostPosted: Oct 22nd, '13, 22:59
by canadaist
OK, some progress.

I deleted the .wine directory, ran the launcher for notepad again, got similar results, but

I then went back to the .wine directory in home, found the dosdevices sub directory, and double clicked the explorer.exe and got what have been calling winfile, or more correctly, explorer looking like what expected from my command, with fonts

none of the launchers work, and I am looking for the other progs, so as to begin making changes to launcher commands.

If they exist.

Re: wine not working on mageia 3

PostPosted: Oct 22nd, '13, 23:02
by doktor5000
Can you please first reinstall wine before changing any launchers? They're all working here.

Re: wine not working on mageia 3

PostPosted: Oct 22nd, '13, 23:42
by canadaist
uninstall wine64 wine32 wine-mono wine64-gecko and wine-gecko?

and then install:

Re: wine not working on mageia 3

PostPosted: Oct 22nd, '13, 23:50
by doktor5000
wine and wine32, as mentioned previously.

Re: wine not working on mageia 3

PostPosted: Oct 23rd, '13, 00:03
by canadaist
Edit: Thank you, thank you very much,

The launcher in Tools> Emulators> Wine now work as remembered

Avoiding wine64 is a good idea? What was done wrong in my original install?

Re: wine not working on mageia 3

PostPosted: Oct 23rd, '13, 20:19
by doktor5000
As you don't have any log what you installed initially nor provide the steps you have taken to install wine, how could we tell what was wrong?
Also you didn't provide the output when running applications with wine.
For wine64, see here: viewtopic.php?f=41&t=5082


On a related note, thanks to you for hijacking this thread, this is normally disregarded. :|

Re: wine not working on mageia 3

PostPosted: Oct 23rd, '13, 20:58
by jkerr82508
doktor5000 wrote:On a related note, thanks to you for hijacking this thread

I hadn't noticed that this had been done, which explains why some of my comments probably don't make sense. :oops:

Jim

Re: [Solved] wine not working on mageia 3

PostPosted: Oct 28th, '13, 12:34
by astro_sutradhar
Thanks
Uninstalling and reinstalling did the trick