[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Removing gnats/man and config/*
From: |
Mike M. Volokhov |
Subject: |
Re: [PATCH] Removing gnats/man and config/* |
Date: |
Thu, 24 Feb 2005 11:44:27 +0200 |
On Tue, 22 Feb 2005 23:15:19 -0600
Chad Walstrom <address@hidden> 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.
gnats-wo-libiberty-20050224.diff.gz
Description: Binary data