15

I have makeinfo 4.8 already installed. Command line typing $ makeinfo --version returns makeinfo (GNU texinfo) 4.8.

I'd like to update the version to the latest 4.13. I've found relevant info here and here. I'm new to command line/bash/git... Please help me out, much appreciated!

rubenvb
  • 74,642
  • 33
  • 187
  • 332
Ann Yu
  • 153
  • 1
  • 5

1 Answers1

16

Looking at this issue, you shouldn't need dragonfly (or git commands):

configure: error: You do not seem to have makeinfo >= 4.13, and your
source tree does not seem to have pre-built manuals in the 'info' directory.
Either install a suitable version of makeinfo, or re-run configure
with the '--without-makeinfo' option to build without the manuals. 

I've tried brew install texinfo and then brew ln texinfo --force and now makeinfo --version shows texi2any (GNU texinfo) 6.3

Note, as commented by jmq::

If you use brew to install, make sure you have /usr/local/opt/texinfo/bin in your path, and it is before /usr/bin.
Version 4.8 of this tool on the Mac (10.12.6) is located in /usr/bin/makeinfo.
If this path is in front of the latter, then it will not find the latest version installed by brew.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • 2
    If you use brew to install make sure you have `/usr/local/opt/texinfo/bin ` in your path and it is before `/usr/bin`. Version 4.8 of this tool on the Mac (10.12.6) is located in `/usr/bin/makeinfo`. If this path is in front of the latter, then it will not find the latest version installed by brew. – jmq Jul 31 '17 at 17:50
  • @jmq Thank you. I have included your comment in the answer for more visibility. – VonC Jul 31 '17 at 20:43
  • Thanks for the reply. Got hit with this while trying to build GnuPG from sources on macOS: makeinfo: unrecognized option `--css-ref=/share/site.css' – Nickolay Olshevsky Jun 12 '23 at 14:54
  • 1
    @NickolayOlshevsky OK. Did you find a workaround? – VonC Jun 12 '23 at 16:19
  • 1
    @VonC yup, with the `brew install` and `export MAKEINFO=/usr/local/opt/texinfo/bin/makeinfo` before calling GnuPG's `./configure` – Nickolay Olshevsky Jun 12 '23 at 18:30
  • @NickolayOlshevsky That should work, indeed. Well done. – VonC Jun 12 '23 at 18:33