Hi gennady!

Make uninstall and make clean worked fine, but make bootstrap-clean leads to an error:
rm -f "libmonogc.la/so_locations"
rm -f "libmonogc-static.la/so_locations"
rm -f *.o core *.core
rm -f *.lo
make[2]: Verlassen des Verzeichnisses Verzeichnis 
»/mono-dev/mono-cvs-auth/mono/libgc«
make[1]: Verlassen des Verzeichnisses Verzeichnis 
»/mono-dev/mono-cvs-auth/mono/libgc«
Making clean in .
make[1]: Wechsel in das Verzeichnis Verzeichnis »/mono-dev/mono-cvs-auth/mono«
rm -rf .libs _libs
rm -f *.lo
make[1]: Verlassen des Verzeichnisses Verzeichnis »/mono-dev/mono-cvs-auth/mono«
cd ./../mcs && make clean-profiles
make[1]: Wechsel in das Verzeichnis Verzeichnis »/mono-dev/mono-cvs-auth/mcs«
make profile-do--default--clean profile-do--net_2_0--clean
make[2]: Wechsel in das Verzeichnis Verzeichnis »/mono-dev/mono-cvs-auth/mcs«
make PROFILE=default clean
make[3]: Wechsel in das Verzeichnis Verzeichnis »/mono-dev/mono-cvs-auth/mcs«
*** You need a C# compiler installed to build MCS. (make sure mcs works from the 
command line)
*** Read INSTALL.txt for information on how to bootstrap
*** a Mono installation.
make[3]: *** [platform-check] Fehler 1
make[3]: Verlassen des Verzeichnisses Verzeichnis »/mono-dev/mono-cvs-auth/mcs«
make[2]: *** [profile-do--default--clean] Fehler 2
make[2]: Verlassen des Verzeichnisses Verzeichnis »/mono-dev/mono-cvs-auth/mcs«
make[1]: *** [clean-profiles] Fehler 2
make[1]: Verlassen des Verzeichnisses Verzeichnis »/mono-dev/mono-cvs-auth/mcs«
make: *** [mcs-do-clean-profiles] Fehler 2
[EMAIL PROTECTED] mono]#

A following make aborts again:
make[3]: Wechsel in das Verzeichnis Verzeichnis 
»/mono-dev/mono-cvs-auth/mono/runtime«
test -f ../../mcs/monoresgen/monoresgen.exe
make[3]: *** [monoresgen.exe] Fehler 1
make[3]: Verlassen des Verzeichnisses Verzeichnis 
»/mono-dev/mono-cvs-auth/mono/runtime«
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis 
»/mono-dev/mono-cvs-auth/mono/runtime«
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis »/mono-dev/mono-cvs-auth/mono«

Regards
Jochen

-----Urspr�ngliche Nachricht-----
Von: gennady wexler [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 28. Oktober 2004 20:53
An: Jochen Wezel (CompuMaster GmbH); Paul; mono
Betreff: Re: AW: AW: [Mono-list] Daily build errors

add this to your build commands:

make uninstall
make clean
make bootstrap-clean


On 10/28/04 9:47 AM, "Jochen Wezel (CompuMaster GmbH)"
<[EMAIL PROTECTED]> wrote:

> Hi Paul,
> 
> I needed to update my mono runtime because I cannot compile via CVS.
> 
> In folder mono, I started with:
> 
> ./autogen.sh --prefix=/usr
> make
> 
> 
> make install
> [......]
> /bin/sh ../../mkinstalldirs /usr/lib/mono/1.0  /usr/bin/install -c -m 
> 644 mscorlib.dll /usr/lib/mono/1.0/mscorlib.dll /usr/bin/install -c -m 
> 644 ./mscorlib.dll.mdb /usr/lib/mono/1.0/mscorlib.dll.mdb
> MONO_PATH=. ../../mono/mini/mono --config ../../data/config 
> ./../gacutil.exe /i ./Accessibility.dll /f /package 1.0 /gacdir 
> /usr/lib /root /usr/lib Corlib not in sync with this runtime: expected corlib 
> version 28, found 26.
> Download a newer corlib or a newer runtime at http://www.go-mono.com/daily.
> make[3]: *** [install-data-local] Fehler 1
> make[3]: Verlassen des Verzeichnisses Verzeichnis 
> »/mono-dev/mono-cvs-auth/mono/runtime/net_1_1«
> make[2]: *** [install-am] Fehler 2
> make[2]: Verlassen des Verzeichnisses Verzeichnis 
> »/mono-dev/mono-cvs-auth/mono/runtime/net_1_1«
> make[1]: *** [install-recursive] Fehler 1
> make[1]: Verlassen des Verzeichnisses Verzeichnis 
> »/mono-dev/mono-cvs-auth/mono/runtime«
> make: *** [install-recursive] Fehler 1
> 
> 
> For testing purposes, I also started that:
> 
> [EMAIL PROTECTED] mono]# make bootstrap
> rm -f ./../mcs/mcs/mcs.exe ./../mcs/class/lib/default/mscorlib.dll
> ./../mcs/class/lib/default/System.dll
> ./../mcs/class/lib/default/System.Xml.dll
> ./../mcs/class/lib/default/Mono.CompilerServices.SymbolWriter.dll
> for dir in jay mcs class/corlib class/System; do \
>   (cd ./../mcs/$dir && make PROFILE=default NO_SIGN_ASSEMBLY=yes 
> USE_BOOT_COMPILE=yes BOOTSTRAP_MCS="mcs -d:BOOTSTRAP_WITH_OLDLIB") || 
> exit 1 ; \ done
> make[1]: Wechsel in das Verzeichnis Verzeichnis 
> »/mono-dev/mono-cvs-auth/mcs/jay«
> make all-local
> make[2]: Wechsel in das Verzeichnis Verzeichnis 
> »/mono-dev/mono-cvs-auth/mcs/jay«
> make[2]: Für das Target »all-local« gibt es nichts zu tun.
> make[2]: Verlassen des Verzeichnisses Verzeichnis 
> »/mono-dev/mono-cvs-auth/mcs/jay«
> make[1]: Verlassen des Verzeichnisses Verzeichnis 
> »/mono-dev/mono-cvs-auth/mcs/jay«
> make[1]: Wechsel in das Verzeichnis Verzeichnis 
> »/mono-dev/mono-cvs-auth/mcs/mcs«
> make all-local
> make[2]: Wechsel in das Verzeichnis Verzeichnis 
> »/mono-dev/mono-cvs-auth/mcs/mcs«
> mcs -d:BOOTSTRAP_WITH_OLDLIB   -d:NET_1_1 -d:ONLY_1_1 -g /target:exe
> /out:mcs.exe cs-parser.cs  @mcs.exe.sources Corlib not in sync with 
> this runtime: expected corlib version 28, found 22.
> Download a newer corlib or a newer runtime at http://www.go-mono.com/daily.
> make[2]: *** [mcs.exe] Fehler 1
> make[2]: Verlassen des Verzeichnisses Verzeichnis 
> »/mono-dev/mono-cvs-auth/mcs/mcs«
> make[1]: *** [all.real] Fehler 2
> make[1]: Verlassen des Verzeichnisses Verzeichnis 
> »/mono-dev/mono-cvs-auth/mcs/mcs«
> make: *** [mcs-do-basic-build] Fehler 1 [EMAIL PROTECTED] mono]#
> 
> 
> I'm wondering why it finds sometimes runtime version 22, and the next 
> time 26...
> 
> In any case, this is the cause why I tried to build from the "daily builds"
> completely new.
> 
> I also have tried to remove anything which has been installed with 
> mono (/usr and /usr/local). This helped last time when there was mono 
> installed in /usr and in another version in /usr/local. After this, I 
> removed all mono-packages with red carpet and then reinstalled them again to get a 
> working start point.
> But it hasn't helped this time :(
> [EMAIL PROTECTED] mono-cvs-auth]# cat cleanupmonoinstallation.sh #!/bin/sh 
> cd /usr rm -f -R -d bin/*.exe bin/*.dll bin/mbas* bin/mcs* bin/mono* 
> bin/libmono*
> bin/libmint* lib/mono include/mono etc/mono share/mono cd /usr/local 
> rm -f -R -d bin/*.exe bin/*.dll bin/mbas* bin/mcs* bin/mono* 
> bin/libmono*
> bin/libmint* lib/mono include/mono etc/mono share/mono [EMAIL PROTECTED] 
> mono-cvs-auth]#
> 
> 
> -----Urspr�ngliche Nachricht-----
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Im Auftrag von Paul
> Gesendet: Donnerstag, 28. Oktober 2004 17:47
> An: Mono List
> Betreff: Re: AW: [Mono-list] Daily build errors
> 
> Hi,
> 
>>> First - why are you doing this as root? Root is there for a purpose
>> and it
>>> isn't just so you don't have to keep typing su to change to it. On a 
>>> machine, it can be considered a major deity. It has the power of 
>>> life,
>> 
>>> death and existance on a box. Mess something up as root and you can 
>>> (and probably *will*) do some serious damage!
>> As in the real world: if you have rights you can missuse them. If you 
>> don't have any rights, you can't do your job.
> 
> You've missed the point. You do everything as a user and until you 
> need to (for instance, installing into a directory owned by root, such 
> as /usr or /var), you stay like that. As a user, you have all the rights you need.
> 
>>> Second, is this a compile from cvs and if it is, is it via and 
>>> update and if it is from an update, what happens if you ditch that 
>>> version of
>> 
>>> mono/mcs and do a fresh checkout?
>> This is a compile from the "daily build" downloaded from the mono 
>> website. Nothing CVS or similar.
> 
> Try the cvs route - it's much easier to bugtrack!
> 
>>> Third, what distro are you using? I know with Fedora Core, things
>> aren't
>>> always happy in that /usr/local/lib/pkgconfig isn't always checked - 
>>> this could be something similar.
>> Sorry, I had really forgotten this important information. Here it is:
>> RedHat 9
> 
> RH9 was fine with pkgconfig in /usr/local/lib
> 
>>> Fourth, when you ran autogen.sh, did you specify anything with --
>> prefix=? 
>>> (ie. --prefix=/usr). Again, problems can occur if you're in as root 
>>> or
>> 
>>> have specified somewhere insane for your libraries and apps to live.
>> I used following lines:
>> ./autogen.sh --prefix=/usr
>> make
>> make install   <---- here it crashes because of the
>> missing file
> 
> As I say, use the cvs route. Full instructions are at
> 
> http://www.all-the-johnsons.co.uk/mono/mono-compiling.html
> 
> TTFN
> 
> Paul
> --
> "Trust me, I know what I'm doing" - Det. Sledgehammer 
> _______________________________________________
> 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