Linux From ScratchThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi Friends,
I've got to this part about 5 times now on a LFS install.Everything appears to be good until I reach "Perl". Then after this last command:
cp -v perl cpan/podlators/scripts/pod2man /tools/bin
mkdir -pv /tools/lib/perl5/5.24.0
cp -Rv lib/* /tools/lib/perl5/5.24.0
I have no idea what causes it or the commands to fix it.
I would appreciate any help and directions. Or if I should continue moving forward. The list above is the last part of a long list.
Thanks for any help and Happy New Year's to all
Regards
Captian
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616
Rep:
"cp" is copy... with "-v" means be verbose, "-R" means "recurse subdirectories". If you don't want too see a lot of output, you can typically skip a "v" switch on almost any command.
On that note: Ever build a Gentoo system? Remember the step where you expand the Stage 3 tarball? Removing the v from "tar xjvpf" speeds the untar by at least 50%.
LFS recommends -v with all cp and mv commands because it's important to check that you've got it right. For example, there are several places where libraries have to be moved between /lib and /usr/lib and the command includes a $(readlink) to find the file from its link.The verbose feedback is really useful in showing if you have mistyped the command and failed to move the file.
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616
Rep:
Quote:
Originally Posted by hazel
LFS recommends -v with all cp and mv commands because it's important to check that you've got it right. For example, there are several places where libraries have to be moved between /lib and /usr/lib and the command includes a $(readlink) to find the file from its link.The verbose feedback is really useful in showing if you have mistyped the command and failed to move the file.
Someone whom is doing Linux From Scratch should be knowledgeable enough to know that pulling the verbosity flag off a command inside a (function call) may have unintended consequences.
Using -v is of course recommended until you're completely comfortable with not using it and self-assured that one could absolutely deal with any consequence that would arrive from its absence.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.