﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
4710	Tidy the new-style perl so that all modules are in /usr/lib	ken@…	ken@…	"Before we moved to the new-style of perl install, all modules from perl itself, and almost all modules from BLFS (the exception is Git) were in /usr/lib/perl5.

With what is currently in the book, a lot of core and other modules are in /usr/share/perl5{core_perl,site_perl}

Summarising, -Dprivlib is needed to ensre that the default is not used for the modules that moved to /usr/share, but the default for that is /usr/lib/perl5/5.32.0 so we ought to change it to match our other changes.

We also need to similarly change sitelib.

xry111 suggested the following, it works nicely:

{{{
sh Configure -des                                         \
             -Dprefix=/usr                                \
             -Dvendorprefix=/usr                          \
             -Dprivlib=/usr/lib/perl5/5.32/core_perl      \
             -Darchlib=/usr/lib/perl5/5.32/core_perl      \
             -Dsitelib=/usr/lib/perl5/5.32/site_perl      \
             -Dsitearch=/usr/lib/perl5/5.32/site_perl     \
             -Dvendorlib=/usr/lib/perl5/5.32/vendor_perl  \
             -Dvendorarch=/usr/lib/perl5/5.32/vendor_perl \
             -Dman1dir=/usr/share/man/man1                \
             -Dman3dir=/usr/share/man/man3                \
             -Dpager=""/usr/bin/less -isR""                 \
             -Duseshrplib                                 \
             -Dusethreads
}}}

I have also built several modules (in chroot), git with the sed I will be proposing for BLFS, and used cpan to install a module. All the modules are in either /usr/lib/perl5/5.32/core_perl or /usr/lib/perl5/5.32/site_perl.

I think we should make this change ASAP, but I'm not sure that everyone relevant has read my sometimes-confused threads on the list."	task	closed	normal	10.0	Book	SVN	normal	fixed		
