HOPEFULLY LAST ERROR: [Mono-dev] Mono Compile Error in Solaris 8

Peter Williams peter at newton.cx
Mon Aug 22 18:26:38 EDT 2005


Besides the whole mcs issue, it looks like your C compiler is messed up.
As the error message says, "Installation problem, cannot exec 'cc1'."
I'd make sure your compiler is set up correctly. Maybe see if you can
use GCC to compile Mono.

Peter

On Mon, 2005-08-22 at 17:06 -0500, Nit Bha wrote:
> Hey!!  Thanks for your help!  I have another error though..  :(
> 
> I took that out of my path and removed the binary mcs (some other
> file), and reran the make, and now I am getting the line to change to
> the following:
> 
> make[6]: execvp: mcs: Permission denied
> 
> 
> The whole error log is at the bottom of this email.  I removed mcs,
> and it is no longer in my path.
> 
> I see something similar: 
> 
> http://bugzilla.ximian.com/show_bug.cgi?id=74280
> 
> but I don't know how to fix it.  I have . in myat PATH.  
> 
> Thanks for your help!  Please email me if you have any thoughts, I
> really appreciate all your help!  hopefully this is the last error msg
> I get..
> 
> Thanks again!!
> 
> 
> 
> 
> 
> 
> make[2]: Entering directory
> `/export/home/users/niteesh/mono/mono-1.1.8.3/runtime'
> if test -w ../mcs; then :; else chmod -R +w ../mcs; fi
> d=`pwd`; cd ../mcs && make PROFILES='default net_2_0' all-profiles
> make[3]: Entering directory `/export/home/users/niteesh/mono/mono-1.1.8.3/mcs'
> make profile-do--default--all profile-do--net_2_0--all
> make[4]: Entering directory `/export/home/users/niteesh/mono/mono-1.1.8.3/mcs'
> make PROFILE=basic all
> make[5]: Entering directory `/export/home/users/niteesh/mono/mono-1.1.8.3/mcs'
> make[6]: Entering directory `/export/home/users/niteesh/mono/mono-1.1.8.3/mcs'
> make[6]: execvp: mcs: Permission denied
> make[6]: *** [build/deps/basic-profile-check.exe] Error 127
> make[6]: Leaving directory `/export/home/users/niteesh/mono/mono-1.1.8.3/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
> `/export/home/users/niteesh/mono/mono-1.1.8.3/mcs/jay'
> make all-local
> make[7]: Entering directory
> `/export/home/users/niteesh/mono/mono-1.1.8.3/mcs/jay'
> cc -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o closure.o closure.c
> <command line>:1:1: warning: "__GNUC__" redefined
> <built-in>:2:1: warning: this is the location of the previous definition
> <command line>:2:1: warning: "__GNUC_MINOR__" redefined
> <built-in>:3:1: warning: this is the location of the previous definition
> <command line>:16:12: warning: "system" re-asserted
> <command line>:17:12: warning: "system" re-asserted
> <command line>:20:10: warning: "cpu" re-asserted
> <command line>:21:14: warning: "machine" re-asserted
> cpp: -lang-c: linker input file unused because linking not done
> cc: installation problem, cannot exec `cc1': No such file or directory
> make[7]: *** [closure.o] Error 1
> make[7]: Leaving directory
> `/export/home/users/niteesh/mono/mono-1.1.8.3/mcs/jay'
> make[6]: *** [do-all] Error 2
> make[6]: Leaving directory
> `/export/home/users/niteesh/mono/mono-1.1.8.3/mcs/jay'
> make[6]: Entering directory
> `/export/home/users/niteesh/mono/mono-1.1.8.3/mcs/mcs'
> ../jay/jay -ctv < ../jay/skeleton.cs cs-parser.jay > jay-tmp.out && mv
> jay-tmp.out cs-parser.cs
> /bin/sh: ../jay/jay: not found
> make[6]: *** [cs-parser.cs] Error 1
> make[6]: Leaving directory
> `/export/home/users/niteesh/mono/mono-1.1.8.3/mcs/mcs'
> ./mcs/cs-parser.cs: No such file or directory
> make[6]: Entering directory
> `/export/home/users/niteesh/mono/mono-1.1.8.3/mcs/jay'
> make all-local
> make[7]: Entering directory
> `/export/home/users/niteesh/mono/mono-1.1.8.3/mcs/jay'
> cc -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o closure.o closure.c
> <command line>:1:1: warning: "__GNUC__" redefined
> <built-in>:2:1: warning: this is the location of the previous definition
> <command line>:2:1: warning: "__GNUC_MINOR__" redefined
> <built-in>:3:1: warning: this is the location of the previous definition
> <command line>:16:12: warning: "system" re-asserted
> <command line>:17:12: warning: "system" re-asserted
> <command line>:20:10: warning: "cpu" re-asserted
> <command line>:21:14: warning: "machine" re-asserted
> cpp: -lang-c: linker input file unused because linking not done
> cc: installation problem, cannot exec `cc1': No such file or directory
> make[7]: *** [closure.o] Error 1
> make[7]: Leaving directory
> `/export/home/users/niteesh/mono/mono-1.1.8.3/mcs/jay'
> make[6]: *** [do-all] Error 2
> make[6]: Leaving directory
> `/export/home/users/niteesh/mono/mono-1.1.8.3/mcs/jay'
> make[5]: *** [all-recursive] Error 1
> make[5]: Leaving directory `/export/home/users/niteesh/mono/mono-1.1.8.3/mcs'
> make[4]: *** [profile-do--basic--all] Error 2
> make[4]: Leaving directory `/export/home/users/niteesh/mono/mono-1.1.8.3/mcs'
> make[3]: *** [profiles-do--all] Error 2
> make[3]: Leaving directory `/export/home/users/niteesh/mono/mono-1.1.8.3/mcs'
> make[2]: *** [all-local] Error 2
> make[2]: Leaving directory
> `/export/home/users/niteesh/mono/mono-1.1.8.3/runtime'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/export/home/users/niteesh/mono/mono-1.1.8.3'
> *** Error code 2
> make: Fatal error: Command failed for target `all'
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 
> 
-- 
Peter Williams                          peter at newton.cx

"[Ninjas] are cool; and by cool, I mean totally sweet."
                              -- REAL Ultimate Power



More information about the Mono-devel-list mailing list