LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-26-2010, 08:35 PM   #1
radwa
LQ Newbie
 
Registered: Mar 2010
Posts: 20

Rep: Reputation: 0
Mono error message using wine


Hello
I just installed wine in an attempt to open .exe files. When running the code line
/wine/file.exe
the following message appeared:
wine: Install the Windows version of Mono to run .NET executables

I tried out two things, both of which didn't work and the message still appears every time I try to use wine

1st: yum install mono-core.i686
It is the Mono CIL runtime, suitable for running .NET code

2nd: downloading mono windows version from the original website but still couldn't install it because it is an .exe file

Thanks for any help!
 
Old 09-26-2010, 11:52 PM   #2
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
mono is the linux-version of the .NET-framework. to make windows-applications that use the .NET-framework work in wine you have to install the windows-version of mono (=> the .NET-framework ) in wine.
mono is required to run programs that are written in a .NET-language (such as C#, VB# and others) on linux (only versions 1.1 and 2.0 are currently supported).

you have to install the .NET-Framework from the mocrosoft-homepage. But afaik it doesn't really work (i do always get an error-message when doing that). Please tell me if it worked (and how you did it).

and wine is used to run windows program under linux

so do this to install

Quote:
wine windowsprogram.exe
 
Old 09-27-2010, 07:24 AM   #3
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
You are both wrong!

You install the Windows version of Mono in Wine, not in Linux! How on earth do you think the Windows app will access Mono that's installed in Linux? M$'s .NET would probably work, too, but I think that Wine suggests Mono because it's open-source.

Last edited by MTK358; 09-27-2010 at 07:25 AM.
 
Old 09-27-2010, 03:10 PM   #4
radwa
LQ Newbie
 
Registered: Mar 2010
Posts: 20

Original Poster
Rep: Reputation: 0
@MTK358, how do I do that? under the applications menu i see 'wine' but i am not sure how to install the Mono IN it?? Srry still a newbie!

@prayag, i followed what you said and indeed still got an error message

WARNING **: mono_class_from_mono_type: implement me 0xb6
**
ERROR:class.c:5499:mono_class_from_mono_type: code should not be reached
 
Old 09-27-2010, 04:14 PM   #5
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
radwa: do you know how to install apps in Wine?
 
Old 09-27-2010, 04:32 PM   #6
radwa
LQ Newbie
 
Registered: Mar 2010
Posts: 20

Original Poster
Rep: Reputation: 0
no, i just installed wine yesterday and still trying to understand it
 
Old 09-27-2010, 05:10 PM   #7
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
Wine translates Windows calls to Linux/X Window System calls and redirects all file operations to a folder in your home dir called .wine/drive_c, which acts as the Windows file hierarchy. To run a program in Wine, use this command:

Code:
wine /path/to/program.exe
 
  


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
wine 1.0.0 error message when installing *.exe larryfroot Linux - Software 1 06-26-2008 08:02 AM
WINE error message, what does this mean Kittie Rose Linux - Software 2 12-02-2006 05:10 AM
WINE error message, what does this mean Kittie Rose Linux - General 1 12-01-2006 03:06 PM
Wine Problem. Weird error message. Genesis Linux - Software 3 06-20-2003 12:19 PM
Wine error message Mystic_Places Linux - Newbie 2 05-22-2003 12:19 PM


All times are GMT -5. The time now is 11:13 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