B
bill
I have three questions for anyone knowledgeable about Linux Debian's
Perl installation.
The first question is, how can I change the Configure parameters
that apt-get or dpkg -i use? The default installation (at least
for the testing distribution) has these values, which I don't
entirely agree with:
-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN -Dcccdlflags=-fPIC -Darchname=i386-linux -Dprefix=/usr -Dprivlib=/usr/share/perl/5.8.2 -Darchlib=/usr/lib/perl/5.8.2 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.8.2 -Dsitearch=/usr/local/lib/perl/5.8.2 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Uusesfio -Uusenm -Duseshrplib -Dlibperl=libperl.so.5.8.2 -Dd_dosuid -des
My second question has to do with the default installation's library
directory structure. Mine (again, testing distribution) has library
files in
/usr/lib/perl/5.8.2/
/usr/lib/perl5
/usr/local/lib/perl/5.8.2/
/usr/share/perl/5.8.2/
/usr/local/share/perl/5.8.2/
/usr/share/perl5
What's up with lib vs. share? And perl/5.8.2 vs. perl5? What's
the rationale for breaking things up this way? Why not just a
single perl/5.8.2 directory, or at most /usr/lib/perl/5.8.2 and
/usr/local/lib/perl/5.8.2 (with corresponding arch-dependent
directories)?
My third question has to do with the location of auto subdirectories
and other architecture-dependent stuff. It appears that Debian's
default is to put this stuff directly in /usr/lib/perl/5.8.2/ and
/usr/local/lib/perl/5.8.2/, instead of segregating in directories
like /usr/lib/perl/5.8.2/some-architecture-string/ and
/usr/local/lib/perl/5.8.2/some-architecture-string/.
This can lead to installation bugs (as I've posted in another clpm
thread). What's Debian's rationale from deviating from Perl's
standard here? Will apt-get and dpkg get hopelessly confused if
I manually create these arch-dependent directories and move the
auto subdirectories to them?
Thanks!
bill
Perl installation.
The first question is, how can I change the Configure parameters
that apt-get or dpkg -i use? The default installation (at least
for the testing distribution) has these values, which I don't
entirely agree with:
-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN -Dcccdlflags=-fPIC -Darchname=i386-linux -Dprefix=/usr -Dprivlib=/usr/share/perl/5.8.2 -Darchlib=/usr/lib/perl/5.8.2 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.8.2 -Dsitearch=/usr/local/lib/perl/5.8.2 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Uusesfio -Uusenm -Duseshrplib -Dlibperl=libperl.so.5.8.2 -Dd_dosuid -des
My second question has to do with the default installation's library
directory structure. Mine (again, testing distribution) has library
files in
/usr/lib/perl/5.8.2/
/usr/lib/perl5
/usr/local/lib/perl/5.8.2/
/usr/share/perl/5.8.2/
/usr/local/share/perl/5.8.2/
/usr/share/perl5
What's up with lib vs. share? And perl/5.8.2 vs. perl5? What's
the rationale for breaking things up this way? Why not just a
single perl/5.8.2 directory, or at most /usr/lib/perl/5.8.2 and
/usr/local/lib/perl/5.8.2 (with corresponding arch-dependent
directories)?
My third question has to do with the location of auto subdirectories
and other architecture-dependent stuff. It appears that Debian's
default is to put this stuff directly in /usr/lib/perl/5.8.2/ and
/usr/local/lib/perl/5.8.2/, instead of segregating in directories
like /usr/lib/perl/5.8.2/some-architecture-string/ and
/usr/local/lib/perl/5.8.2/some-architecture-string/.
This can lead to installation bugs (as I've posted in another clpm
thread). What's Debian's rationale from deviating from Perl's
standard here? Will apt-get and dpkg get hopelessly confused if
I manually create these arch-dependent directories and move the
auto subdirectories to them?
Thanks!
bill