LinuxQuestions.org
Visit Jeremy's Blog.
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 08-21-2012, 08:24 AM   #1
k84834
Member
 
Registered: Aug 2012
Posts: 142

Rep: Reputation: Disabled
In section 6.7 , make mrproper problem


Hi
in section 6.7 , the following issue occures :


I have no name!:/# exec /tools/bin/bash --login +h
root:/# touch /var/run/utmp /var/log/{btmp,lastlog,wtmp}
root:/# chgrp -v utmp /var/run/utmp /var/log/lastlog
changed group of `/var/run/utmp' from root to utmp
changed group of `/var/log/lastlog' from root to utmp
root:/# chmod -v 664 /var/run/utmp /var/log/lastlog
mode of `/var/run/utmp' changed from 0644 (rw-r--r--) to 0664 (rw-rw-r--)
mode of `/var/log/lastlog' changed from 0644 (rw-r--r--) to 0664 (rw-rw-r--)
root:/# chmod -v 600 /var/log/btmp
mode of `/var/log/btmp' changed from 0644 (rw-r--r--) to 0600 (rw-------)
root:/# pwd
/
root:/# make mrproper
make: *** No rule to make target `mrproper'. Stop.

why mrproper is assumed as target for make command ?
 
Old 08-21-2012, 08:38 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Did you: Untar the Linux kernel and enter the created directory before executing make mrproper?
 
Old 08-21-2012, 11:15 PM   #3
k84834
Member
 
Registered: Aug 2012
Posts: 142

Original Poster
Rep: Reputation: Disabled
is it necessary to follow below steps for package installing in chapter 6 ????

a) Place all the sources and patches in a directory that will be accessible from the chroot environment such as /mnt/lfs/sources/. Do not put sources in /mnt/lfs/tools/.

b)Change to the sources directory.

For each package:

1)Using the tar program, extract the package to be built. In Chapter 5, ensure you are the lfs user when extracting the package.

2)Change to the directory created when the package was extracted.

3)Follow the book's instructions for building the package.

4)Change back to the sources directory.

5)Delete the extracted source directory and any <package>-build directories that were created in the build process unless instructed otherwise.
 
Old 08-22-2012, 12:26 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by k84834 View Post
is it necessary to follow below steps for package installing in chapter 6 ????
Yes, same principle as chapter 5.
 
Old 08-22-2012, 12:37 AM   #5
k84834
Member
 
Registered: Aug 2012
Posts: 142

Original Poster
Rep: Reputation: Disabled
tnx
 
  


Reply



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: *** No rule to make target `mrproper'. Stop. dauphinfay Linux - General 7 11-24-2014 07:35 AM
Difference between make mrproper and make clean? hottdogg Slackware 5 03-11-2013 02:31 PM
Recompile. Is 'make mrproper' a must? Make just stops! smOk3 Linux - Newbie 4 02-24-2008 12:20 PM
kernel setup problem, "make mrproper" dwarf007 Fedora 6 10-18-2004 01:02 PM
'make mrproper' - make bzImage options. liguorir Linux - Software 4 06-26-2003 06:48 PM

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

All times are GMT -5. The time now is 06:04 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
Open Source Consulting | Domain Registration