[Mono-devel-list] Compiling from sources

Arnhoffer Károly karnhoffer at ecron.hu
Fri Aug 5 06:12:03 EDT 2005


Hi,

make[4]: Entering directory `/home/karnhoffer/Documents/mono_src/svn/mcs'
make PROFILE=basic all
make[5]: Entering directory `/home/karnhoffer/Documents/mono_src/svn/mcs'
*** The compiler 'mcs' doesn't appear to be usable.
*** The contents of your 'monolite' directory are out-of-date
*** You may want to try 'make get-monolite-latest'
make[5]: *** [do-profile-check] Error 1
make[5]: Leaving directory `/home/karnhoffer/Documents/mono_src/svn/mcs'
make[4]: *** [profile-do--basic--all] Error 2
make[4]: Leaving directory `/home/karnhoffer/Documents/mono_src/svn/mcs'
make[3]: *** [profiles-do--all] Error 2
make[3]: Leaving directory `/home/karnhoffer/Documents/mono_src/svn/mcs'
make[2]: *** [all-local] Error 1
make[2]: Leaving directory `/home/karnhoffer/Documents/mono_src/svn/mono/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/karnhoffer/Documents/mono_src/svn/mono'
make: *** [all] Error 2
karnhoffer at linux:~/Documents/mono_src/svn/mono>

Again. :)

Mystic, becouse I have "make get-monolite-latest"....

Arnhoffer Károly

-----Original Message-----
From: Matthias Felgner [mailto:matthiasf at voelcker.com] 
Sent: Friday, August 05, 2005 11:15 AM
To: Arnhoffer Károly; mono-devel-list at lists.ximian.com
Subject: AW: [Mono-devel-list] Compiling from sources


Hi,

Please follow:


cd libgdiplus
./autogen.sh (./autogen.sh --prefix=/usr)
make
su
make install
/sbin/ldconfig (see "Making sure gdiplus is found" below)
exit (takes you back to a normal user)
cd ../mono
./autogen.sh (--prefix=/usr) --with-preview= {yes/no} (see below) make get-monolite-latest make su make install exit cd ../gtk-sharp ./bootstrap (-2.4 --prefix=/usr) (see below) make su make install exit cd ../monodoc ./autogen.sh (--prefix=/usr) make su make install


source: http://www.all-the-johnsons.co.uk/mono/mono-compiling.html

that gets you monolite in the process, which is a mono environment you can build mono from svn with...

Please report back if you run into problems.

--Matt

-----Ursprüngliche Nachricht-----
Von: Arnhoffer Károly [mailto:karnhoffer at ecron.hu] 
Gesendet: Freitag, 5. August 2005 11:12
An: Matthias Felgner; mono-devel-list at lists.ximian.com
Betreff: RE: [Mono-devel-list] Compiling from sources

Hi,

Now I have MonoCharge installed I have the Mono sources but make fails:

make[4]: Entering directory `/home/karnhoffer/Documents/mono_src/svn/mcs' 
make PROFILE=basic all 
make[5]: Entering directory 
`/home/karnhoffer/Documents/mono_src/svn/mcs' 
*** The compiler 'mcs' doesn't appear to be usable. 
*** You need a C# compiler installed to build MCS (make sure mcs works 
from thecommand line) 
*** Read INSTALL.txt for information on how to bootstrap a Mono 
installation. 
make[5]: *** [do-profile-check] Error 1 
make[5]: Leaving directory 
`/home/karnhoffer/Documents/mono_src/svn/mcs' 
make[4]: *** [profile-do--basic--all] Error 2 
make[4]: Leaving directory 
`/home/karnhoffer/Documents/mono_src/svn/mcs' 
make[3]: *** [profiles-do--all] Error 2 
make[3]: Leaving directory 
`/home/karnhoffer/Documents/mono_src/svn/mcs' 
make[2]: *** [all-local] Error 1 
make[2]: Leaving directory 
`/home/karnhoffer/Documents/mono_src/svn/mono/runtime' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory 
`/home/karnhoffer/Documents/mono_src/svn/mono' 
make: *** [all] Error 2 
karnhoffer at linux:~/Documents/mono_src/svn/mono>   


It says that mcs is missing (?). It is now biudling, is it not? 

Arnhoffer Károly

-----Original Message-----
From: mono-devel-list-bounces at lists.ximian.com [mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of Matthias Felgner
Sent: Thursday, August 04, 2005 2:57 PM
To: mono-devel-list at lists.ximian.com
Subject: RE:[Mono-devel-list] Compiling from sources


Try

svn co http://svn.myrealbox.com/source/trunk/mcs


--Matt
-----Ursprüngliche Nachricht-----
Von: Arnhoffer Károly [mailto:karnhoffer at ecron.hu] 
Gesendet: Donnerstag, 4. August 2005 15:01
An: Matthias Felgner; mono-devel-list at lists.ximian.com
Betreff: RE: [Mono-devel-list] Compiling from sources

Hi,

I can not download from this svn:

karnhoffer at linux:~> svn co svn://svn.myrealbox.com/source/trunk/mcs             
svn: Can't connect to host 'svn.myrealbox.com': Connection refused karnhoffer at linux:~>

:(

Arnhoffer Károly

-----Original Message-----
From: Matthias Felgner [mailto:matthiasf at voelcker.com]
Sent: Thursday, August 04, 2005 1:45 PM
To: Arnhoffer Károly; mono-devel-list at lists.ximian.com
Subject: AW: [Mono-devel-list] Compiling from sources


Hi,

please go here

http://www.all-the-johnsons.co.uk/mono/mono-firstcompile.html

and check out this tutorial. I used it and had no problems with it. Also make sure to check out the other sections regarding mono on this page.

Note to Paul: Good Work there :-)

Regards,

--Matt

-----Ursprüngliche Nachricht-----
Von: mono-devel-list-bounces at lists.ximian.com [mailto:mono-devel-list-bounces at lists.ximian.com] Im Auftrag von Arnhoffer Károly
Gesendet: Donnerstag, 4. August 2005 12:16
An: mono-devel-list at lists.ximian.com
Betreff: [Mono-devel-list] Compiling from sources

Hi all,

I am a very newbie in compiling Mono from sources (I have used RPMs so far) and I am not managed to do it successfully.

I have sources from http://go-mono.com/sources/mono-1.1/mono-1.1.8.tar.gz and http://mono.ximian.com/daily/mono-1.1.8.20050803.tar.gz and 'make' runs into error here:

make[7]: Entering directory `/usr/src/mono-1.1.8/mono-1.1.8/mcs/class/corlib'
make all-local
make[8]: Entering directory `/usr/src/mono-1.1.8/mono-1.1.8/mcs/class/corlib'
make[8]: *** No rule to make target `System.Security.Cryptography/CryptographicUnexpectedOperationExcpetion.cs', needed by `../../class/lib/basic/mscorlib.dll'.  Stop.
make[8]: Leaving directory `/usr/src/mono-1.1.8/mono-1.1.8/mcs/class/corlib'
make[7]: *** [do-all] Error 2
make[7]: Leaving directory `/usr/src/mono-1.1.8/mono-1.1.8/mcs/class/corlib'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/usr/src/mono-1.1.8/mono-1.1.8/mcs/class'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/usr/src/mono-1.1.8/mono-1.1.8/mcs'
make[4]: *** [profile-do--basic--all] Error 2
make[4]: Leaving directory `/usr/src/mono-1.1.8/mono-1.1.8/mcs'
make[3]: *** [profiles-do--all] Error 2
make[3]: Leaving directory `/usr/src/mono-1.1.8/mono-1.1.8/mcs'
make[2]: *** [all-local] Error 2
make[2]: Leaving directory `/usr/src/mono-1.1.8/mono-1.1.8/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/mono-1.1.8/mono-1.1.8'
make: *** [all] Error 2

It seems that files are needed. I found some files in the unpacked archive's root. I started to copy them to locations that were turned out while making. But it is a very slow practice. How should I do this the best?

Thanks!

Arnhoffer Károly _______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list



More information about the Mono-devel-list mailing list