> From lfs-support-boun...@linuxfromscratch.org Fri Feb 14 15:38:13 2014 > Date: Fri, 14 Feb 2014 21:03:22 +0530 > From: Oshadha Gunawardena <oshadha.ro...@gmail.com> > To: LFS Support List <lfs-support@linuxfromscratch.org> > Subject: Re: [lfs-support] Wrong package installed - how to fix? > > > > bash, version 4.2.37(1)-release > /bin/sh -> /bin/dash > Binutils: (GNU Binutils for Debian) 2.22 > ./v_check.sh: line 8: bison: command not found > yacc not found > bzip2, Version 1.0.6, 6-Sept-2010. > Coreutils: 8.13 > diff (GNU diffutils) 3.2 > find (GNU findutils) 4.4.2 > ./v_check.sh: line 17: gawk: command not found > /usr/bin/awk -> /usr/bin/mawk > gcc (Debian 4.7.2-5) 4.7.2 > g++ (Debian 4.7.2-5) 4.7.2 > (Debian EGLIBC 2.13-38) 2.13 > grep (GNU grep) 2.12 > gzip 1.5 > Linux version 3.2.0-4-amd64 (debian-ker...@lists.debian.org) (gcc version > 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.51-1 > m4 (GNU M4) 1.4.16 > GNU Make 3.81 > patch 2.6.1 > Perl version='5.14.2'; > GNU sed version 4.2.1 > tar (GNU tar) 1.26 > ./v_check.sh: line 34: makeinfo: command not found > Texinfo: > xz (XZ Utils) 5.1.0alpha > g++ compilation OK > > > > On Fri, Feb 14, 2014 at 8:51 PM, akhiezer <lf...@cruziero.com> wrote: > > > > > Please don't top-post; it makes following the discussion unnecessarily > > awkward. > > > > > > > Date: Fri, 14 Feb 2014 20:01:20 +0530 > > > From: Oshadha Gunawardena <oshadha.ro...@gmail.com> > > > To: LFS Support List <lfs-support@linuxfromscratch.org> > > > Subject: Re: [lfs-support] Wrong package installed - how to fix? > > > > > > > > > > > > I have started the build process but it seems like ended up with errors. > > > > > > config:- > > > > > > ../binutils-2.23.2/configure \ > > > --prefix=/tools \ > > > --with-sysroot=$LFS \ > > > --with-lib-path=/tools/lib \ > > > --target=$LFS_TGT \ > > > --disable-nls \ > > > --disable-werror > > > > > > make:- > > > > > > 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 `/mnt/lfs/sources/binutils-build/bfd/po' > > > make[3]: Entering directory `/mnt/lfs/sources/binutils-build/bfd/po' > > > make[3]: Nothing to be done for `info'. > > > make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd/po' > > > make[3]: Entering directory `/mnt/lfs/sources/binutils-build/bfd' > > > make[3]: Nothing to be done for `info-am'. > > > make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd' > > > make[2]: *** [info-recursive] Error 1 > > > make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd' > > > make[1]: *** [all-bfd] Error 2 > > > make[1]: Leaving directory `/mnt/lfs/sources/binutils-build' > > > make: *** [all] Error 2 > > > > > > > > > > > > For 7.4, folks've hit problems with first-pass binutils cos of often one or > > more of: > > ---- > > * Not running patch at top of the package's page: > > > > sed -i -e 's/@colophon/@@colophon/' \ > > -e 's/d...@cygnus.com/doc@@cygnus.com/' bfd/doc/bfd.texinfo > > > > Did you do that ok? > >
Did you do that 'sed ...' command OK? > > * Not having proper host prereqs: can you post the output of the > > host-prereqs > > script at: > > > > http://www.linuxfromscratch.org/lfs/view/7.4/prologue/hostreqs.html > > The output that you posted above, shows that your host-system requirements aren't met, for the items (ref the discussion at the top of that book page): -- - bison/yacc. - gawk/awk. - texinfo/makeinfo. -- You'd need to meet those host-sys-reqs before proceeding: maybe just need to install a few extra packages in your debian host-os? And be sure to have awk a symlink to gawk. > > * What user are you issuing the commmands as? Are you using sudo to do so? > > What user are you issuing the commmands as? Are you using sudo to do so? rgds, akh -- -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page