LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-21-2005, 10:50 AM   #1
ym2149
LQ Newbie
 
Registered: Aug 2005
Distribution: Fedora
Posts: 2

Rep: Reputation: 0
Mono on Fedora (FC4)


Hi!

I've just switched from XP to Linux and need to get Mono working.
Installation seems ok, but I cannot compile anything at all. I've read here and there that there is a problem with mono on fedora FC4, so I was wondering if anyone has managed to get this combo up and running?

/ym
 
Old 08-23-2005, 01:11 AM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Are there any errors?

Can you run mcs --help, mcs --help2 or mcs --about?

What happens when you try to compile some "hello.cs" into a Mono .exe?

Have you tried "mcs -v hello.cs"?
 
Old 08-23-2005, 03:11 AM   #3
ym2149
LQ Newbie
 
Registered: Aug 2005
Distribution: Fedora
Posts: 2

Original Poster
Rep: Reputation: 0
A simple Console.Write() works fine actually. But trying something like:

Code:
using System;
using Gtk;
using GtkSharp;

namespace MyWindow
{
	public class CreatedWindow : Window
	{
           .........
I get "Cannot find type 'Window'". I guess I missed something while installing?
 
Old 08-23-2005, 09:38 AM   #4
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
It certainly sounds like you're "missing something".

Please:

1. List the Mono/GTK assemblies you have installed
2. Did you install from RPM, or build them yourself?
3. Cut/paste the exact error message (compile error? runtime error? what's the exact msg?)
 
  


Reply



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
How to mount NTFS into Fedora FC4 - Solution itz2000 Fedora 11 12-26-2005 03:21 PM
Fedora Core 4 (FC4) will not shutdown properly MikeyCarter Fedora 7 11-29-2005 03:17 PM
New Convert -- Fedora FC4 1kyle Fedora 8 09-16-2005 10:38 AM
Fedora FC3 to FC4 Chrach GunnarK Linux - Software 2 09-15-2005 02:48 AM
Reading files with Fedora FC4 from XP[ntfs] itz2000 Fedora 4 08-24-2005 04:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:35 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration