Re: Unable to build git on Lion - missing config.h from Perl header files
- From
Sorin Sbarnea <sorin.sbarnea@gmail.com>
- Date
- Aug 19, 2011, 21:43 UTC
- Message-ID
- <CAGDPfJoG_ksfL5vqzGWe5jqW646CKB=Qxm9_G5d=ZHMWfixweA@mail.gmail.com>
- 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 <davvid@gmail.com> wrote: > On Aug 19, 2011, at 9:31 AM, Sorin Sbarnea <sorin.sbarnea@gmail.com> 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