Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 02-13-2004, 03:15 PM   #1 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
mono compiler on debian

is anyone using mono ( www.go-mono.com ) on debian?

i have a simple program:
Code:
using System; 
namespace test 
{ 
  class  Hello 
  { 
    public static void Main() 
    { 
        Console.WriteLine("Hello World\n"); 
    } 
  } 
}
when i compile it, i get this error:
Quote:
# mcs test.cs

Unhandled Exception: System.NotImplementedException: The requested feature is not yet implemented
in <0x0002a> 00 System.Reflection.Emit.AssemblyBuilderefineVersion InfoResource ()
in <0x011bc> 00 Mono.CSharp.Driver:MainDriver (string[])
in <0x0001a> 00 Mono.CSharp.Driver:Main (string[])
any ideas on this one?
__________________
Mike
sde is offline   Reply With Quote
Old 02-13-2004, 07:41 PM   #2 (permalink)
sdeming
Code Monkey
 
Join Date: Jul 2002
Location: Michigan
Posts: 85
sdeming is on a distinguished road
Strange, I just copied and compiled that code without any problems on RH9 and Mono.
Code:
$ mcs Hello.cs 
Compilation succeeded
$ mono Hello.exe
Hello World

$
Perhaps running mcs with the "-v" option will shed some light on this? Also, which version are you running (mcs --version)? I am currently using:
Code:
$ mcs --version
Mono C# compiler version 0.29.99.42746
__________________
Scott
B4 09 BA 09 01 CD 21 CD 20 53 63 6F 74 74 24
sdeming is offline   Reply With Quote
Old 02-13-2004, 10:04 PM   #3 (permalink)
Kernel_Killer
Regular Contributor
 
Kernel_Killer's Avatar
 
Join Date: Feb 2003
Location: indisclosed
Posts: 210
Kernel_Killer is on a distinguished road
earlier versions 0.29 have had a problem with compiling correctly. I'm not exactly sure what build of 0.29 it was, but I ended up dropping back to 0.28.
Kernel_Killer is offline   Reply With Quote
Old 02-13-2004, 10:11 PM   #4 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
0.29.99.0

maybe i need to compile a newer version from source ?
__________________
Mike
sde is offline   Reply With Quote
Old 02-14-2004, 10:04 AM   #5 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
it would have been nice, but i suppose it's not that big of a deal since i can compile in visual studio =)
__________________
Mike
sde is offline   Reply With Quote
Old 05-02-2004, 07:21 PM   #6 (permalink)
pe666o
Registered User
 
pe666o's Avatar
 
Join Date: Apr 2004
Posts: 7
pe666o is on a distinguished road
Send a message via ICQ to pe666o
problem installing mcs on DEBIAN

Hello,
I have a problem setting up MONO on my lindows os.
pe666o:/work/mono/mono# make fullbuild
rm ../mcs/class/lib/mscorlib.dll ../mcs/mcs/mcs.exe runtime/*dll runtime/*.exe > /dev/null 2>&1; echo

(cd ../mcs/jay; make)
make[1]: Entering directory `/work/mono/mcs/jay'
make[1]: Leaving directory `/work/mono/mcs/jay'
(cd ../mcs/mcs; make MCS=mcs BOOTSTRAP_MCS=mcs)
make[1]: Entering directory `/work/mono/mcs/mcs'
mcs -d:NET_1_1 -d:ONLY_1_1 -g /target:exe /out:mcs.exe AssemblyInfo.cs anonymous.cs assign.cs attribute.cs driver.cs cs-tokenizer.cs cfold.cs class.cs codegen.cs const.cs constant.cs convert.cs decl.cs delegate.cs enum.cs ecore.cs expression.cs flowanalysis.cs genericparser.cs interface.cs iterators.cs literal.cs location.cs modifiers.cs namespace.cs parameter.cs pending.cs report.cs rootcontext.cs statement.cs support.cs typemanager.cs symbolwriter.cs tree.cs cs-parser.cs
make[1]: mcs: Command not found
make[1]: *** [mcs.exe] Error 127
make[1]: Leaving directory `/work/mono/mcs/mcs'
make: *** [mcs-tree-safe-build] Error 2




thats what o get when i try' make fullbuild' from mono soutce dir.
mono and mint are installed but there is no way i can make the damn mcs to install. i have both mono and mcs source dirs.
please can anyone help me!?
pe666o is offline   Reply With Quote
Old 05-02-2004, 09:33 PM   #7 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,692
redhead is on a distinguished road
Well that figures:
Quote:
rm ../mcs/class/lib/mscorlib.dll ../mcs/mcs/mcs.exe runtime/*dll runtime/*.exe > /dev/null 2>&1; echo
...
mcs -d:NET_1_1 -d:ONLY_1_1 -g /target:exe /out:mcs.exe
...
make[1]: mcs: Command not found
No wonder mcs can't be found, when the build removes it prior to it's own use...
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Old 05-03-2004, 09:04 AM   #8 (permalink)
pe666o
Registered User
 
pe666o's Avatar
 
Join Date: Apr 2004
Posts: 7
pe666o is on a distinguished road
Send a message via ICQ to pe666o
damn,
OK are there any decent documentation how to install this MONO on linux? nothing on the site, and install.txt, etc., simply suck and is actually wrong.

Anyone know of any link!? or any of you who succesfuly have installed it please give me detailed steps to go through.
pe666o is offline   Reply With Quote
Old 05-03-2004, 09:53 AM   #9 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
http://n.ethz.ch/student/awuest/debi...ion_woody.html

( i think this guy stopped updating the site though )
http://www.atoker.com/mono/

and here's a board
http://www.gotmono.com/cgi-bin/yabb/YaBB.pl

good luck
__________________
Mike
sde is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
colors in cl / debian sde Linux / BSD / OS X 2 09-28-2004 06:29 PM
Compiler Comparison Fred Standard C, C++ 4 05-17-2004 03:17 PM
Debian v3.0 release bdl Linux / BSD / OS X 11 08-09-2002 10:25 PM


All times are GMT -8. The time now is 06:30 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting