Summary: gcc-2.7.2.2 install problem

Janet Leung (jleung@PARIS.tactech.com)
Fri, 23 May 1997 16:11:03 -0700 (PDT)

Thanks to:
Steve Snodgrass <ssnodgra@fore.com>
Benjamin Cline <benji@hnt.com>
Tim Evans <tkevans@eplrx7.es.dupont.com>
Gustavo Chaves <gustavo@cpqd.br>
Glenn Satchell <Glenn.Satchell@Uniq.com.au>
Tim Carlson <tim@santafe.edu>
Daniel M. Eischen" <deischen@iworks.InterWorks.org>
Nareddy Venugopal Reddy <venus@delsoft.com>
Angel Lopez Luengo <alopez@mayor.dia.fi.upm.es>
Nelson Jose dos Santos Ferreira <Nelson.Ferreira@inesc.pt>
Laurent Duperval <laurent@Grafnetix.COM>
Marcelo Maraboli <maraboli@dcsc.utfsm.cl>
Justin Ennis <justin@tau_lepton.chinalake.navy.mil>
Tom Mornini <tmornini@infomania.com>
Cathy Hargrave <cathy@mercury.stm.com>
john benjamins <johnb@Soliton.COM>
Frank Pardo <fpardo@tisny.com>

Suggestions
-----------
1. Nothing's wrong, you just don't have GNU's makeinfo on your system,
to create the info documentation files. Personally I usually just
comment the makeinfo stuff out of the makefile, but you could get the
info package if you want these.
2. The gcc installation is looking for the gnu texinfo package (which
makeinfo is a part of). Installation texinfo without a working
compiler may be a little tricky, probably the easiest thing to do
would be to download a pre-compiled binary from your favorite web site
(such as http://smc.vnet.net).
3. If you don't care about makeinfo, just do 'make -i install' to
ignore this error
4. If you don't need the documentation, just do a `make install -k' so
that make goes ahead and do what else it has to do. If you want it,
get the makeinfo sources from any GNU mirror and install it.
5. comment the line in which this happens, because it assumes you want
to make the "gcc*.info" files again with TEX language... so comment
out line 2125 in the Makefile..
6. You don't have the makeinfo utility. Two options:
a) Get it and compile it with your existing compiler. It's a GNU
tool, texinfo-3.9.tar.gz
b) Edit all the Makefiles and change "makeinfo" to "true" which
will make the install finish, but will not install the texinfo files,
which are just reference materials, not a functional part of the
compiler.
vi `find . -name Makefile -print`
7. The error is "sh: makeinfo: not found" which means it didn't find
the GNU makeinfo program. this is part of the texinfo package. you
can install it, or put a dummy program called makeinfo, which is just
a link to /bin/true, in your path. the calls to makeinfo won't do
anything, but they will be successful as far as make is concerned.
8. You need the texinfo package. Latest version I think is
texinfo-3.9.tar.gz. Look on your favorite GNU mirror.
9. First install texinfo. This will install makeinfo and your problem
will be solved.

Original problem
----------------
During the make install phrase of gcc-2.7.2.2 on Solaris 2.3/5, the
following error popped up:

chmod a-x /usr/local/man/man1/cccp.1
cd .; makeinfo gcc.texi
sh: makeinfo: not found
*** Error code 1
make: Fatal error: Command failed for target `gcc.info'

The make stage2 does not give any error messages, nor "make compare".
Does anybody know what went wrong?
------------
Janet Leung, TACTech, Inc., Yorba Linda, CA 92887