Can't compile gcc-3.3.2 - /home/mitchell... Permission denied

Paolo Bonzini bonzini@gnu.org
Fri Aug 27 16:49:00 GMT 2004


> I'm trying to compile gcc v3.3.2 on Solaris 8 but when I run make I
> continue to get:
 >
> /home/mitchell/gcc-3.3.2/gcc-3.3.2/gcc/java/parse.y:49: config.h:
> Permission denied
 > [...]
> /home/mitchell/gcc-3.3.2/gcc-3.3.2/gcc/java/parse.y:16458: gtype-java.h:
> Permission denied
> make[1]: *** [java/parse.o] Error 1
> make[1]: Leaving directory `/tmp/cjs/gcc-3.3.2/gcc'
> make: *** [all-gcc] Error 2
> 
> What gives?  I assume this is connected to Mark Mitchell?

These are the paths that are stored in the bison-generated parser: they 
are in #line directives, and refer to the absolute path on the machine 
where bison was run (Mark Mitchell's, since he's the release manager for 
3.3.2).

You have some permissions screwed up, it looks like.  Did you start a 
build as root (umask 700), and are continuing it with another user?

Paolo



More information about the Gcc mailing list