You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting to update the build process for jwhois to work on recent systems (I am using Ubuntu 14.04). The code does not build successfully as checked out from git. I can offer some patches but perhaps you know how to get it working from here.
In particular, are there any files missing, such as m4/Makefile.in?
Why does autogen.sh corrupt configure.ac (see end)?
(I can offer the following as a git pull request if this would help.)
// Remove a deprecation warning by renaming configure.in:
$ git mv configure.in configure.ac
// Edit configure.ac to remove deprecation warnings. (Changes as follows).
$ git diff configure.ac
diff --git a/configure.ac b/configure.ac
index f1cdd10..119abf3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -17,10 +17,9 @@ dnl Process this file with autoconf to produce a configure script.
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
##
-AC_INIT
+AC_INIT([jwhois], [4.0])
AC_CONFIG_SRCDIR([src/jconfig.c])
-AM_INIT_AUTOMAKE(jwhois,4.0)
-AM_CONFIG_HEADER(config.h)
+AM_INIT_AUTOMAKE
AH_TEMPLATE([PACKAGE], [package name])
AH_TEMPLATE([VERSION], [package version])
Then run: $ ./autogen.sh
configure.ac:210: error: `po/Makefile.in' is already registered with AC_CONFIG_FILES.
../../lib/autoconf/status.m4:288: AC_CONFIG_FILES is expanded from...
configure.ac:210: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal-1.14: error: echo failed with exit status: 1
It turns out that autogen.sh has duplicated the po/Makefile.in reference in configure.ac.
-AC_OUTPUT([ po/Makefile.in m4/Makefile
+AC_OUTPUT([ po/Makefile.in m4/Makefile po/Makefile.in
Is this a bug in autogen.sh?
The text was updated successfully, but these errors were encountered:
I am attempting to update the build process for jwhois to work on recent systems (I am using Ubuntu 14.04). The code does not build successfully as checked out from git. I can offer some patches but perhaps you know how to get it working from here.
In particular, are there any files missing, such as m4/Makefile.in?
Why does autogen.sh corrupt configure.ac (see end)?
(I can offer the following as a git pull request if this would help.)
My build procedure so far is:
$ git clone https://github.com/jonasob/jwhois.git
$ cd jwhois
// Edit autogen.sh to work with most recent automake-1.14 (quick hack). Change as follows:
// Remove a deprecation warning by renaming configure.in:
$ git mv configure.in configure.ac
// Edit configure.ac to remove deprecation warnings. (Changes as follows).
Then run: $ ./autogen.sh
It turns out that autogen.sh has duplicated the po/Makefile.in reference in configure.ac.
-AC_OUTPUT([ po/Makefile.in m4/Makefile
+AC_OUTPUT([ po/Makefile.in m4/Makefile po/Makefile.in
Is this a bug in autogen.sh?
The text was updated successfully, but these errors were encountered: