LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 09-15-2016, 03:39 PM   #1
strule
LQ Newbie
 
Registered: May 2016
Distribution: Fedora KDE
Posts: 13

Rep: Reputation: Disabled
Problem on LFS 7.10 chapter 6.7 - Make - Command not found


So, I started a Linux From Scratch project and everything was great until Chapter 6.7, where I have to compile the kernel, but I see this
Code:
root:/sources/linux-4.7.2# make proper
make: /bin/sh: Command not found
make: /bin/sh: Command not found
make: /bin/sh: Command not found
make: /bin/sh: Command not found
make: /bin/sh: Command not found
make: /bin/sh: Command not found
make: /bin/sh: Command not found
make: /bin/sh: Command not found
make: /bin/sh: Command not found
make: /bin/sh: Command not found
make: /bin/sh: Command not found
make: /bin/sh: Command not found
make: /bin/sh: Command not found
make: /bin/sh: Command not found
make: /bin/sh: Command not found
make: /bin/sh: Command not found
make: /bin/sh: Command not found
make: /bin/sh: Command not found
make: /bin/sh: Command not found
make: /bin/sh: Command not found
make: ./scripts/gcc-goto.sh: Command not found
make: /bin/sh: Command not found
make: /bin/sh: Command not found
Makefile:619: arch//Makefile: No such file or directory
make: *** No rule to make target 'arch//Makefile'.  Stop.
root:/sources/linux-4.7.2#
Can you help me, please?
 
Old 09-15-2016, 03:42 PM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
did you mount everything?

mount -v --bind /dev $LFS/dev if not or not sure unmount other virtual FS and run again CH 6.2.2
 
Old 09-15-2016, 03:48 PM   #3
strule
LQ Newbie
 
Registered: May 2016
Distribution: Fedora KDE
Posts: 13

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by spiky0011 View Post
did you mount everything?
Yup, everything mounted
 
Old 09-15-2016, 03:58 PM   #4
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Did "make" go ok in CH5 or did it error, it should be in /tools/bin

what dose echo $PATH show

Last edited by spiky0011; 09-15-2016 at 04:00 PM.
 
Old 09-15-2016, 04:15 PM   #5
strule
LQ Newbie
 
Registered: May 2016
Distribution: Fedora KDE
Posts: 13

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by spiky0011 View Post
Did "make" go ok in CH5 or did it error, it should be in /tools/bin

what dose echo $PATH show
make is in /tools/bin
Code:
root:/sources/linux-4.7.2# $PATH
bash: /bin:/usr/bin:/sbin:/usr/sbin:/tools/bin: No such file or directory
I think the error is in this
 
Old 09-15-2016, 04:19 PM   #6
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
look at ch 6.6 thats where it went wrong at a guess
 
Old 09-15-2016, 04:27 PM   #7
strule
LQ Newbie
 
Registered: May 2016
Distribution: Fedora KDE
Posts: 13

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by spiky0011 View Post
look at ch 6.6 thats where it went wrong at a guess
Nope, all the symbolic links created
 
Old 09-15-2016, 04:43 PM   #8
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
not sure if your shell is /bin/bash ok. /bin/sh linked to bash then maybe restart and try chroot backin
 
Old 09-15-2016, 04:52 PM   #9
strule
LQ Newbie
 
Registered: May 2016
Distribution: Fedora KDE
Posts: 13

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by spiky0011 View Post
not sure if your shell is /bin/bash ok. /bin/sh linked to bash then maybe restart and try chroot backin
restart just the terminal or the pc?
 
Old 09-15-2016, 04:54 PM   #10
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
I would just reboot
 
Old 09-15-2016, 05:27 PM   #11
strule
LQ Newbie
 
Registered: May 2016
Distribution: Fedora KDE
Posts: 13

Original Poster
Rep: Reputation: Disabled
worked after reboot, thank y'all
 
  


Reply

Tags
command, error, kernel, lfs, make



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] LFS Build 7.9: Chapter 6.7: "bash: make: command not found" sudo_maas Linux From Scratch 3 06-15-2016 08:11 AM
lfs chapter 6.14 GMP-6.1.0 no compiler found ! CoolDown Linux From Scratch 4 02-25-2016 09:29 PM
gnu-gcc: command not found error after installing glibc in chapter 5.7 of LFS 7.2 Black Death Linux From Scratch 13 10-22-2014 10:47 AM
lfs-6.3 - chapter 6: binutils-2.17 - make error regarding libbfd-2.17.so :not found me-$-on Linux From Scratch 5 07-02-2009 02:49 PM
LFS 6.3 Chapter 5.4.1 - problem with "make bootstrap" vipernicus42 Linux From Scratch 3 04-21-2008 08:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 09:07 AM.

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
Open Source Consulting | Domain Registration