[Mono-dev] Cannot compile mono or mcs, please help

Raja R Harinath rharinath at novell.com
Thu Sep 28 11:22:33 EDT 2006


"David Piepgrass" <qwertie256 at gmail.com> writes:

> You're right, WinRAR screwed up the untarballing! Thanks.
> By the way, the build instructions say to use ./configure --prefix=/tmp/install and "feel free to use any prefix you want".  What is the
> prefix for? It seems to work without one.
> However, it still won't build, whether or not I gave a prefix. I get one of the following two "error 128"s:
> Making all in monoburg
> make[3]: Entering directory `/cygdrive/d/Dev/University/ENCM599/mono-'
> bison ./monoburg.y -o parser.c
> gcc -mno-cygwin -g -o monoburg ./monoburg.c parser.c -I/cygdrive/d/Dev/University/ENCM599/mcs_dependencies/include/glib-
> 2.0 -I/cygdrive/d/Dev/University/ENCM599/mcs_dependencies/lib/glib-2.0/include   -I. -g -O2  -L/cygdrive/d/Dev/Universit
> y/ENCM599/mcs_dependencies/lib -lgthread-2.0 -lglib-2.0 -lintl -liconv
> ./monoburg ./sample.brg > sample.c
> make[3]: *** [sample.c] Error 128
> make[3]: Leaving directory `/cygdrive/d/Dev/University/ENCM599/mono-'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/cygdrive/d/Dev/University/ENCM599/mono-'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/cygdrive/d/Dev/University/ENCM599/mono-'
> make: *** [all] Error 2

I'm not too familiar with Windows nor with CygWin.  From the looks of
it, there's some issue with your path or your compiler :-)

Basically, the build compiles a helper, and immediately executes the
helper.  If there's some problem with your compiler, or if the system
cannot find the DLLs, I guess the execution errors would look like this.
My random guess is that d:\Dev\University\ENCM599\mcs_dependencies\bin
is _not_ in %PATH%.

- Hari

More information about the Mono-devel-list mailing list