This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
make distcheck fails: permission denied
- From: Dan Christian <Daniel dot A dot Christian at NASA dot gov>
- To: automake at gnu dot org
- Date: Wed, 11 Dec 2002 12:41:24 -0800
- Subject: make distcheck fails: permission denied
- Organization: NASA Ames Research Center
- Reply-to: dchristian at mail dot arc dot nasa dot gov
With automake-1.5, "make distcheck" fails toward the end with several
permission denied errors. Everything used to work fine in 1.4.
My configure.in puts config stuff in a subdirectory. It has in it:
AC_CONFIG_AUX_DIR(config)
When I run "make distcheck" I end with these errors:
make[1]: Entering directory `/home/dac/AR/src/doms/doms-0.5.9/=build'
chmod -R a+w doms-0.5.9 >/dev/null 2>&1; rm -rf doms-0.5.9
mkdir doms-0.5.9
/bin/sh ../config/mkinstalldirs doms-0.5.9/config
mkdir doms-0.5.9/config
cp: cannot create regular file `doms-0.5.9/config/config.guess':
Permission denied
cp: cannot create regular file `doms-0.5.9/config/config.sub':
Permission denied
cp: cannot create regular file `doms-0.5.9/config/depcomp': Permission
denied
cp: cannot create regular file `doms-0.5.9/config/install-sh':
Permission denied
cp: cannot create regular file `doms-0.5.9/config/ltmain.sh': Permission
denied
cp: cannot create regular file `doms-0.5.9/config/missing': Permission
denied
cp: cannot create regular file `doms-0.5.9/config/mkinstalldirs':
Permission denied
make[1]: *** [distdir] Error 1
make[1]: Target `dist' not remade because of errors.
make[1]: Leaving directory `/home/dac/AR/src/doms/doms-0.5.9/=build'
First, why is it trying to re-create the config stuff?
Second, why didn't it fix the permissions?
[dac@rudi doms]$ ll -d doms-0.5.9/=build/doms-0.5.9/config
dr-xr-xr-x 3 dac arp 4096 Dec 11 12:25
doms-0.5.9/=build/doms-0.5.9/config/
I tried adding a "dist-hook" to fix the permissions, but it doesn't seem
to run at the right time.
I'm not on the list. Please CC me on any replies.
-Dan