Re: [PATCH] Removing gnats/man and config/*

"Mike M. Volokhov" <[email protected]>
Newsgroups gmane.comp.bug-tracking.gnats.general
Organization Insakharprom-K, Ltd.
Message-ID <[email protected]>
On Tue, 22 Feb 2005 23:15:19 -0600
Chad Walstrom <[email protected]> wrote:

> OK.  Because I did say I wouldn't be the benevolent dictator and play by
> the same rules as everyone else... ;-)  This patch will remove gnats/man
> directory and contents, config/ contents, renames configure.in to
> configure.ac, moves missing and install-sh to config/, and updates
> texinfo.tex. ;-)

Greetings!

I found some troubles when configuring GNATS:

$ patch -E -p1 < config-man-cleanup.diff
$ patch < gnats-wo-libiberty.diff
$ vi autoconf.ac
... some fixups in autoconf.ac (removing libiberty) ...
$ find . -name '*.orig' | xargs rm
$ autoconf -V | head -1
autoconf (GNU Autoconf) 2.59
$ autoconf -f
$ cd doc && autoconf -f && cd ..
$ cd gnats && autoconf -f && cd ..
$ cd send-pr && autoconf -f && cd ..
$ ./configure --prefix=/usr/home/mishka/gnats
....  some normal configure's stuff ....
configure: configuring in gnats
configure: running /bin/sh './configure' --prefix=/usr/home/mishka/gnats  '--prefix=/usr/home/mishka/gnats' --cache-file=/dev/null --srcdir=.
configure: error: cannot find install-sh or install.sh in . ./.. ./../..
configure: error: /bin/sh './configure' failed for gnats

This happens after moving install-sh and missing to config subdirectory.
I'm not autotools guru and just have added AC_CONFIG_AUX_DIR(../config)
to configure.{ac,in} of doc, gnats, and send-pr subdirectories to solve
this problem.

Installation also broken. At Makefile.in we have:

	INSTALL = $(srcdir)/../install-sh -c
	INSTALL_PROGRAM = @INSTALL_PROGRAM@

After configure @INSTALL_PROGRAM@ will be replaced by ${INSTALL} (at
least on my system) and thus have incorrect path.

> Next, time to test Mike's patch.  If I hear no objections, I'll commit
> the patch later tomorrow.

Hey men, I forgot to include ansidecl.h into my latest patch! Just copy
it from include direcory, or use a new patch (attached):

	cp include/ansidecl.h gnats

All the rest seems works fine.

--
Mishka.

_______________________________________________
Help-gnats mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnats
gnats-wo-libiberty-20050224.diff.gz (application/octet-stream, 23.6 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.