git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Unable to build git on Lion - missing config.h from Perl header files

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 19, 2011, 22:42 UTC
Message-ID
<7vk4a910rd.fsf@alter.siamese.dyndns.org>
In-Reply-To
<CAGDPfJpSVknybUjUsHkb1Mb8_SqQxJB2idRTxxfsT8eRSA91CQ@mail.gmail.com>
Sorin Sbarnea <sorin.sbarnea@gmail.com> writes:
Show 11 quoted lines
> On Fri, Aug 19, 2011 at 23:19, Brandon Casey
>> Probably MakeMaker.
>>
>> Setting NO_PERL_MAKEMAKER may help:
>>
>>   rm perl/perl.mak
>>   make NO_PERL_MAKEMAKER=1
>>
> I confirm that this workaround solved the problem. Now the question is
> what should be changed so git will be installed (and build) without
> problems by homebrew?

If the user's distro does not have packaged makemaker, or if the user chooses not to install it, then the build procedure of git can be told to avoid using it, which is what you did. So there is nothing to fix there.

If you are not going to tell git to avoid makemaker, in other words, if you want to use makemaker, then installing it before starting the build procedure would help, too. But that is outside the scope of git project.

Please do not top post.
Previous: Sorin SbarneaNext: Brandon Casey
Message 7 of 8 in “Unable to build git on Lion - missing config.h from Perl header files”
  1. Sorin SbarneaAug 19, 2011
  2. David AguilarAug 19, 2011
  3. Sorin SbarneaAug 19, 2011
  4. Thomas RastAug 19, 2011
  5. Brandon CaseyAug 19, 2011
  6. Sorin SbarneaAug 19, 2011
  7. Junio C HamanoAug 19, 2011
  8. Brandon CaseyAug 19, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.