From: Thomas Rast Date: Fri, 19 Aug 2011 22:12:17 GMT Subject: Re: Unable to build git on Lion - missing config.h from Perl header files Message-ID: <201108200012.17580.trast@student.ethz.ch> In-Reply-To: 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 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? -- Thomas Rast trast@{inf,student}.ethz.ch