Glibc fails to make. (error 2)
kyle_bren at live.com
Wed May 19 17:16:44 PDT 2010
On Wed, 2010-05-19 at 18:58 -0500, Bruce Dubbs wrote:
> William Immendorf wrote:
> > On Wed, May 19, 2010 at 5:36 PM, Kyle Brennan <kyle_bren at live.com> wrote:
> >> /usr/bin/install -c -m 644
> >> /mnt/lfs/tools/glibc-build/../include/linux/limits.h
> >> /tools/include/linux/limits.h
> >> /usr/bin/install: `/mnt/lfs/tools/glibc-build/../include/linux/limits.h' and
> >> `/tools/include/linux/limits.h' are the same file
> > Wait, you're not supposed to compile your packges from the $LFS/tools
> > directory. Please, build in a seprate directory than your tools
> > directory.
> I agree with William. When you start Chapter 5, the only thing you
> should have in /mnt/lfs is tools and sources:
> Put all your sources in /mnt/lfs/sources and change to that directory.
> The directory name 'sources' is arbitrary, but it should not be tools
> and it needs to be in /mnt/lfs so the sources are available in Chapter 6.
> Then when you start, 5.4:
> tar -xf binutils-<version>.tar.bz2
> cd binutils-<version>
> -- Bruce
So I should be compiling in the sources folder. that is probably why
the compile failed in the first place. so for example my binutils pass
1 directory would look like this: "$LFS/sources/binutils-2.20"
More information about the lfs-support