Hi, I recently found out about 'make distcheck' and wanted to run before I released any more versions of cgdb.
I ran it, and already found several problems with my distributions. One of the problems was that the distribution couldn't run the test suite because I didn't put all the proper directories in the distro. However, I've run into this problem, and don't immediately understand what it is testing or how to fix it. Here is the error, make[2]: Nothing to be done for `uninstall-am'. make[2]: Leaving directory `/home/bob/rcs/svn/cgdb/trunk/build/cgdb-20070402/_build' make[1]: Leaving directory `/home/bob/rcs/svn/cgdb/trunk/build/cgdb-20070402/_build' make[1]: Entering directory `/home/bob/rcs/svn/cgdb/trunk/build/cgdb-20070402/_build' make[1]: Leaving directory `/home/bob/rcs/svn/cgdb/trunk/build/cgdb-20070402/_build' make[1]: Entering directory `/home/bob/rcs/svn/cgdb/trunk/build/cgdb-20070402/_build' { test ! -d cgdb-20070402 || { find cgdb-20070402 -type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr cgdb-20070402; }; } mkdir cgdb-20070402 mkdir -p -- cgdb-20070402/config cp: cannot create regular file `cgdb-20070402/config/readline_check_version.m4': Permission denied cp: cannot create regular file `cgdb-20070402/config/compile': Permission denied cp: cannot create regular file `cgdb-20070402/config/config.guess': Permission denied cp: cannot create regular file `cgdb-20070402/config/config.sub': Permission denied cp: cannot create regular file `cgdb-20070402/config/depcomp': Permission denied cp: cannot create regular file `cgdb-20070402/config/install-sh': Permission denied cp: cannot create regular file `cgdb-20070402/config/mdate-sh': Permission denied cp: cannot create regular file `cgdb-20070402/config/missing': Permission denied cp: cannot create regular file `cgdb-20070402/config/texinfo.tex': Permission denied cp: cannot create regular file `cgdb-20070402/config/ylwrap': Permission denied make[1]: *** [distdir] Error 1 make[1]: Leaving directory `/home/bob/rcs/svn/cgdb/trunk/build/cgdb-20070402/_build' make: *** [distcheck] Error 2 It looks like the last test it did was to uninstall everything. Now, I'm not sure what this next check is doing. For some reason the permissions on the config/ directory are, $ ls -al cgdb-20070402/config total 384 dr-xr-xr-x 2 bob bob 4096 2007-04-02 10:04 . dr-xr-xr-x 11 bob bob 4096 2007-04-02 10:04 .. -r-xr-xr-x 1 bob bob 3707 2006-06-19 19:03 compile -r-xr-xr-x 1 bob bob 44073 2006-06-19 18:04 config.guess -r-xr-xr-x 1 bob bob 32344 2006-06-19 18:04 config.sub -r-xr-xr-x 1 bob bob 15936 2006-06-19 19:03 depcomp -r-xr-xr-x 1 bob bob 9233 2006-06-19 19:03 install-sh -r-xr-xr-x 1 bob bob 5483 2006-06-19 19:03 mdate-sh -r-xr-xr-x 1 bob bob 11014 2006-06-19 19:03 missing -r--r--r-- 1 bob bob 4915 2007-04-02 09:39 readline_check_version.m4 -r--r--r-- 1 bob bob 230259 2006-06-19 19:03 texinfo.tex -r-xr-xr-x 1 bob bob 6193 2006-06-19 19:03 ylwrap The permissions on the originally src/ directory are, $ ls -al config total 20 drwxr-xr-x 3 bob bob 4096 2007-04-02 09:39 . drwxr-xr-x 11 bob bob 4096 2007-04-02 10:03 .. lrwxrwxrwx 1 bob bob 31 2007-04-02 09:39 compile -> /usr/share/automake-1.9/compile lrwxrwxrwx 1 bob bob 36 2007-04-02 09:39 config.guess -> /usr/share/automake-1.9/config.guess lrwxrwxrwx 1 bob bob 34 2007-04-02 09:39 config.sub -> /usr/share/automake-1.9/config.sub lrwxrwxrwx 1 bob bob 31 2007-04-02 09:39 depcomp -> /usr/share/automake-1.9/depcomp lrwxrwxrwx 1 bob bob 34 2007-04-02 09:39 install-sh -> /usr/share/automake-1.9/install-sh lrwxrwxrwx 1 bob bob 32 2007-04-02 09:39 mdate-sh -> /usr/share/automake-1.9/mdate-sh lrwxrwxrwx 1 bob bob 31 2007-04-02 09:39 missing -> /usr/share/automake-1.9/missing -rw-r--r-- 1 bob bob 4915 2007-04-02 09:39 readline_check_version.m4 drwxr-xr-x 7 bob bob 4096 2007-04-02 10:03 .svn lrwxrwxrwx 1 bob bob 35 2007-04-02 09:39 texinfo.tex -> /usr/share/automake-1.9/texinfo.tex lrwxrwxrwx 1 bob bob 30 2007-04-02 09:39 ylwrap -> /usr/share/automake-1.9/ylwrap Does anyone know how I can resolve this issue? Better yet, does anyone know what automake is testing for here? I'm very happy with this functionality, as it saves me time. I'd like to get it working. Thanks, Bob Rossi