On Wed, 2004-05-12 at 17:30, Andrew Arnott wrote: > I downloaded CVS yesterday, and updated it this morning. I ran from > the cvs\mono directory: > > > > ./autogen.sh –prefix=/usr > > ./make fullbuild >
(1) -prefix should be --prefix, and ./make should be make (2) AFAIK, the generics compiler gmcs is not built by default. You need to do ./autogen.sh --prefix=/usr --with-preview=yes make bootstrap make install [ the last two steps are equivalent to "make fullbuild", which is deprecated ]. > > > My mono files are found in /usr/bin/mono, etc. So I believe the > prefix above is correct. But the build fails with the error below. > It appears that the gmcs.exe file is being looked for in the / > directory rather than /usr/bin/. > > > > make[3]: Entering directory `/root/cvs/mono/runtime' > > if test -f ../../mcs/gmcs/gmcs.exe; then f=../../mcs/gmcs/gmcs.exe; > else f=/gmcs.exe; fi; \ > > echo "cp -f $f ."; \ > > cp -f $f . > > cp -f /gmcs.exe . > > cp: cannot stat `/gmcs.exe': No such file or directory > > make[3]: *** [gmcs.exe] Error 1 > > make[3]: Leaving directory `/root/cvs/mono/runtime' > > make[2]: *** [all-recursive] Error 1 > > make[2]: Leaving directory `/root/cvs/mono/runtime' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/root/cvs/mono' > > make: *** [all] Error 2 > > biscuit:~/cvs/mono # locate gmcs.exe > > /usr/bin/gmcs.exe > > /usr/lib/mono/2.0/gmcs.exe > > biscuit:~/cvs/mono # > > > > I created a symbolic link to it in the / directory, and got passed > that error. Then the build crashed with this error: > > > > cp -f ../../../mcs/class/lib/default/System.Web.Services.dll . > > cp -f ../../../mcs/class/lib/default/System.Windows.Forms.dll . > > cp -f ../../../mcs/class/lib/default/System.Xml.dll . > > make[3]: Leaving directory `/root/cvs/mono/runtime/net_1_1' > > Making all in net_2_0 > > make[3]: Entering directory `/root/cvs/mono/runtime/net_2_0' > > cp -f ../../../mcs/class/lib/net_2_0/mscorlib.dll . > > cp: cannot stat `../../../mcs/class/lib/net_2_0/mscorlib.dll': No such > file or directory > > make[3]: *** [mscorlib.dll] Error 1 > > make[3]: Leaving directory `/root/cvs/mono/runtime/net_2_0' > > make[2]: *** [all-recursive] Error 1 > > make[2]: Leaving directory `/root/cvs/mono/runtime' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/root/cvs/mono' > > make: *** [all] Error 2 > > > > I’ve never managed to get a make fullbuild to work with any snapshot, > so I may have environment variables that need to be initialized? I > don’t know. But any help would be appreciated. -- Peter Wainwright <[EMAIL PROTECTED]> _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list