“Can't locate ExtUtils/MakeMaker.pm in @INC” during git build

前端 未结 2 518
别那么骄傲
别那么骄傲 2021-01-19 06:47

I\'m building git on a pretty minimal system (Ubuntu 16.04 docker image) without using the package manager (except for wget, xz-utils,

相关标签:
2条回答
  • 2021-01-19 07:11

    In CentOS7, I encounter this issue, I find I should install the perl-devel firstly:

    yum install perl-devel
    

    Then retry it.

    0 讨论(0)
  • 2021-01-19 07:34

    using ./configure --with-perl=/usr/local/bin/perl for git works, however it's unclear for me why /usr/local/bin/perl isn't picked up before /usr/bin/perl if PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin.

    The cpan ExtUtils::MakeMaker isn't necessary after adding --with-perl.

    0 讨论(0)
提交回复
热议问题