gcc 2.95.2 install bug

Gordon Hopper gordon@ee.byu.edu
Thu Nov 11 08:09:00 GMT 1999


The 'include' subdirectory gets the wrong permissions when installed. 
It seems to be installed using the username and umask of the user who
compiled the package.  This causes 'permission denied on include file'
errors for other users when they try to compile.

I was able to fix it with a `chown -R` and `find ... chmod`.

The directory with the strange permissions was
/usr/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/include/ and the
subdirectories of that.  I installed using the default path
(/usr/local).

I'm using hp-ux 10.20 on pa-risc 2.0,
configure switches were 
../gcc-2.95.2/configure --host=hppa1.1-hp-hpux10.20 --with-gnu-as

The umask in my .cshrc is 077.  I ran `./configure; make` as myself
root's umask is 027.  I ran `make install` as root

Thanks for your time,

Gordon


More information about the Gcc-bugs mailing list