[Mono-list] Error while compiling mono from SVN in cygwin

Andrus kobruleht2 at hot.ee
Mon Aug 25 06:53:21 EDT 2008


Robert ja Gert,

> Downgrade cygwin's `make' from here:
>
> http://www.go-mono.com/archive/helper/make-3.80-1.tar.bz2
>
> It's documented on http://www.mono-project.com/Compiling_Mono.

Thank you. I did it and read this page. Now make exits with error

make[6]: execvp: mcs: Permission denied

I tried to run cygwin with Administrator privileges in Vista but problem
persists.
What I'm doing wrong ?

Andrus.

andrus at andrus-notebook /mono/svn/mono
$ make
make  all-recursive
make[1]: Entering directory `/mono/svn/mono'
Making all in libgc
make[2]: Entering directory `/mono/svn/mono/libgc'
Making all in include
make[3]: Entering directory `/mono/svn/mono/libgc/include'
Making all in private
make[4]: Entering directory `/mono/svn/mono/libgc/include/private'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/mono/svn/mono/libgc/include/private'
make[4]: Entering directory `/mono/svn/mono/libgc/include'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/mono/svn/mono/libgc/include'
make[3]: Leaving directory `/mono/svn/mono/libgc/include'
Making all in doc
make[3]: Entering directory `/mono/svn/mono/libgc/doc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/mono/svn/mono/libgc/doc'
make[3]: Entering directory `/mono/svn/mono/libgc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/mono/svn/mono/libgc'
make[2]: Leaving directory `/mono/svn/mono/libgc'
Making all in mono
make[2]: Entering directory `/mono/svn/mono/mono'
Making all in utils
make[3]: Entering directory `/mono/svn/mono/mono/utils'
make  all-am
make[4]: Entering directory `/mono/svn/mono/mono/utils'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/mono/svn/mono/mono/utils'
make[3]: Leaving directory `/mono/svn/mono/mono/utils'
Making all in io-layer
make[3]: Entering directory `/mono/svn/mono/mono/io-layer'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/mono/svn/mono/mono/io-layer'
Making all in monoburg
make[3]: Entering directory `/mono/svn/mono/mono/monoburg'
make  all-am
make[4]: Entering directory `/mono/svn/mono/mono/monoburg'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/mono/svn/mono/mono/monoburg'
make[3]: Leaving directory `/mono/svn/mono/mono/monoburg'
Making all in os
make[3]: Entering directory `/mono/svn/mono/mono/os'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/mono/svn/mono/mono/os'
Making all in cil
make[3]: Entering directory `/mono/svn/mono/mono/cil'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/mono/svn/mono/mono/cil'
Making all in metadata
make[3]: Entering directory `/mono/svn/mono/mono/metadata'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/mono/svn/mono/mono/metadata'
Making all in arch
make[3]: Entering directory `/mono/svn/mono/mono/arch'
make[4]: Entering directory `/mono/svn/mono/mono/arch'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/mono/svn/mono/mono/arch'
make[3]: Leaving directory `/mono/svn/mono/mono/arch'
Making all in interpreter
make[3]: Entering directory `/mono/svn/mono/mono/interpreter'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/mono/svn/mono/mono/interpreter'
Making all in mini
make[3]: Entering directory `/mono/svn/mono/mono/mini'
make  all-am
make[4]: Entering directory `/mono/svn/mono/mono/mini'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/mono/svn/mono/mono/mini'
make[3]: Leaving directory `/mono/svn/mono/mono/mini'
Making all in dis
make[3]: Entering directory `/mono/svn/mono/mono/dis'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/mono/svn/mono/mono/dis'
Making all in monograph
make[3]: Entering directory `/mono/svn/mono/mono/monograph'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/mono/svn/mono/mono/monograph'
Making all in tests
make[3]: Entering directory `/mono/svn/mono/mono/tests'
Making all in cas
make[4]: Entering directory `/mono/svn/mono/mono/tests/cas'
Making all in assembly
make[5]: Entering directory `/mono/svn/mono/mono/tests/cas/assembly'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/mono/svn/mono/mono/tests/cas/assembly'
Making all in linkdemand
make[5]: Entering directory `/mono/svn/mono/mono/tests/cas/linkdemand'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/mono/svn/mono/mono/tests/cas/linkdemand'
Making all in inheritance
make[5]: Entering directory `/mono/svn/mono/mono/tests/cas/inheritance'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/mono/svn/mono/mono/tests/cas/inheritance'
Making all in demand
make[5]: Entering directory `/mono/svn/mono/mono/tests/cas/demand'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/mono/svn/mono/mono/tests/cas/demand'
Making all in threads
make[5]: Entering directory `/mono/svn/mono/mono/tests/cas/threads'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/mono/svn/mono/mono/tests/cas/threads'
make[5]: Entering directory `/mono/svn/mono/mono/tests/cas'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/mono/svn/mono/mono/tests/cas'
make[4]: Leaving directory `/mono/svn/mono/mono/tests/cas'
Making all in assemblyresolve
make[4]: Entering directory `/mono/svn/mono/mono/tests/assemblyresolve'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/mono/svn/mono/mono/tests/assemblyresolve'
make[4]: Entering directory `/mono/svn/mono/mono/tests'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/mono/svn/mono/mono/tests'
make[3]: Leaving directory `/mono/svn/mono/mono/tests'
Making all in benchmark
make[3]: Entering directory `/mono/svn/mono/mono/benchmark'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/mono/svn/mono/mono/benchmark'
Making all in profiler
make[3]: Entering directory `/mono/svn/mono/mono/profiler'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/mono/svn/mono/mono/profiler'
make[3]: Entering directory `/mono/svn/mono/mono'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/mono/svn/mono/mono'
make[2]: Leaving directory `/mono/svn/mono/mono'
Making all in support
make[2]: Entering directory `/mono/svn/mono/support'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mono/svn/mono/support'
Making all in docs
make[2]: Entering directory `/mono/svn/mono/docs'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mono/svn/mono/docs'
Making all in data
make[2]: Entering directory `/mono/svn/mono/data'
Making all in net_1_1
make[3]: Entering directory `/mono/svn/mono/data/net_1_1'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/mono/svn/mono/data/net_1_1'
Making all in net_2_0
make[3]: Entering directory `/mono/svn/mono/data/net_2_0'
Making all in Browsers
make[4]: Entering directory `/mono/svn/mono/data/net_2_0/Browsers'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/mono/svn/mono/data/net_2_0/Browsers'
make[4]: Entering directory `/mono/svn/mono/data/net_2_0'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/mono/svn/mono/data/net_2_0'
make[3]: Leaving directory `/mono/svn/mono/data/net_2_0'
make[3]: Entering directory `/mono/svn/mono/data'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/mono/svn/mono/data'
make[2]: Leaving directory `/mono/svn/mono/data'
Making all in runtime
make[2]: Entering directory `/mono/svn/mono/runtime'
if test -w ../../mcs; then :; else chmod -R +w ../../mcs; fi
cd ../../mcs && make NO_DIR_CHECK=1 PROFILES='default net_2_0 net_3_5
net_2_1' C
C='gcc -mno-cygwin -g' all-profiles
make[3]: Entering directory `/mono/svn/mcs'
make profile-do--default--all profile-do--net_2_0--all
profile-do--net_3_5--all
profile-do--net_2_1--all
make[4]: Entering directory `/mono/svn/mcs'
make PROFILE=basic all
make[5]: Entering directory `/mono/svn/mcs'
make[6]: execvp: mcs: Permission denied
make[6]: *** [build/deps/basic-profile-check.exe] Error 127
*** The compiler 'mcs' doesn't appear to be usable.
*** 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[5]: *** [do-profile-check] Error 1
make[5]: Leaving directory `/mono/svn/mcs'
make[4]: *** [profile-do--basic--all] Error 2
make[4]: Leaving directory `/mono/svn/mcs'
make[3]: *** [profiles-do--all] Error 2
make[3]: Leaving directory `/mono/svn/mcs'
make[2]: *** [all-local] Error 2
make[2]: Leaving directory `/mono/svn/mono/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mono/svn/mono'
make: *** [all] Error 2

andrus at andrus-notebook /mono/svn/mono
$ ls -l /mono/svn/mcs/class/lib/default/mcs.exe
-rwxr-xr-x 1 andrus mkpasswd 1008128 Aug 22 22:06
/mono/svn/mcs/class/lib/defaul
t/mcs.exe



More information about the Mono-list mailing list