Hi mahesh,

 

LFS 6.4 book mentioned two folders,

 


/mnt/lfs/sources
/mnt/lfs/tools
 

You have to work in /mnt/lfs/sources for all installation work. All 
installation scripts will install required files in /mnt/lfs/tools 
automatically when you execute proper commands according to the book (LFS 6.4).

 

First consider page 37 of the book where you begin the LFS installation with 
binutils-2.18. You have to do fllowing:

 


copy binutils- 2. 18. tar. bz2 and binutils-2.18-configure-1.patch file to 
/mnt/lfs/sources 
then uncompress it as tar -jxf binutils- 2. 18. tar. bz2
go into the directory binutils- 2. 18 (cd binutils- 2. 18)
issue the command as book says: patch -Np1 -i ../binutils-2.18-configure-1.patch
then issue following command to create a folder inside /mnt/lfs/sources


mkdir -v ../binutils-build

 
Please try to understand this. Your current location should be 
/mnt/lfs/source/binutils-2.18/ and when you issue the command "mkdir -v 
../binutils-build" it will create the directory in /mnt/lfs/sources/ as 
/mnt/lfs/sources/binutils-build.
 
this means
 


LFS book does not explain everything (specially location to execute 
installation commands)

you should have basic knowledge about unix system and its command (specially 
file system related command behaviour)
 

Regards,

 

Ajith Silva


Date: Sun, 19 Jul 2009 19:46:32 +0530
Subject: making LFS
From: [email protected]
To: [email protected]

hi..,
 i had studied the LFS book. And i started working on that. But, one thing i 
didn't get that, where shd we be while compiling and running the sources? I 
mean, what is the path shd be? one thing i knw that, packages shd be downloaded 
to /mnt/lfs/sources folder, and installations shd be done at /mnt/lfs/tools 
directory. But, as per the book, i didn't get that where shd we initially 
be...! either /mnt/lfs or /mnt/lfs/tools or /mnt/lfs/source???

please help me...
thank you

regards, 
mahesh kumar

_________________________________________________________________
Share your memories online with anyone you want.
http://www.microsoft.com/middleeast/windows/windowslive/products/photos-share.aspx?tab=1
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to