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

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

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

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:51:51

Sorin Sbarnea [off-list ref] writes:
On Fri, Aug 19, 2011 at 23:19, Brandon Casey
quoted
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.

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

From: Brandon Casey <hidden>
Date: 2016-06-15 22:51:51

On 08/19/2011 05:42 PM, Junio C Hamano wrote:
Sorin Sbarnea [off-list ref] writes:
quoted
On Fri, Aug 19, 2011 at 23:19, Brandon Casey
quoted
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.
I got the impression that his system did have makemaker, and that it
created the perl.mak file, but then building git failed because some
header files were missing from his perl installation.

Earlier he said:
quoted
The only files existing in
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/ are
libperl.dylib andperl.h.
I don't have access to a mac, but on my system I have many header files
in .../x86_64-linux-thread-multi/CORE/ including config.h.  These files
are part of the base perl installation rpm (i.e. not some -devel rpm).

But like you said, there is nothing to fix on the git side of things.

-Brandon
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help