Hi Paul, again,

Now I removed my complete old content of my CVS folder and checked out again.

export CVS_RSH=ssh
export [EMAIL PROTECTED]:/cvs/public
rm -f -R -d mcs mono xsp monkeyguide monocov
cvs -z3 co mcs mono xsp monkeyguide monocov
cd mono
./autogen.sh --prefix=/usr
make

This is the new and well-known error message:

-2.0 -I/usr/lib/glib-2.0/include -DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT 
-D_FILE_OFFSET_BITS=64 -DUSE_COMPILER_TLS -g -O2 -fno-strict-aliasing -g -Wall 
-Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes 
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align 
-Wwrite-strings -c mono-cov.c -MT mono-cov.lo -MD -MP -MF .deps/mono-cov.TPlo -o 
mono-cov.o >/dev/null 2>&1
mv -f .libs/mono-cov.lo mono-cov.lo
/bin/sh ../../libtool --mode=link gcc  -g -O2 -fno-strict-aliasing -g -Wall -Wunused 
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes 
-Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings   -o 
libmono-profiler-cov.la -rpath /usr/lib  mono-cov.lo ../../mono/mini/libmono.la -lnsl 
-lpthread -lm -lrt
rm -fr .libs/libmono-profiler-cov.la .libs/libmono-profiler-cov.* 
.libs/libmono-profiler-cov.*
gcc -shared  mono-cov.lo  -Wl,--rpath -Wl,/mono-dev/mono-cvs-auth/mono/mono/mini/.libs 
 -L/usr/lib ../../mono/mini/.libs/libmono.so -lnsl -lpthread -lm -lrt   -Wl,-soname 
-Wl,libmono-profiler-cov.so.0 -o .libs/libmono-profiler-cov.so.0.0.0
(cd .libs && rm -f libmono-profiler-cov.so.0 && ln -s libmono-profiler-cov.so.0.0.0 
libmono-profiler-cov.so.0)
(cd .libs && rm -f libmono-profiler-cov.so && ln -s libmono-profiler-cov.so.0.0.0 
libmono-profiler-cov.so)
ar cru .libs/libmono-profiler-cov.a  mono-cov.o
ranlib .libs/libmono-profiler-cov.a
creating libmono-profiler-cov.la
(cd .libs && rm -f libmono-profiler-cov.la && ln -s ../libmono-profiler-cov.la 
libmono-profiler-cov.la)
make[3]: Verlassen des Verzeichnisses Verzeichnis 
»/mono-dev/mono-cvs-auth/mono/mono/profiler«
make[3]: Wechsel in das Verzeichnis Verzeichnis »/mono-dev/mono-cvs-auth/mono/mono«
make[3]: Für das Target »all-am« gibt es nichts zu tun.
make[3]: Verlassen des Verzeichnisses Verzeichnis »/mono-dev/mono-cvs-auth/mono/mono«
make[2]: Verlassen des Verzeichnisses Verzeichnis »/mono-dev/mono-cvs-auth/mono/mono«
Making all in docs
make[2]: Wechsel in das Verzeichnis Verzeichnis »/mono-dev/mono-cvs-auth/mono/docs«
make[2]: Für das Target »all« gibt es nichts zu tun.
make[2]: Verlassen des Verzeichnisses Verzeichnis »/mono-dev/mono-cvs-auth/mono/docs«
Making all in data
make[2]: Wechsel in das Verzeichnis Verzeichnis »/mono-dev/mono-cvs-auth/mono/data«
Making all in net_1_1
make[3]: Wechsel in das Verzeichnis Verzeichnis 
»/mono-dev/mono-cvs-auth/mono/data/net_1_1«
make[3]: Für das Target »all« gibt es nichts zu tun.
make[3]: Verlassen des Verzeichnisses Verzeichnis 
»/mono-dev/mono-cvs-auth/mono/data/net_1_1«
Making all in net_2_0
make[3]: Wechsel in das Verzeichnis Verzeichnis 
»/mono-dev/mono-cvs-auth/mono/data/net_2_0«
make[3]: Für das Target »all« gibt es nichts zu tun.
make[3]: Verlassen des Verzeichnisses Verzeichnis 
»/mono-dev/mono-cvs-auth/mono/data/net_2_0«
make[3]: Wechsel in das Verzeichnis Verzeichnis »/mono-dev/mono-cvs-auth/mono/data«
make[3]: Für das Target »all-am« gibt es nichts zu tun.
make[3]: Verlassen des Verzeichnisses Verzeichnis »/mono-dev/mono-cvs-auth/mono/data«
make[2]: Verlassen des Verzeichnisses Verzeichnis »/mono-dev/mono-cvs-auth/mono/data«
Making all in runtime
make[2]: Wechsel in das Verzeichnis Verzeichnis 
»/mono-dev/mono-cvs-auth/mono/runtime«
Making all in .
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«
make: *** [all] Fehler 2
[EMAIL PROTECTED] mono]#


-----Urspr�ngliche Nachricht-----
Von: Jochen Wezel (CompuMaster GmbH) 
Gesendet: Donnerstag, 28. Oktober 2004 18:48
An: 'Paul'; 'Mono List'
Betreff: AW: AW: [Mono-list] Daily build errors

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

Reply via email to