For When You Can't Have The Real Thing
[ start | index | login ]
start > gcc > 4.1.2 > makeinfo build error

makeinfo build error

Created by dave. Last edited by dave, 10 years and 341 days ago. Viewed 3,524 times. #2
[diff] [history] [edit] [rdf]
labels
attachments
2013-05-15

Problem

Building gcc 4.1.2 on CentOS 6 halts with the error:

WARNING: `makeinfo' is missing on your system.  You should only need it if
         you modified a `.texi' or `.texinfo' file, or any other file
         indirectly affecting the aspect of the manual.  The spurious
         call might also be the consequence of using a buggy `make' (AIX,
         DU, IRIX).  You might want to install the `Texinfo' package or
         the `GNU make' package.  Grab either from any GNU archive site.

Solution

First, make sure that texinfo is installed.

Second, because gcc-4.1.2 has a bug and thinks that versions of makeinfo greater than 10 are actually lower than 9 we need to do something manually. Open the Makefile that was created by the ./configure and edit the line where it says:

MAKEINFO = /opt/YOURUSERNAME/newlib-1.15.0/missing makeinfo

and change it to:

MAKEINFO = makeinfo

Save the file and run make.

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt