[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hello-2.10 wants RANLIB but Changelog says RANLIB removed in 2006
From: |
Mathieu Lirzin |
Subject: |
Re: hello-2.10 wants RANLIB but Changelog says RANLIB removed in 2006 |
Date: |
Tue, 07 Jan 2020 11:28:40 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hello,
GNU hello uses Gnulib which require to run the ‘./bootstrap’ script.
‘ranlib’ is provided by Libtool.
Gnulib will not help you learn how to use the Autotools because it adds
an extra layer. I recommend reading Automake manual instead and try to
build a toy C project with Autoconf/Automake first, then introduce Libtool,
then eventually add Gnulib.
JG Morse via "GNU Hello bugs and discussion." <address@hidden>
writes:
> Hello,I am trying to learn GNU autotools from the GNU tarball for
> hello-2.10.When I run automake it wants me to run aclocal because my
> automake is 1.15 and the tarball configs are 1.14.So I do that and
> re-run automakeNow it says that RANLIB is undefined and I should
> modify config.ac to define RANLIBBut it does not say what RANLIB is
> for, or what it should be defined as.
> The Changelog file says that RANLIB was added in 1997, and removed in 1998,
> and there is an entry from 2006 saying RANLIB is not needed.
> This seem like some sort of a bug.While I am waiting for a fix could you
> tell me what I should do next?
> Thank you,Greg Morse---------------------------------------- Output
> ---------------------------------automake --version
> automake (GNU automake) 1.15.1
> Copyright (C) 2017 Free Software Foundation, Inc.
> License GPLv2+: GNU GPL version 2 or later
> <http://gnu.org/licenses/gpl-2.0.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
>
> Written by Tom Tromey <address@hidden>
> and Alexandre Duret-Lutz
> <address@hidden>...................................................................................................................
> greg19@Trojan:~/Projects/hello-2.10$ aclocal --version
> aclocal (GNU automake) 1.15.1
> Copyright (C) 2017 Free Software Foundation, Inc.
> License GPLv2+: GNU GPL version 2 or later
> <http://gnu.org/licenses/gpl-2.0.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
>
> Written by Tom Tromey <address@hidden>
> and Alexandre Duret-Lutz
> <address@hidden>...............................................................................................................
> greg19@Trojan:~/Projects/hello-2.10$ autoconf --version
> autoconf (GNU Autoconf) 2.69
> Copyright (C) 2012 Free Software Foundation, Inc.
> License GPLv3+/Autoconf: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
>
> Written by David J. MacKenzie and Akim Demaille.
> ........................................................................................
> greg19@Trojan:~/Projects/hello-2.10$ aclocal
> sh: 1: build-aux/git-version-gen: not found
> sh: 1: build-aux/git-version-gen: not found
> sh: 1: build-aux/git-version-gen: not found
> sh: 1: build-aux/git-version-gen: not found
> sh: 1: build-aux/git-version-gen: not found
> sh: 1: build-aux/git-version-gen: not found
> sh: 1: build-aux/git-version-gen: not found
> sh: 1: build-aux/git-version-gen: not found
> sh: 1: build-aux/git-version-gen: not found
> sh: 1: build-aux/git-version-gen: not found
> sh: 1: build-aux/git-version-gen: not
> found.......................................................................................................
> greg19@Trojan:~/Projects/hello-2.10$
> autoconf...........................................................................................................
> greg19@Trojan:~/Projects/hello-2.10$ automake
> lib/gnulib.mk:170: error: GL_GENERATE_ERRNO_H does not appear in
> AM_CONDITIONAL
> Makefile.am:135: 'lib/local.mk' included from here
> lib/local.mk:1: 'lib/gnulib.mk' included from here
> lib/gnulib.mk:584: error: GL_GENERATE_STDBOOL_H does not appear in
> AM_CONDITIONAL
> Makefile.am:135: 'lib/local.mk' included from here
> lib/local.mk:1: 'lib/gnulib.mk' included from here
> lib/gnulib.mk:607: error: GL_GENERATE_STDDEF_H does not appear in
> AM_CONDITIONAL
> Makefile.am:135: 'lib/local.mk' included from here
> lib/local.mk:1: 'lib/gnulib.mk' included from here
> configure.ac:28: error: required file 'config.in' not found
> Makefile.am:71: error: library used but 'RANLIB' is undefined
> Makefile.am:71: The usual way to define 'RANLIB' is to add 'AC_PROG_RANLIB'
> Makefile.am:71: to 'configure.ac' and run 'autoconf'
> again..............................................................................................ls
> -lt
> total 720
> -rwxr-xr-x 1 greg19 greg19 239474 Jan 6 18:41 configure
> drwxr-xr-x 2 greg19 greg19 4096 Jan 6 18:41 autom4te.cache
> -rw-r--r-- 1 greg19 greg19 138314 Jan 6 18:30 aclocal.m4
> -rw-r--r-- 1 greg19 greg19 12988 Nov 16 2014 ChangeLog
> drwxr-xr-x 2 greg19 greg19 4096 Nov 16 2014 doc
>
> <SNIP>
>
--
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761 070D 0ADE E100 9460 4D37