LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Binutils won't configure or install (http://www.linuxquestions.org/questions/linux-from-scratch-13/binutils-wont-configure-or-install-757351/)

paintmandoo3993 09-23-2009 04:54 PM

Binutils won't configure or install
 
I'm on Ubuntu Jaunty and I'm to build a distro on an 8gb flash drive which has been giving me tons of problems like this

lfs@michael-laptop:/media/disk-1/sources/binutils-build$ make
make[1]: Entering directory `/media/disk-1/sources/binutils-build'
make[2]: Entering directory `/media/disk-1/sources/binutils-build/libiberty'
make[3]: Entering directory `/media/disk-1/sources/binutils-build/libiberty/testsuite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/media/disk-1/sources/binutils-build/libiberty/testsuite'
make[2]: Leaving directory `/media/disk-1/sources/binutils-build/libiberty'
make[2]: Entering directory `/media/disk-1/sources/binutils-build/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/media/disk-1/sources/binutils-build/intl'
make[2]: Entering directory `/media/disk-1/sources/binutils-build/bfd'
Making info in doc
make[3]: Entering directory `/media/disk-1/sources/binutils-build/bfd/doc'
restore=: && backupdir=".am$$" && \
rm -rf $backupdir && mkdir $backupdir && \
if (/media/disk-1/sources/binutils-build/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 /media/disk-1/sources/binutils-build/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 `/media/disk-1/sources/binutils-build/bfd/doc'
Making info in po
make[3]: Entering directory `/media/disk-1/sources/binutils-build/bfd/po'
make[3]: Nothing to be done for `info'.
make[3]: Leaving directory `/media/disk-1/sources/binutils-build/bfd/po'
make[3]: Entering directory `/media/disk-1/sources/binutils-build/bfd'
make[3]: Nothing to be done for `info-am'.
make[3]: Leaving directory `/media/disk-1/sources/binutils-build/bfd'
make[2]: *** [info-recursive] Error 1
make[2]: Leaving directory `/media/disk-1/sources/binutils-build/bfd'
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory `/media/disk-1/sources/binutils-build'
make: *** [all] Error 2
lfs@michael-laptop:/media/disk-1/sources/binutils-build$ make MAKEINFO=export
make[1]: Entering directory `/media/disk-1/sources/binutils-build'
make[2]: Entering directory `/media/disk-1/sources/binutils-build/libiberty'
make[3]: Entering directory `/media/disk-1/sources/binutils-build/libiberty/testsuite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/media/disk-1/sources/binutils-build/libiberty/testsuite'
make[2]: Leaving directory `/media/disk-1/sources/binutils-build/libiberty'
make[2]: Entering directory `/media/disk-1/sources/binutils-build/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/media/disk-1/sources/binutils-build/intl'
make[2]: Entering directory `/media/disk-1/sources/binutils-build/bfd'
Making info in doc
make[3]: Entering directory `/media/disk-1/sources/binutils-build/bfd/doc'
restore=: && backupdir=".am$$" && \
rm -rf $backupdir && mkdir $backupdir && \
if (export --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 export --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
/bin/bash: line 7: export: --: invalid option
export: usage: export [-nf] [name[=value] ...] or export -p
make[3]: *** [bfd.info] Error 2
make[3]: Leaving directory `/media/disk-1/sources/binutils-build/bfd/doc'
Making info in po
make[3]: Entering directory `/media/disk-1/sources/binutils-build/bfd/po'
make[3]: Nothing to be done for `info'.
make[3]: Leaving directory `/media/disk-1/sources/binutils-build/bfd/po'
make[3]: Entering directory `/media/disk-1/sources/binutils-build/bfd'
make[3]: Nothing to be done for `info-am'.
make[3]: Leaving directory `/media/disk-1/sources/binutils-build/bfd'
make[2]: *** [info-recursive] Error 1
make[2]: Leaving directory `/media/disk-1/sources/binutils-build/bfd'
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory `/media/disk-1/sources/binutils-build'
make: *** [all] Error 2
lfs@michael-laptop:/media/disk-1/sources/binutils-build$

I've searched everywhere and read over the book. But, I still can't get it to work. And also I was wondering if you have to do things differently because I'm using lfs for a flash drive, or should you be able to do it all the same.
Thanks

knudfl 09-24-2009 08:09 AM

Quote:

You might want to install the `Texinfo' package ...
http://www.linuxquestions.org/questi...hlight=texinfo

sudo apt-get install texinfo

paintmandoo3993 09-24-2009 04:28 PM

Nope no cigar tried doing it and i get the same error


make[3]: Leaving directory `/media/disk-1/sources/binutils-build/bfd/po'
make[3]: Entering directory `/media/disk-1/sources/binutils-build/bfd/po'
make[3]: Nothing to be done for `info'.
make[3]: Leaving directory `/media/disk-1/sources/binutils-build/bfd/po'
make[3]: Entering directory `/media/disk-1/sources/binutils-build/bfd'
make[3]: Nothing to be done for `info-am'.
make[3]: Leaving directory `/media/disk-1/sources/binutils-build/bfd'
make[2]: *** [info-recursive] Error 1
make[2]: Leaving directory `/media/disk-1/sources/binutils-build/bfd'
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory `/media/disk-1/sources/binutils-build'
make: *** [all] Error 2


All times are GMT -5. The time now is 07:15 PM.