This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

binutils-2.13 fails to buld on sparc (due to makeinfo failure)


I'm trying(remotely) to build binutils-2.13 --target-m68k-elf on a
sparc/solaris system, and it fails running makeinfo:

makeinfo -I /home/cote/scratch/wm_gnu/binutils-2/bfd/doc /home/cote/scratch/wm_gnu/binutils-2/bfd/doc/bfd.texinfo
/home/cote/scratch/wm_gnu/binutils-2/bfd/doc/mmo.texi:4: Unknown info command `command'.
/home/cote/scratch/wm_gnu/binutils-2/bfd/doc/mmo.texi:4: Misplaced `{'.
/home/cote/scratch/wm_gnu/binutils-2/bfd/doc/mmo.texi:4: Misplaced `}'.
/home/cote/scratch/wm_gnu/binutils-2/bfd/doc/mmo.texi:5: Unknown info command `url'.
/home/cote/scratch/wm_gnu/binutils-2/bfd/doc/mmo.texi:5: Misplaced `{'.
/home/cote/scratch/wm_gnu/binutils-2/bfd/doc/mmo.texi:5: Misplaced `}'.
/home/cote/scratch/wm_gnu/binutils-2/bfd/doc/mmo.texi:7: Unknown info command `command'.
/home/cote/scratch/wm_gnu/binutils-2/bfd/doc/mmo.texi:7: Misplaced `{'.
/home/cote/scratch/wm_gnu/binutils-2/bfd/doc/mmo.texi:7: Misplaced `}'.
/home/cote/scratch/wm_gnu/binutils-2/bfd/doc/mmo.texi:12: Unknown info command `url'.
/home/cote/scratch/wm_gnu/binutils-2/bfd/doc/mmo.texi:12: Misplaced `{'.
/home/cote/scratch/wm_gnu/binutils-2/bfd/doc/mmo.texi:12: Misplaced `}'.
/home/cote/scratch/wm_gnu/binutils-2/bfd/doc/mmo.texi:42: Unknown info command `url'.
/home/cote/scratch/wm_gnu/binutils-2/bfd/doc/mmo.texi:42: Misplaced `{'.
/home/cote/scratch/wm_gnu/binutils-2/bfd/doc/mmo.texi:42: Misplaced `}'.
/home/cote/scratch/wm_gnu/binutils-2/bfd/doc/mmo.texi:174: Unknown info command `url'.
/home/cote/scratch/wm_gnu/binutils-2/bfd/doc/mmo.texi:174: Misplaced `{'.
/home/cote/scratch/wm_gnu/binutils-2/bfd/doc/mmo.texi:174: Misplaced `}'.
Making info file `bfd.info' from `/home/cote/scratch/wm_gnu/binutils-2/bfd/doc/bfd.texinfo'.
*** Error code 2
make: Fatal error: Command failed for target `bfd.info'
Current working directory /temp/wm_gnu/obj/gnu_cf/m68k-elf/binutils/bfd/doc
*** Error code 1
make: Fatal error: Command failed for target `install-recursive'
Current working directory /temp/wm_gnu/obj/gnu_cf/m68k-elf/binutils/bfd
*** Error code 1
make: Fatal error: Command failed for target `install-bfd'


So I looked to see why I didn't have this problem on my RH 7.1 system,
and lo & behold, configure claims my makeinfo(version 4.0) is too old:

>checking for makeinfo... (cached) makeinfo
>checking for modern makeinfo... no
>configure: warning: 
>*** Makeinfo is missing or too old.
>*** Info documentation will not be built.

So I decided to try to build makeinfo on my x86 box.  I grabbed the
latest copy of textinfo-4.2 and configured it with
'--prefix=/tmp/junk', and the make states: 

[pbarada: ~/work/cvs-wavemark/cross-linux-tools/obj/junk/m68k-linux/tools/texinfo] > make
cd /home/pbarada/work/cvs-wavemark/cross-linux-tools/texinfo-4.2 && /bin/sh /home/pbarada/work/cvs-wavemark/cross-linux-tools/texinfo-4.2/missing --run aclocal-1.6 -I m4
/home/pbarada/work/cvs-wavemark/cross-linux-tools/texinfo-4.2/missing: aclocal-1.6: command not found
WARNING: `aclocal-1.6' is needed, and you do not seem to have it handy on your
         system.  You might have modified some files without having the
         proper tools for further handling them.  Check the `README' file,
         it often tells you about the needed prerequirements for installing
         this package.  You may also peek at any GNU archive site, in case
         some other package would contain this missing `aclocal-1.6' program.
make: *** [/home/pbarada/work/cvs-wavemark/cross-linux-tools/texinfo-4.2/aclocal.m4] Error 1

So back to grab a copy of automake-1.6.3 and configure it with
'--prefix=/tmp/junk', and configure complains with:

[pbarada: ~/work/cvs-wavemark/cross-linux-tools/obj/junk/m68k-linux/tools/automake] > ~/work/cvs-wavemark/cross-linux-tools/automake-1.6.3/configure --prefix=/tmp/junk/
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for perl... /usr/bin/perl
configure: error: Autoconf 2.52 or better is required

So back to grab a copy of autoconf-2.53 an configure it with
'--prefix=/tmp/junk' and the output of make is:

[pbarada: ~/work/cvs-wavemark/cross-linux-tools/obj/junk/m68k-linux/tools/autoconf] > make
cd /home/pbarada/work/cvs-wavemark/cross-linux-tools/autoconf-2.53 && /bin/sh /home/pbarada/work/cvs-wavemark/cross-linux-tools/autoconf-2.53/config/missing --run autoconf
autoconf: configure.in: No such file or directory
make: *** [/home/pbarada/work/cvs-wavemark/cross-linux-tools/autoconf-2.53/configure] Error 1

So it fails, but I don't have a clue why.  Does anyone know how I can
build makeinfo for my system from *scratch*?

-- 
Peter Barada                                   Peter.Barada@motorola.com
Wizard                                         781-852-2768 (direct)
WaveMark Solutions(wholly owned by Motorola)   781-270-0193 (fax)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]