LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices



Reply
 
Search this Thread
Old 11-11-2009, 07:08 AM   #1
aahiqmir
Member
 
Registered: Apr 2008
Posts: 54

Rep: Reputation: 15
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
 
Old 11-11-2009, 08:29 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
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.
 
Old 11-12-2009, 05:53 AM   #3
aahiqmir
Member
 
Registered: Apr 2008
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by druuna View Post
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
 
Old 11-12-2009, 06:15 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Quote:
Originally Posted by aahiqmir View Post
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.
 
Old 11-12-2009, 07:47 AM   #5
aahiqmir
Member
 
Registered: Apr 2008
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by druuna View Post
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
 
Old 11-12-2009, 07:49 AM   #6
aahiqmir
Member
 
Registered: Apr 2008
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by druuna View Post
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.
 
  


Reply

Tags
found, glibc, lfs, section


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
make doesn't work in section 5.7. Glibc-2.8-20080929 in lfs aahiqmir Linux - Newbie 4 03-28-2009 09:17 AM
GCC command not found LFS book 6.3, section 6.7.1 cdc5205 Linux From Scratch 1 08-16-2008 02:56 PM
error using lfs while compiling lfs book's 6.12 (gcc-4.1.2) section aditya_gpch Linux From Scratch 3 04-24-2008 05:23 PM
LFS 6.2 Section 5.6 - Error making glibc-2.3.6 dustin_wielenga Linux From Scratch 3 01-05-2008 03:01 PM
LFS 6.0 Bindutils section 6.13 error xushi Linux From Scratch 6 05-31-2005 12:31 PM


All times are GMT -5. The time now is 03:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration