LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   In section 6.7 , make mrproper problem (https://www.linuxquestions.org/questions/linux-from-scratch-13/in-section-6-7-make-mrproper-problem-4175423226/)

k84834 08-21-2012 08:24 AM

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 ?

druuna 08-21-2012 08:38 AM

Did you: Untar the Linux kernel and enter the created directory before executing make mrproper?

k84834 08-21-2012 11:15 PM

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.

druuna 08-22-2012 12:26 AM

Quote:

Originally Posted by k84834 (Post 4760690)
is it necessary to follow below steps for package installing in chapter 6 ????

Yes, same principle as chapter 5.

k84834 08-22-2012 12:37 AM

tnx :)


All times are GMT -5. The time now is 05:28 AM.