On 8/9/20 5:08 PM, Ken Moffat via blfs-dev wrote:
On Sun, Aug 09, 2020 at 04:49:05PM -0500, Bruce Dubbs via blfs-dev wrote:
On 8/9/20 4:20 PM, Ken Moffat via blfs-dev wrote:
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 ~#

That line is not needed.  See the ticket.  It can be done with only one
simple variable on the 'make install' line.

Yes, I saw that but I'm not sure if Marty will have seen it.  And it
still requires a hardcoded version.

We can live with a hard coded version. In the book's XML, it can be an entity.

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to