#4710: Tidy the new-style perl so that all modules are in /usr/lib
--------------------+-----------------------
Reporter: ken@… | Owner: lfs-book
Type: task | Status: new
Priority: normal | Milestone: 10.0
Component: Book | Version: SVN
Severity: normal | Resolution:
Keywords: |
--------------------+-----------------------
Comment (by ken@…):
Replying to [comment:1 bdubbs]:
> I've been following the posts on the mailing lists, but was waiting for
things to get sorted out.
>
> It is my understanding that /usr/lib is for architecture dependent files
and /usr/share for architecture independent files. Aren't the .pm files
architecture independent?
>
> Also, I'm not sure about forcing 5.32 in the directory paths. Does that
mean that all modules need to be rebuilt when the next perl minor version,
I assume 5.33, is released?
The next versions are likely to be 5.32 point releases, unless we are
brave enough (or insane enough) to use perl-7 in about a year's time. If
5.33 happens, then it will be a development version, save as 5.31.
After perl-7, perl-8 will not be compatible with perl 5.
And I will stress that Thomas's proposal was for long-term support on the
apparent assumption that perl5 would continue.
To suggest that moving so many modules to /usr/share which used to be in
/usr/lib is expected behaviour is a surprise to me, and I would appreciate
Thomas's comments. Before the change, /usr/share/perl5 was all-but empty.
Now it contains a lot:
{{{
ken@deluxe ~ $ls /usr/share/perl5/core_perl/
AnyDBM_File.pm charnames.pm English.pm IO Perl
Test.pm
App Class Env.pm IPC
perl5db.pl Text
Archive Compress experimental.pm JSON
perlfaq.pm Thread
Attribute Config Exporter less.pm PerlIO
Thread.pm
autodie constant.pm Exporter.pm Locale
PerlIO.pm Tie
autodie.pm CORE.pod ExtUtils locale.pm pod
Time
AutoLoader.pm CPAN Fatal.pm Math Pod
Unicode
AutoSplit.pm CPAN.pm feature.pm Memoize Safe.pm
unicore
autouse.pm DBM_Filter fields.pm Memoize.pm Search
UNIVERSAL.pm
B DBM_Filter.pm File meta_notation.pm
SelectSaver.pm User
base.pm DB.pm FileCache.pm Module
SelfLoader.pm utf8.pm
Benchmark.pm deprecate.pm FileHandle.pm Net
sigtrap.pm vars.pm
bigint.pm Devel filetest.pm NEXT.pm sort.pm
version
bignum.pm diagnostics.pm Filter ok.pm
strict.pm version.pm
bigrat.pm Digest FindBin.pm open.pm subs.pm
version.pod
blib.pm Digest.pm Getopt overload
Symbol.pm vmsish.pm
bytes_heavy.pl DirHandle.pm HTTP overloading.pm TAP
warnings
bytes.pm Dumpvalue.pm I18N overload.pm Term
warnings.pm
Carp dumpvar.pl if.pm Params Test
XSLoader.pm
Carp.pm Encode integer.pm parent.pm Test2
_charnames.pm encoding Internals.pod Parse
Test2.pm
ken@deluxe ~ $ls /usr/share/perl5/site_perl/
Alien Encode Importer.pm Mojo Path SUPER.pm
Try
alienfile.pm FFI IO Mojolicious Scope Term
URI
Archive File libwww Mojolicious.pm SGMLS Test
URI.pm
Capture HTML LWP Mojo.pm sgmlspl-specs Test2
WWW
Date HTTP LWP.pm Net SGMLS.pm Time
XML
Devel Image Module ojo.pm Sub
TimeDate.pm
ken@deluxe ~ $
}}}
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/4710#comment:2>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page