From: Sorin Sbarnea Date: Fri, 19 Aug 2011 21:43:35 GMT Subject: Re: Unable to build git on Lion - missing config.h from Perl header files Message-ID: In-Reply-To: <9B588F2F-ACDF-4DA7-BE30-E075CA729731@gmail.com> 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. -- Sorin Sbarnea On Fri, Aug 19, 2011 at 21:58, David Aguilar wrote: > On Aug 19, 2011, at 9:31 AM, Sorin Sbarnea wrote: > >> Hi, >> >> I came across the following problem while trying to build git (1.7.6) on Lion >> https://github.com/mxcl/homebrew/issues/7091 >> >> The only files existing in >> /System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/ are >> libperl.dylib andperl.h. >> >> make[2]: *** No rule to make target >> `/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/config.h', >> needed by `perl.mak'.  Stop. >> make[1]: *** [instlibdir] Error 2 >> >> If possible it would be a good idea to continue the discussion on >> homebrew bug tracker >> >> Thanks, >> -- >> Sorin Sbarnea > > Did you upgrade to lion from a system where you were building previously? Did you try "make clean"? > > -- >                                        David