LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   problem in section 6.10 of lfs 6.5 (https://www.linuxquestions.org/questions/linux-from-scratch-13/problem-in-section-6-10-of-lfs-6-5-a-768387/)

aahiqmir 11-11-2009 06:08 AM

problem in section 6.10 of lfs 6.5
 
Hi.

when I run the following command in section 6.10 of LFS 6.5 :



Code:

mv -v /tools/bin/{ld-new,ld}
I get output:
ld-new: No such directory.

I have run :
Code:

ls | grep ld
in /tools/bin

But there is nothing named ld-new.

All other commands run successfuly .

What should I do?
please help

druuna 11-11-2009 07:29 AM

Hi,

Are you sure you did not forget a step. This one to be exact:

Chap 5
5.9 Binutils pass 2

Code:

make -C ld clean
make -C ld LIB_PATH=/usr/lib:/lib
cp -v ld/ld-new /tools/bin

Hope this helps.

aahiqmir 11-12-2009 04:53 AM

Quote:

Originally Posted by druuna (Post 3752862)
Hi,

Are you sure you did not forget a step. This one to be exact:

Chap 5
5.9 Binutils pass 2

Code:

make -C ld clean
make -C ld LIB_PATH=/usr/lib:/lib
cp -v ld/ld-new /tools/bin

Hope this helps.

Hi,

I am not sure about it.But what should i do,if I have missed that step?
Should I Re-start building LFS?
I am already doing this 2nd time.

please Help.

Thanks

druuna 11-12-2009 05:15 AM

Quote:

Originally Posted by aahiqmir (Post 3754063)
Hi,

I am not sure about it.But what should i do,if I have missed that step?
Should I Re-start building LFS?

Yes, you should.

Quote:

I am already doing this 2nd time.
This is not the first time you missed a step......
Make sure you check (double check) all the steps you do. Just about all the steps are done for a specific reason and are therefor important.

Your host OS is needed to build chapter 5.
Chapter 5 creates a base on which you build the final LFS system (chapter 6/7), when you start with chapter 6 your host OS is not needed anymore.

If, after correctly building chapter 5, you might want to consider creating a backup/tarball (see chap 5.32 last part). If something goes wrong later on, you can restore this backup/tarball and start from the beginning of chapter 6 again (which safes you the trouble of having to re-install chapter 5). But this is with the assumption that chapter 5 was build correctly!

Hope this helps.

aahiqmir 11-12-2009 06:47 AM

Quote:

Originally Posted by druuna (Post 3752862)
Hi,

Are you sure you did not forget a step. This one to be exact:

Chap 5
5.9 Binutils pass 2

Code:

make -C ld clean
make -C ld LIB_PATH=/usr/lib:/lib
cp -v ld/ld-new /tools/bin

Hope this helps.

Hi,

I am not sure about it.But what should i do,if I have missed that step?
Should I Re-start building LFS?
I am already doing this 2nd time.

please Help.

Thanks

aahiqmir 11-12-2009 06:49 AM

Quote:

Originally Posted by druuna (Post 3754091)
Yes, you should.

This is not the first time you missed a step......
Make sure you check (double check) all the steps you do. Just about all the steps are done for a specific reason and are therefor important.

Your host OS is needed to build chapter 5.
Chapter 5 creates a base on which you build the final LFS system (chapter 6/7), when you start with chapter 6 your host OS is not needed anymore.

If, after correctly building chapter 5, you might want to consider creating a backup/tarball (see chap 5.32 last part). If something goes wrong later on, you can restore this backup/tarball and start from the beginning of chapter 6 again (which safes you the trouble of having to re-install chapter 5). But this is with the assumption that chapter 5 was build correctly!

Hope this helps.

Thank You Sir.

I will Start building Lfs Again.

Thank You Very Much.


All times are GMT -5. The time now is 04:35 PM.