You may have to get the mcs and class library binaries from
mono.baselabs.org if you use RPMS.  If you look on 
the http://www.go-mono.com/download.html page, 
they have a link for DEBS too.

Currently, corlib only builds on windows.  However, other class library
assemblies and the mcs compiler can be compiled on Linux, but you need
to get the binaries first.

Sort of like, in order to build gcc, you have to have the gcc binaries.

-----Original Message-----
From: Alexandros Karypidis [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, May 30, 2002 12:54 PM
To: Daniel Morgan
Cc: [EMAIL PROTECTED]
Subject: What/Where is "csc.exe"?

Thanks!

I downloaded the libs and compiler from monolabs and it works ok.  I can

compile and run "Hello world" and other examples.  I am now trying to 
compile my own mcs (after a checkout of the mcs tree) and am stuck
there.

It seems I need some tool called "csc.exe" which does not exist in the 
monolabs binaries:

========================================
karypid@grads-d5-pc-2:~/Code/Mono/mcs> make linux
for i in jay nant mcs class nunit tools; do                     \
        (cd $i; make linux) || exit 1;  \
done
make[1]: Entering directory `/laptop-home/Code/Mono/mcs/jay'
[SOME TRUNCATED, SUCCESSFUL "cc" COMPILES HERE]
cc -o jay  closure.o error.o lalr.o lr0.o main.o mkpar.o output.o 
reader.o symtab.o verbose.o warshall.o
main.o: In function `create_file_names':
main.o(.text+0x551): the use of `mktemp' is dangerous, better use
`mkstemp'
make[1]: Leaving directory `/laptop-home/Code/Mono/mcs/jay'
make[1]: Entering directory `/laptop-home/Code/Mono/mcs/nant'
csc /out:NAnt.exe /recurse:*.cs
/bin/sh: csc: command not found
make[1]: *** [NAnt.exe] Error 127
make[1]: Leaving directory `/laptop-home/Code/Mono/mcs/nant'
make: *** [linux] Error 1
karypid@grads-d5-pc-2:~/Code/Mono/mcs>
========================================

Daniel Morgan wrote:

>You need to check out from cvs the mcs module.
>
>Such as:
>cvs -z3 checkout mcs
>
>cd mcs
>
>make
>
>cp mcs/mcs* ~/mono/install/bin
>cp class/lib/* ~/mono/install/lib
>
>Make sure your ~/mono/install/bin path is in your $PATH
>And that ~/mono/install/lib path is in your $LD_LIBRARY_PATH and $PATH
>
>Your install prefix may differ from what the ~/mono/install I used
>above.
>
>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
>Behalf Of Alexandros Karypidis
>Sent: Wednesday, May 29, 2002 3:53 PM
>To: [EMAIL PROTECTED]
>Subject: [Mono-list] Zero-sized DLLs (corlib, System.* etc.)
>
>Hello everyone,
>
>I am trying to compile mono using anonymous CVS access.  I executed 
>"mono-build.sh" and used anonymouse CVS to checkout the source tree. 
> Everything compiles ok with no error messages.  When I try to run mcs 
>however I get:
>
>=======================================================
>karypid@grads-d5-pc-2:~/Code/Mono/install/bin> ./mcs
>The assembly corlib.dll was not found or could not be loaded.
>It should have been installed in the 
>`/laptop-home/Code/Mono/install/lib' directory.
>=======================================================
>
>Obviously, it's because:
>
>=======================================================
>karypid@grads-d5-pc-2:~/Code/Mono/install/bin> ls -l 
>~/Code/Mono/install/lib/*.dll
>-rw-r--r--    1 karypid  users           0 May 29 22:49 
>/laptop-home/Code/Mono/install/lib/System.Data.dll
>-rw-r--r--    1 karypid  users           0 May 29 22:49 
>/laptop-home/Code/Mono/install/lib/System.Drawing.dll
>-rw-r--r--    1 karypid  users           0 May 29 22:49 
>/laptop-home/Code/Mono/install/lib/System.Web.dll
>-rw-r--r--    1 karypid  users           0 May 29 22:49 
>/laptop-home/Code/Mono/install/lib/System.Xml.dll
>-rw-r--r--    1 karypid  users           0 May 29 22:49 
>/laptop-home/Code/Mono/install/lib/System.dll
>-rw-r--r--    1 karypid  users           0 May 29 22:49 
>/laptop-home/Code/Mono/install/lib/corlib.dll
>=======================================================
>
>Am I supposed to obtain these from somewhere else? (e.g. msdn)
>
>
>
>_______________________________________________
>Mono-list maillist  -  [EMAIL PROTECTED]
>http://lists.ximian.com/mailman/listinfo/mono-list
>




_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to