Ubuntu Tool-Building Blues

Robert S. Grimes rsg at alum.mit.edu
Fri Sep 12 23:55:45 UTC 2008


Argh!  Figures - I was able to resolve the build problem.  Even though 
the missing makeinfo is claimed as a WARNING, it seems it isn't really.  
Furthermore, installing texinfo (and hence, makeinfo) isn't sufficient 
to resolve this.  What is needed is to blast away the built directory, 
and re-run configure - _after_ installing makeinfo!  Then, it builds and 
installs just fine.

Still would like to know if using 4.10 is the right thing to do for tools...

Thanks, and sorry about the premature problem report...
-Bob



Robert S. Grimes wrote:
> I'm trying to set up a build environment for testing the 4.9 branch on 
> Ubuntu Linux, and I'm having a few problems.
>
> 1. I had hoped to use the prebuilt RPMs, but it seems Ubuntu is not 
> supported :-( .  So I must build them myself, right?
>
> 2. Because I've been using 4.8, and need to update to use Sebastian's 
> spi-sd-card driver - as well as possibly the nvdisk with FRAM), and am 
> thinking of the future, I thought I'd try to build the 4.10 tools in 
> /ftp/pub/rtems/SOURCES/4.10 - is that a good idea, or should I use 4.9?
>
> 3. I got binutils-2.18.tar.bz2, unpacked and patched it, confugiured a 
> build directory, and am trying to build.  It failed, suggesting I 
> install texinfo (though that was just a warning).  After installing 
> texinfo, it still fails at the same place, and I can't seem to see the 
> error.  Here is the complete output:
>
> rsg at vir:~/rtems/tools/b-binutils$ make all
> make[1]: Entering directory `/home/rsg/rtems/tools/b-binutils'
> make[2]: Entering directory `/home/rsg/rtems/tools/b-binutils/libiberty'
> make[3]: Entering directory 
> `/home/rsg/rtems/tools/b-binutils/libiberty/testsuite'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory 
> `/home/rsg/rtems/tools/b-binutils/libiberty/testsuite'
> make[2]: Leaving directory `/home/rsg/rtems/tools/b-binutils/libiberty'
> make[2]: Entering directory `/home/rsg/rtems/tools/b-binutils/intl'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/home/rsg/rtems/tools/b-binutils/intl'
> make[2]: Entering directory `/home/rsg/rtems/tools/b-binutils/bfd'
> Making info in doc
> make[3]: Entering directory `/home/rsg/rtems/tools/b-binutils/bfd/doc'
> restore=: && backupdir=".am$$" && \
>    rm -rf $backupdir && mkdir $backupdir && \
>    if (/home/rsg/rtems/tools/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/rsg/rtems/tools/binutils-2.18/missing makeinfo 
> --split-size=5000000 --split-size=5000000   -I 
> ../../../binutils-2.18/bfd/doc \
>     -o bfd.info `test -f 'bfd.texinfo' || echo 
> '../../../binutils-2.18/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/rsg/rtems/tools/b-binutils/bfd/doc'
> Making info in po
> make[3]: Entering directory `/home/rsg/rtems/tools/b-binutils/bfd/po'
> make[3]: Nothing to be done for `info'.
> make[3]: Leaving directory `/home/rsg/rtems/tools/b-binutils/bfd/po'
> make[3]: Entering directory `/home/rsg/rtems/tools/b-binutils/bfd'
> make[3]: Nothing to be done for `info-am'.
> make[3]: Leaving directory `/home/rsg/rtems/tools/b-binutils/bfd'
> make[2]: *** [info-recursive] Error 1
> make[2]: Leaving directory `/home/rsg/rtems/tools/b-binutils/bfd'
> make[1]: *** [all-bfd] Error 2
> make[1]: Leaving directory `/home/rsg/rtems/tools/b-binutils'
> make: *** [all] Error 2
>
> Any ideas?
>
> Thanks,
> -Bob
>




More information about the users mailing list