[Mono-bugs] [Bug 74280][Min] Changed - Build system assumes '.' exists in path.
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 6 Apr 2005 10:04:56 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by mono@wirschell.nl.
http://bugzilla.ximian.com/show_bug.cgi?id=74280
--- shadow/74280 2005-04-06 06:08:22.000000000 -0400
+++ shadow/74280.tmp.23988 2005-04-06 10:04:56.000000000 -0400
@@ -1,12 +1,12 @@
Bug#: 74280
Product: Mono: Runtime
Version: 1.1
-OS: unknown
+OS: Debian Woody
OS Details: Debian Testing
-Status: RESOLVED
+Status: NEEDINFO
Resolution: NOTABUG
Severity: Unknown
Priority: Minor
Component: misc
AssignedTo: mono-bugs@ximian.com
ReportedBy: mono@wirschell.nl
@@ -52,6 +52,250 @@
Can you explain how you obtained the source (tarball or SVN)? Do you
have any installation of mono around? Did you look at the mono/README
file -- especially the section named "If you don't have a working Mono
installation"?
+
+------- Additional Comments From mono@wirschell.nl 2005-04-06 10:04 -------
+Why is this 'resolved notabug' when you're asking questions to verify
+its validity? The 'needinfo' tag would be more appropriate for now.
+
+I grabbed the 1.1.6 tarball from the mono website.
+MD5: d5097b149effa0b248a4398fe630bd30 mono-1.1.6.tar.gz
+I didn't have any previous installation of Mono.
+I didn't read (much) of that section of the README, simply because the
+earlier section 'b. Building the Software' was exactly what I wanted
+to do. It says to configure, make and make install, and that's what I
+tried.
+I understand 'mcs' and 'mcs.exe' are two different things. Adding the
+<builddir>/mcs directory will (and DID) fix the problem I had which
+was that during compilation of a fresh Mono, it tries to compile its
+own assemblies using the newly created mcs compiler. Since this newly
+created compiler isn't in the path, calls to it fail and the build
+system erroneously assumes the compiler itself is broken.
+
+Output from the make process:
+-------------------------------------------------------
+(snipped the part where all the C bits are compiled)
+Making all in runtime
+make[2]: Entering directory `/home/wirschell/code/mono-1.1.6/runtime'
+cd .. && /bin/sh ./config.status runtime/etc/mono/1.0/machine.config
+config.status: executing runtime/etc/mono/1.0/machine.config commands
+cd .. && /bin/sh ./config.status runtime/etc/mono/2.0/machine.config
+config.status: executing runtime/etc/mono/2.0/machine.config commands
+d=`cd ../support && pwd`; \
+sed
+'s,target="libMonoPosixHelper[^"]*",target="'$d/libMonoPosixHelper.la'",'
+../data/config > wrapper-config
+if test -w ../mcs; then :; else chmod -R +w ../mcs; fi
+d=`pwd`; cd ../mcs && make RUNTIME=$d/mono-wrapper PROFILES='default
+net_2_0' all-profiles
+make[3]: Entering directory `/home/wirschell/code/mono-1.1.6/mcs'
+make profile-do--default--all profile-do--net_2_0--all
+make[4]: Entering directory `/home/wirschell/code/mono-1.1.6/mcs'
+make PROFILE=basic all
+make[5]: Entering directory `/home/wirschell/code/mono-1.1.6/mcs'
+make[6]: Entering directory `/home/wirschell/code/mono-1.1.6/mcs'
+make[6]: mcs: Command not found
+make[6]: *** [build/deps/basic-profile-check.exe] Error 127
+make[6]: Leaving directory `/home/wirschell/code/mono-1.1.6/mcs'
+*** The compiler 'mcs' doesn't appear to be usable.
+*** Falling back to using pre-compiled binaries. Be warned, this may
+not work.
+make[6]: Entering directory `/home/wirschell/code/mono-1.1.6/mcs/jay'
+make all-local
+make[7]: Entering directory `/home/wirschell/code/mono-1.1.6/mcs/jay'
+cc -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o closure.o
+closure.c
+cc -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o error.o
+error.c
+cc -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o lalr.o lalr.c
+cc -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o lr0.o lr0.c
+cc -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o main.o main.c
+cc -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o mkpar.o
+mkpar.c
+cc -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o output.o
+output.c
+cc -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o reader.o
+reader.c
+cc -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o symtab.o
+symtab.c
+cc -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o verbose.o
+verbose.c
+cc -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o warshall.o
+warshall.c
+cc -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -o jay closure.o
+error.o lalr.o lr0.o main.o mkpar.o output.o reader.o symtab.o
+verbose.o warshall.o
+make[7]: Leaving directory `/home/wirschell/code/mono-1.1.6/mcs/jay'
+make[6]: Leaving directory `/home/wirschell/code/mono-1.1.6/mcs/jay'
+make[6]: Entering directory `/home/wirschell/code/mono-1.1.6/mcs/mcs'
+Creating ../build/deps/basic_mcs.exe.makefrag ...
+make[6]: Leaving directory `/home/wirschell/code/mono-1.1.6/mcs/mcs'
+make[6]: Entering directory `/home/wirschell/code/mono-1.1.6/mcs/mcs'
+../jay/jay -ctv < ../jay/skeleton.cs cs-parser.jay > jay-tmp.out && mv
+jay-tmp.out cs-parser.cs
+../jay/jay: 2 rules never reduced
+../jay/jay: 26 shift/reduce conflicts, 1 reduce/reduce conflict.
+make[6]: Leaving directory `/home/wirschell/code/mono-1.1.6/mcs/mcs'
+make[6]: Entering directory `/home/wirschell/code/mono-1.1.6/mcs/jay'
+make all-local
+make[7]: Entering directory `/home/wirschell/code/mono-1.1.6/mcs/jay'
+make[7]: Nothing to be done for `all-local'.
+make[7]: Leaving directory `/home/wirschell/code/mono-1.1.6/mcs/jay'
+make[6]: Leaving directory `/home/wirschell/code/mono-1.1.6/mcs/jay'
+make[6]: Entering directory `/home/wirschell/code/mono-1.1.6/mcs/mcs'
+make all-local
+make[7]: Entering directory `/home/wirschell/code/mono-1.1.6/mcs/mcs'
+mcs -d:NET_1_1 -d:ONLY_1_1 -d:BOOTSTRAP_WITH_OLDLIB -debug
+/target:exe /out:mcs.exe cs-parser.cs @mcs.exe.sources
+make[7]: mcs: Command not found
+make[7]: *** [../class/lib/basic/mcs.exe] Error 127
+make[7]: Leaving directory `/home/wirschell/code/mono-1.1.6/mcs/mcs'
+make[6]: *** [all.real] Error 2
+make[6]: Leaving directory `/home/wirschell/code/mono-1.1.6/mcs/mcs'
+make[5]: *** [all-recursive] Error 1
+make[5]: Leaving directory `/home/wirschell/code/mono-1.1.6/mcs'
+make[4]: *** [profile-do--basic--all] Error 2
+make[4]: Leaving directory `/home/wirschell/code/mono-1.1.6/mcs'
+make[3]: *** [profiles-do--all] Error 2
+make[3]: Leaving directory `/home/wirschell/code/mono-1.1.6/mcs'
+make[2]: *** [all-local] Error 2
+make[2]: Leaving directory `/home/wirschell/code/mono-1.1.6/runtime'
+make[1]: *** [all-recursive] Error 1
+make[1]: Leaving directory `/home/wirschell/code/mono-1.1.6'
+make: *** [all] Error 2
+$ echo $PATH
+/usr/bin:/bin:/usr/bin/X11:/usr/games
+$ which mcs
+$ export PATH=$PATH:/home/wirschell/code/mono-1.1.6/mcs
+$ make
+Making all in runtime
+make[2]: Entering directory `/home/cooper/code/mono-1.1.6/runtime'
+if test -w ../mcs; then :; else chmod -R +w ../mcs; fi
+d=`pwd`; cd ../mcs && make RUNTIME=$d/mono-wrapper PROFILES='default
+net_2_0' all-profiles
+make[3]: Entering directory `/home/cooper/code/mono-1.1.6/mcs'
+make profile-do--default--all profile-do--net_2_0--all
+make[4]: Entering directory `/home/cooper/code/mono-1.1.6/mcs'
+make PROFILE=basic all
+make[5]: Entering directory `/home/cooper/code/mono-1.1.6/mcs'
+make[6]: Entering directory `/home/cooper/code/mono-1.1.6/mcs'
+make[6]: execvp: mcs: Permission denied
+make[6]: *** [build/deps/basic-profile-check.exe] Error 127
+make[6]: Leaving directory `/home/cooper/code/mono-1.1.6/mcs'
+*** The compiler 'mcs' doesn't appear to be usable.
+*** Falling back to using pre-compiled binaries. Be warned, this may
+not work.
+make[6]: Entering directory `/home/cooper/code/mono-1.1.6/mcs/jay'
+make all-local
+make[7]: Entering directory `/home/cooper/code/mono-1.1.6/mcs/jay'
+make[7]: Nothing to be done for `all-local'.
+make[7]: Leaving directory `/home/cooper/code/mono-1.1.6/mcs/jay'
+make[6]: Leaving directory `/home/cooper/code/mono-1.1.6/mcs/jay'
+make[6]: Entering directory `/home/cooper/code/mono-1.1.6/mcs/mcs'
+make[6]: `cs-parser.cs' is up to date.
+make[6]: Leaving directory `/home/cooper/code/mono-1.1.6/mcs/mcs'
+make[6]: Entering directory `/home/cooper/code/mono-1.1.6/mcs/jay'
+make all-local
+make[7]: Entering directory `/home/cooper/code/mono-1.1.6/mcs/jay'
+make[7]: Nothing to be done for `all-local'.
+make[7]: Leaving directory `/home/cooper/code/mono-1.1.6/mcs/jay'
+make[6]: Leaving directory `/home/cooper/code/mono-1.1.6/mcs/jay'
+make[6]: Entering directory `/home/cooper/code/mono-1.1.6/mcs/mcs'
+make all-local
+make[7]: Entering directory `/home/cooper/code/mono-1.1.6/mcs/mcs'
+cp mcs.exe.config ../class/lib/basic/mcs.exe.config
+make[7]: Leaving directory `/home/cooper/code/mono-1.1.6/mcs/mcs'
+make[6]: Leaving directory `/home/cooper/code/mono-1.1.6/mcs/mcs'
+make[6]: Entering directory `/home/cooper/code/mono-1.1.6/mcs/class'
+make[7]: Entering directory
+`/home/cooper/code/mono-1.1.6/mcs/class/corlib'
+Creating ../../build/deps/basic_corlib_res.dll.response ...
+Creating ../../build/deps/basic_corlib_res.dll.makefrag ...
+Creating ../../build/deps/basic_corlib.dll.makefrag ...
+make[7]: Leaving directory `/home/cooper/code/mono-1.1.6/mcs/class/corlib'
+make[7]: Entering directory
+`/home/cooper/code/mono-1.1.6/mcs/class/corlib'
+make all-local
+make[8]: Entering directory
+`/home/cooper/code/mono-1.1.6/mcs/class/corlib'
+make[8]: Nothing to be done for `all-local'.
+make[8]: Leaving directory `/home/cooper/code/mono-1.1.6/mcs/class/corlib'
+make[7]: Leaving directory `/home/cooper/code/mono-1.1.6/mcs/class/corlib'
+make[7]: Entering directory
+`/home/cooper/code/mono-1.1.6/mcs/class/System'
+Creating ../../build/deps/basic_System.dll.makefrag ...
+make[7]: Leaving directory `/home/cooper/code/mono-1.1.6/mcs/class/System'
+make[7]: Entering directory
+`/home/cooper/code/mono-1.1.6/mcs/class/System'
+make all-local
+make[8]: Entering directory
+`/home/cooper/code/mono-1.1.6/mcs/class/System'
+make[8]: Nothing to be done for `all-local'.
+make[8]: Leaving directory `/home/cooper/code/mono-1.1.6/mcs/class/System'
+make[7]: Leaving directory `/home/cooper/code/mono-1.1.6/mcs/class/System'
+make[7]: Entering directory
+`/home/cooper/code/mono-1.1.6/mcs/class/System.XML'
+Creating ../../build/deps/basic_System.Xml.dll.makefrag ...
+make[7]: Leaving directory
+`/home/cooper/code/mono-1.1.6/mcs/class/System.XML'
+make[7]: Entering directory
+`/home/cooper/code/mono-1.1.6/mcs/class/System.XML'
+make all-local
+make[8]: Entering directory
+`/home/cooper/code/mono-1.1.6/mcs/class/System.XML'
+make[8]: Nothing to be done for `all-local'.
+make[8]: Leaving directory
+`/home/cooper/code/mono-1.1.6/mcs/class/System.XML'
+make[7]: Leaving directory
+`/home/cooper/code/mono-1.1.6/mcs/class/System.XML'
+make[7]: Entering directory
+`/home/cooper/code/mono-1.1.6/mcs/class/System'
+make all-local
+make[8]: Entering directory
+`/home/cooper/code/mono-1.1.6/mcs/class/System'
+make[8]: Nothing to be done for `all-local'.
+make[8]: Leaving directory `/home/cooper/code/mono-1.1.6/mcs/class/System'
+make[7]: Leaving directory `/home/cooper/code/mono-1.1.6/mcs/class/System'
+make all-local
+make[7]: Entering directory `/home/cooper/code/mono-1.1.6/mcs/class'
+make[7]: Leaving directory `/home/cooper/code/mono-1.1.6/mcs/class'
+make[6]: Leaving directory `/home/cooper/code/mono-1.1.6/mcs/class'
+make all-local
+make[6]: Entering directory `/home/cooper/code/mono-1.1.6/mcs'
+make[6]: Leaving directory `/home/cooper/code/mono-1.1.6/mcs'
+make[5]: Leaving directory `/home/cooper/code/mono-1.1.6/mcs'
+make PROFILE=net_1_1_bootstrap all
+make[5]: Entering directory `/home/cooper/code/mono-1.1.6/mcs'
+make[6]: Entering directory `/home/cooper/code/mono-1.1.6/mcs/jay'
+make all-local
+make[7]: Entering directory `/home/cooper/code/mono-1.1.6/mcs/jay'
+make[7]: Nothing to be done for `all-local'.
+make[7]: Leaving directory `/home/cooper/code/mono-1.1.6/mcs/jay'
+make[6]: Leaving directory `/home/cooper/code/mono-1.1.6/mcs/jay'
+make[6]: Entering directory `/home/cooper/code/mono-1.1.6/mcs/mcs'
+Creating ../build/deps/net_1_1_bootstrap_mcs.exe.makefrag ...
+make[6]: Leaving directory `/home/cooper/code/mono-1.1.6/mcs/mcs'
+make[6]: Entering directory `/home/cooper/code/mono-1.1.6/mcs/mcs'
+make all-local
+make[7]: Entering directory `/home/cooper/code/mono-1.1.6/mcs/mcs'
+MONO_PATH="../class/lib/basic:$MONO_PATH"
+/home/cooper/code/mono-1.1.6/runtime/mono-wrapper
+../class/lib/basic/mcs.exe -d:NET_1_1 -d:ONLY_1_1 -debug /target:exe
+/out:mcs.exe cs-parser.cs @mcs.exe.sources
+convert.cs(1791) warning CS0164: This label has not been referenced
+Compilation succeeded - 1 warning(s)
+mv mcs.exe ../class/lib/net_1_1_bootstrap/mcs.exe
+test ! -f mcs.exe.mdb || mv mcs.exe.mdb
+../class/lib/net_1_1_bootstrap/mcs.exe.mdb
+cp mcs.exe.config ../class/lib/net_1_1_bootstrap/mcs.exe.config
+make[7]: Leaving directory `/home/cooper/code/mono-1.1.6/mcs/mcs'
+make[6]: Leaving directory `/home/cooper/code/mono-1.1.6/mcs/mcs'
+make[6]: Entering directory `/home/cooper/code/mono-1.1.6/mcs/class'
+make[7]: Entering directory
+`/home/cooper/code/mono-1.1.6/mcs/class/corlib'
+(snipped the rest of the compilation)
+-------------------------------------------------------
+
+Let me know if you need anything else.