LinuxQuestions.org
Review your favorite Linux distribution.
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 12-26-2016, 10:00 AM   #1
Captian Kangeroo
Member
 
Registered: Dec 2015
Posts: 77

Rep: Reputation: Disabled
Talking Installing Perl warnings.


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 get a whole bunch of :

'lib/unicore/To/Sc.pl' -> '/tools/lib/perl5/5.24.0/unicore/To/Sc.pl'
'lib/unicore/To/Scx.pl' -> '/tools/lib/perl5/5.24.0/unicore/To/Scx.pl'
'lib/unicore/To/Tc.pl' -> '/tools/lib/perl5/5.24.0/unicore/To/Tc.pl'
'lib/unicore/To/Uc.pl' -> '/tools/lib/perl5/5.24.0/unicore/To/Uc.pl'
'lib/utf8.pm' -> '/tools/lib/perl5/5.24.0/utf8.pm'
'lib/utf8.t' -> '/tools/lib/perl5/5.24.0/utf8.t'
'lib/utf8_heavy.pl' -> '/tools/lib/perl5/5.24.0/utf8_heavy.pl'
'lib/vars.pm' -> '/tools/lib/perl5/5.24.0/vars.pm'
'lib/vars.t' -> '/tools/lib/perl5/5.24.0/vars.t'
'lib/vars_carp.t' -> '/tools/lib/perl5/5.24.0/vars_carp.t'
'lib/version' -> '/tools/lib/perl5/5.24.0/version'
'lib/version/regex.pm' -> '/tools/lib/perl5/5.24.0/version/regex.pm'
'lib/version/Internals.pod' -> '/tools/lib/perl5/5.24.0/version/Internals.pod'
'lib/version.pm' -> '/tools/lib/perl5/5.24.0/version.pm'
'lib/version.pod' -> '/tools/lib/perl5/5.24.0/version.pod'
'lib/vmsish.pm' -> '/tools/lib/perl5/5.24.0/vmsish.pm'
'lib/vmsish.t' -> '/tools/lib/perl5/5.24.0/vmsish.t'
'lib/warnings' -> '/tools/lib/perl5/5.24.0/warnings'
'lib/warnings/register.pm' -> '/tools/lib/perl5/5.24.0/warnings/register.pm'
'lib/warnings.pm' -> '/tools/lib/perl5/5.24.0/warnings.pm'
'lib/warnings.t' -> '/tools/lib/perl5/5.24.0/warnings.t

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
 
Old 12-26-2016, 10:17 AM   #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
Ther not warnings. They are files being moved.
my lfs build

ls -l /usr/lib/perl5/5.24.0/warnings.pm
-r--r--r-- 1 root root 44358 Dec 23 22:48 /usr/lib/perl5/5.24.0/warnings.pm

move on
 
Old 12-26-2016, 10:23 AM   #3
Captian Kangeroo
Member
 
Registered: Dec 2015
Posts: 77

Original Poster
Rep: Reputation: Disabled
Thanks so much. I am a Happy Camper now
 
Old 12-26-2016, 10:33 PM   #4
Luridis
Member
 
Registered: Mar 2014
Location: Texas
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616

Rep: Reputation: 167Reputation: 167
"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%.
 
Old 12-27-2016, 01:57 AM   #5
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,572
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
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.
 
Old 12-27-2016, 02:33 AM   #6
Luridis
Member
 
Registered: Mar 2014
Location: Texas
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616

Rep: Reputation: 167Reputation: 167
Quote:
Originally Posted by hazel View Post
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.
 
  


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
[SOLVED] Perl and mysql - warnings??? barriehie Programming 2 12-03-2010 01:43 AM
LXer: Installing Eclipse, the Epic Perl plugin and my first Perl GUI program LXer Syndicated Linux News 0 05-08-2009 06:41 PM
I received warnings about CONFIG_4KSTACKS on my kernel. while installing HSFMODEM saman_artorious Linux - Networking 1 09-28-2008 07:59 AM
warnings on perl doronunu Programming 8 05-02-2006 07:09 AM
GTK Warnings installing Crossover Office Meowatilla Linux - Newbie 6 11-26-2004 12:48 PM

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

All times are GMT -5. The time now is 06:50 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