LinuxQuestions.org
Help answer threads with 0 replies.
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-13-2012, 05:44 AM   #1
igor012
Member
 
Registered: Feb 2010
Posts: 87

Rep: Reputation: 2
make : no such file or directory


Hello,
I have finished the chapter 5 of the book.
And after I entered the chroot I realized that make is not working even though it is present.
Code:
root:/sources/linux-3.5.2# make mrproper
bash: /tools/bin/make: No such file or directory
AND
Code:
ls -l /tools/bin/make
-rwxr-xr-x 1 root root 559139 Nov 13 11:19 /tools/bin/make
I read on LFS FAQ that is probably due to a bad interpreter (link) so I did
Code:
readelf -l /tools/bin/make | grep interpreter
      [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
so it's wrong they said it should be /tools/lib64/ld-linux-x86-64.so.2

Is they a way to precise when building it the right interpreter ?

Thanks
 
Old 11-13-2012, 06:15 AM   #2
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,034

Rep: Reputation: 442Reputation: 442Reputation: 442Reputation: 442Reputation: 442
You're Did you mount everything in chapter 6.2 before chrooting in chapter 6.4?
Also chapter 5.34 changes ownership of tools to root.

Last edited by EDDY1; 11-13-2012 at 06:17 AM.
 
Old 11-13-2012, 06:23 AM   #3
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,034

Rep: Reputation: 442Reputation: 442Reputation: 442Reputation: 442Reputation: 442
try this to see if it's in path
Quote:
echo $PATH
You also need to finish chapter 6
Chapter 6.6 creates some important links.
 
Old 11-13-2012, 07:33 AM   #4
igor012
Member
 
Registered: Feb 2010
Posts: 87

Original Poster
Rep: Reputation: 2
Hello,
yes I have mounted everything required

and here is the path
Code:
echo $PATH
/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin
 
Old 11-15-2012, 04:23 AM   #5
igor012
Member
 
Registered: Feb 2010
Posts: 87

Original Poster
Rep: Reputation: 2
Hello,
I started over on another OS and now it works I must have missed something previously.
Anyway, thanks for your help.
 
  


Reply


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
[SOLVED] make a folder for each file in a directory then move the file into it genderbender Programming 14 12-02-2010 10:59 AM
Make file error 127 ./config.status: No such file or directory przemekfilu Linux - Newbie 4 11-17-2010 02:06 AM
make error - No such file or directory srinivas_mn Programming 6 11-17-2007 04:08 PM
make: *** ld: No such file or directory. Stop. satimis Linux From Scratch 3 07-26-2005 02:15 AM
make error with kdenetwork-3.0.5a: no such file or directory olisr72 Linux - Software 1 07-28-2003 04:15 PM


All times are GMT -5. The time now is 11:22 AM.

Main Menu
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