Makeinfo error when attempting to compile binutils-2.18 for AVR target
Robert L Cochran
cochranb at speakeasy.net
Sun Mar 16 18:34:22 UTC 2008
I'm trying to compile the gnu avr toolchain on Fedora 7. The first step
is to compile binutils with target=avr. I downloaded binutils-2.18 and
used this configure incantation:
../configure --prefix=$PREFIX --target=avr --disable-nls
But when I run make I get the following errors on makeinfo shown below.
I Googled a bit and discovered this thread
http://forums.ps2dev.org/viewtopic.php?t=9173&sid=3b98720de0d961a8e696f5f7a68f780d
which describes the same problem and suggests upgrading to texinfo-4.9.
Does anyone here have a better idea?
My output from make:
-----------------------------------------------------------------------------
make[3]: Entering directory
`/home/rlc/binutils-2.18/obj-avr/libiberty/testsuite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/home/rlc/binutils-2.18/obj-avr/libiberty/testsuite'
make[2]: Leaving directory `/home/rlc/binutils-2.18/obj-avr/libiberty'
make[2]: Entering directory `/home/rlc/binutils-2.18/obj-avr/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/rlc/binutils-2.18/obj-avr/intl'
make[2]: Entering directory `/home/rlc/binutils-2.18/obj-avr/bfd'
Making info in doc
make[3]: Entering directory `/home/rlc/binutils-2.18/obj-avr/bfd/doc'
make chew
make[4]: Entering directory `/home/rlc/binutils-2.18/obj-avr/bfd/doc'
gcc -o chew.$$ ../../../bfd/doc/chew.c \
-g -O2 \
-I.. -I../../../bfd/doc/.. -I../../../bfd/doc/../../include
-I../../../bfd/doc/../../intl -I../../intl; \
/bin/sh ../../../bfd/doc/../../move-if-change chew.$$ chew
make[4]: Leaving directory `/home/rlc/binutils-2.18/obj-avr/bfd/doc'
./chew -f ../../../bfd/doc/doc.str <../../../bfd/doc/../elf.c >elf.tmp
/bin/sh ../../../bfd/doc/../../move-if-change elf.tmp elf.texi
restore=: && backupdir=".am$$" && \
rm -rf $backupdir && mkdir $backupdir && \
if (/home/rlc/binutils-2.18/missing makeinfo
--split-size=5000000 --split-size=5000000 --version) >/dev/null 2>&1; then \
for f in bfd.info bfd.info-[0-9] bfd.info-[0-9][0-9]
bfd.i[0-9] bfd.i[0-9][0-9]; do \
if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
done; \
else :; fi && \
if /home/rlc/binutils-2.18/missing makeinfo --split-size=5000000
--split-size=5000000 -I ../../../bfd/doc \
-o bfd.info `test -f 'bfd.texinfo' || echo
'../../../bfd/doc/'`bfd.texinfo; \
then \
rc=0; \
else \
rc=$?; \
$restore $backupdir/* `echo "./bfd.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
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.
make[3]: *** [bfd.info] Error 1
make[3]: Leaving directory `/home/rlc/binutils-2.18/obj-avr/bfd/doc'
Making info in po
make[3]: Entering directory `/home/rlc/binutils-2.18/obj-avr/bfd/po'
( if test 'x../../../bfd/po' != 'x.'; then \
posrcprefix='../../../bfd/'; \
else \
posrcprefix="../"; \
fi; \
rm -f SRC-POTFILES-t SRC-POTFILES \
&& (sed -e '/^#/d' \
-e '/^[ ]*$/d' \
-e "s at .*@ $posrcprefix& \\\\@" <
../../../bfd/po/SRC-POTFILES.in \
| sed -e '$s/\\$//') > SRC-POTFILES-t \
&& chmod a-w SRC-POTFILES-t \
&& mv SRC-POTFILES-t SRC-POTFILES )
( rm -f BLD-POTFILES-t BLD-POTFILES \
&& (sed -e '/^#/d' \
-e '/^[ ]*$/d' \
-e "s at .*@ ../& \\\\@" <
../../../bfd/po/BLD-POTFILES.in \
| sed -e '$s/\\$//') > BLD-POTFILES-t \
&& chmod a-w BLD-POTFILES-t \
&& mv BLD-POTFILES-t BLD-POTFILES )
cd .. \
&& CONFIG_FILES=po/Makefile.in:po/Make-in \
CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating po/Makefile.in
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing bfd_stdint.h commands
config.status: executing default commands
make[3]: Leaving directory `/home/rlc/binutils-2.18/obj-avr/bfd/po'
make[3]: Entering directory `/home/rlc/binutils-2.18/obj-avr/bfd/po'
make[3]: Nothing to be done for `info'.
make[3]: Leaving directory `/home/rlc/binutils-2.18/obj-avr/bfd/po'
make[3]: Entering directory `/home/rlc/binutils-2.18/obj-avr/bfd'
make[3]: Nothing to be done for `info-am'.
make[3]: Leaving directory `/home/rlc/binutils-2.18/obj-avr/bfd'
make[2]: *** [info-recursive] Error 1
make[2]: Leaving directory `/home/rlc/binutils-2.18/obj-avr/bfd'
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory `/home/rlc/binutils-2.18/obj-avr'
make: *** [all] Error 2
----------------------------------------------------------------------------------------
My texinfo version:
[rlc at bobcp4 obj-avr]$ rpm -q texinfo
texinfo-4.11-2.fc7
[rlc at bobcp4 obj-avr]$
More information about the users
mailing list