[Mono-list] Building mono from trunk

J. Pablo Fernández pupeno at pupeno.com
Fri Sep 14 14:58:10 EDT 2007


It seems the problem was that I didn't check out mcs next to mono.

On Friday 14 September 2007 03:27:53 J. Pablo Fernández wrote:
> Hello,
>
> I'm trying to build Mono from trunk and when I run autogen.sh I notice
> this:
>
> chmod: cannot access `./../mcs/build': No such file or directory
> ./configure: line 40006: ./../mcs/build/config.make: No such file or
> directory ./configure: line 40007: ./../mcs/build/config.make: No such file
> or directory ./configure: line 40008: ./../mcs/build/config.make: No such
> file or directory ./configure: line 40009: ./../mcs/build/config.make: No
> such file or directory ./configure: line 40010: ./../mcs/build/config.make:
> No such file or directory ./configure: line 40011:
> ./../mcs/build/config.make: No such file or directory ./configure: line
> 40012: ./../mcs/build/config.make: No such file or directory ./configure:
> line 40019: ./../mcs/build/config.make: No such file or directory
> ./configure: line 40027: ./../mcs/build/config.make: No such file or
> directory
>
> only to then fail when building:
>
> cp mono-wrapper _tmpinst/bin/mono
> echo '#! /bin/sh' > _tmpinst/bin/mcs ; \
>         r=`pwd`; m=`cd ../../mcs && pwd`; \
>
> echo 'exec "'"$r/_tmpinst/bin/mono"'" "'"$m/class/lib/default/mcs.exe"'"
> "$@"'
>
> >> _tmpinst/bin/mcs ; \
>
>         chmod +x _tmpinst/bin/mcs
> /bin/sh: line 1: cd: ../../mcs: No such file or directory
> echo '#! /bin/sh' > _tmpinst/bin/ilasm ; \
>         r=`pwd`; m=`cd ../../mcs && pwd`; \
>         echo 'exec "'"$r/_tmpinst/bin/mono"'" "'"$m/ilasm/ilasm.exe"'"
> "$@"'
>
> >> _tmpinst/bin/ilasm ; \
>
>         chmod +x _tmpinst/bin/ilasm
> /bin/sh: line 1: cd: ../../mcs: No such file or directory
> echo '#! /bin/sh' > _tmpinst/bin/gmcs ; \
>         r=`pwd`; m=`cd ../../mcs && pwd`; \
>         echo 'exec "'"$r/_tmpinst/bin/mono"'" "'"$m/gmcs/gmcs.exe"'" "$@"'
> >> _tmpinst/bin/gmcs ; \
>         chmod +x _tmpinst/bin/gmcs
> /bin/sh: line 1: cd: ../../mcs: No such file or directory
> if test -w ../../mcs; then :; else chmod -R +w ../../mcs; fi
> chmod: cannot access `../../mcs': No such file or directory
> make[2]: *** [all-local] Error 1
> make[2]: Leaving directory `/home/pupeno/kampu/zasni/mono/mono/runtime'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/pupeno/kampu/zasni/mono/mono'
> make: *** [all] Error 2
>
> I checked those lines of the configure file and they talk about
> cross-compiling? Is the fat that I have another (stable) mono installed
> causing any problem? Otherwise, what am I doing wrong?
>
> Thank you.



-- 
J. Pablo Fernández <pupeno at pupeno.com> (http://pupeno.com)


More information about the Mono-list mailing list