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? Thanks Sorin Sbarnea On Fri, Aug 19, 2011 at 23:19, Brandon Casey <brandon.casey.ctr@xxxxxxxxxxxxxxx> wrote: > On 08/19/2011 05:12 PM, Thomas Rast wrote: >> Sorin Sbarnea wrote: >>> This was a clean-new Lion install, not an upgrade. I just installed >>> Xcode on alternate location /Developer41 instead of /Developer >>> >>> Yes, I did a `make clean` but it has no effect. >>> >>> The problem is that on Lion there is no config.h in the perl >>> directory, only a perl.h file. >> >> Color me puzzled, but where is it getting the config.h idea from? >> >> $ git grep config\\.h >> compat/fnmatch/fnmatch.c:# include <config.h> >> compat/regex/regex.c:#include "config.h" >> t/t4014-format-patch.sh:test_expect_success '--no-add-headers overrides config.headers' ' >> >> Similarly, 'git grep config perl' only turns up matches in perl code. >> So what tells it to use config.h? > > Probably MakeMaker. > > Setting NO_PERL_MAKEMAKER may help: > > rm perl/perl.mak > make NO_PERL_MAKEMAKER=1 > > -Brandon > -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html