- and it's maybe worth noting that there seems to have been a spate of
 these 'failing early in ch.5' cases lately; and there seem to be certain
 patterns evident.


akh



> Date: Sun, 10 Aug 2014 13:58:13 +0100
> From: [email protected] (akhiezer)
> To: LFS Support List <[email protected]>
> Subject: Re: [lfs-support] bash: i686-pc-linux-gnu-gcc: command not found
>
> > Date: Sun, 10 Aug 2014 13:54:29 +0100
> > From: [email protected] (akhiezer)
> > To: LFS Support List <[email protected]>
> > Subject: Re: [lfs-support] bash: i686-pc-linux-gnu-gcc: command not found
> >
> > > Date: Sun, 10 Aug 2014 14:45:16 +0530
> > > From: Prashant Singh Genda <[email protected]>
> > > To: [email protected]
> > > Subject: [lfs-support] bash: i686-pc-linux-gnu-gcc: command not found
> > >
> > > Thanks in advace
> > >
> > > 1)    Version of book is 7.5
> > >
> > >
> > > 2)    Centos 6.0
> > >
> > > and kernel 2.6.32-71.el6.i686
> > >
> > > 3)     Section :- 5.7. Glibc-2.19
> > >
> > > 4)     Problem occured while doing
> > >
> > >     echo 'main(){}' > dummy.c
> > >     $LFS_TGT-gcc dummy.c
> > >     readelf -l a.out | grep ': /tools'
> > >
> > > the output is :-
> > >
> > > lfs:/lfs/sources/glibc-build$ echo 'main(){}' > dummy.c
> > > lfs:/lfs/sources/glibc-build$ $LFS_TGT-gcc dummy.c
> > > bash: i686-pc-linux-gnu-gcc: command not found
> > > lfs:/lfs/sources/glibc-build$ readelf -l a.out | grep ': /tools'
> > > lfs:/lfs/sources/glibc-build$
> > >
> > >
> > > I have previously mailed to the support and I was adviced to redo chapter
> > > 5.5 I did that even started again but I am stuck above point again
> > >
> > > when I have redo 5.5 make install dint has gone good
> > >
> >
> >
> > There's little point in going past 5.5 'gcc-pass1' if you're getting errors
> > there such as what you report in the following.
> >
> >
> > > the out put is
> > >
> > > lfs:/lfs/sources/gcc-build$ make install
> > > make[1]: Entering directory `/lfs/sources/gcc-build'
> > > /bin/sh ../gcc-4.8.2/mkinstalldirs /tools /tools
> > > /bin/sh: line 3: cd: ./fixincludes: No such file or directory
> > > make[1]: *** [install-fixincludes] Error 1
> > > make[1]: Leaving directory `/lfs/sources/gcc-build'
> >
> >
> > Some websearch on that error line shows some folks having not got the
> > libgmp stuff in place properly. E.g.:
> >
> >   https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48445
> >
> > Did your 5.5 gcc-pass1 give any errors at the configure or make stages?
> >
> > Do you have the directories: $LFS/sources/gcc-4.8.2/{gmp,mpfr,mpc} ? If not,
> > then what are the paths to those directories?
> >
> >
> > > make: *** [install] Error 2
> > >
> > >
> > >
> > > I want to include config.guess output and .bashrc because i think so
> > > mistake is here
> > >
> > > config.guess output was i686-pc-linux-gnu
> > >
> > >
> > >
> > > bashrc
> > >
> > > lfs:~$ cat .bashrc
> > > set +h
> > > umask 022
> > > LFS=/lfs
> >
> >
> > That is different from the book: it's ok to use the value that you have,
> > but be sure to be consistent and not switch back'n'forth between what the
> > book uses and what you use here.
> >
> >
> > > LC_ALL=POSIX
> > > LFS_TGT=$(uname -m)-pc-linux-gnu
>
>
> Also that LFS_TGT is different. Book has:
>
> LFS_TGT=$(uname -m)-lfs-linux-gnu
>
> http://www.linuxfromscratch.org/lfs/view/7.5/chapter04/settingenvironment.html
>
>
> > > PATH=/tools/bin:/bin:/usr/bin
> > > export LFS LC_ALL LFS_TGT PATH
> > >
> > >
> > > lfs:~$
> > > lfs:~$ i686-redhat-linux-
> > > i686-redhat-linux-c++  i686-redhat-linux-g++  i686-redhat-linux-gcc
> > > lfs:~$ i686-redhat-linux-
> > >
> > > Kindly help me to solve the issue because iam stuck again on same point
> > >
> >
> >
> > hth,
> > akh
> >
> >
> >
> > >
> > > -- 
> > > Thanks & Regards,
> > > Prashant Singh Genda
> >
> >
> > --
> > -- 
> > http://lists.linuxfromscratch.org/listinfo/lfs-support
> > FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> > Unsubscribe: See the above information page
> >
>
>
> --
> -- 
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>


--
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to