Re: [PATCH 0/2] Use env for all perl invocations
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 12, 2017, 06:21 UTC
- Message-ID
- <xmqqa8awn6i6.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20170112055140.29877-1-pat.pannuto@gmail.com>
Pat Pannuto <pat.pannuto@gmail.com> writes:
Show 5 quoted lines
> I spent a little while debugging why git-format-patch refused to believe > that SSL support was installed (Can't locate Net/SMTP/SSL.pm in @INC...) > Turns out that it was installed for my system's preferred /usr/local/bin/perl, > but not for git-format-patch's hard-coded /usr/bin/perl; changing the shebang > allowed git format-patch to work as expected.
Isn't that an indication that you are not building correctly? Perhaps
$ git grep 'Define PERL_' Makefile
$ make PERL_PATH=/usr/local/bin/perlwould help?