On Sun, Aug 09, 2020 at 11:04:09AM -0500, Marty Jack via blfs-dev wrote:
>
> The INSTALL file for git recommends the following incantation to derive the
> path (at line 100).
> This doesn't need updating when the Perl version changes.
>
> perllibdir=/usr/$(/usr/bin/perl -MConfig -wle 'print substr
> $Config{installsitelib}, 1 + length $$Config{siteprefixexp}')
>
> I tested it with make perllibdir=that and make perllibdir=that install and it
> worked.
>
> If you should decide to move forward with taking git out of /usr/share.
Nice idea, although it will make a horrendously long line in the
book. But I think there is a typo somewhere.
I tried it in one of my experimental systems in chroot (where
modules are in /usr/lib) and got an error:
root in chroot ~# perllibdir=/usr/$(/usr/bin/perl -MConfig -wle 'print substr
$Config{installsitelib}, 1 + length $$Config{siteprefixexp}')
Use of uninitialized value in addition (+) at -e line 1.
root in chroot ~#
ĸen
--
Juliet's version of cleanliness was next to godliness, which was to
say it was erratic, past all understanding and was seldom seen.
-- Unseen Academicals
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page