LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Mono on Fedora (FC4) (https://www.linuxquestions.org/questions/linux-software-2/mono-on-fedora-fc4-355505/)

ym2149 08-21-2005 10:50 AM

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

paulsm4 08-23-2005 01:11 AM

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"?

ym2149 08-23-2005 03:11 AM

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?

paulsm4 08-23-2005 09:38 AM

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?)


All times are GMT -5. The time now is 11:14 PM.