From: Sorin Sbarnea <sorin.sbarnea@gmail.com>
To: Brandon Casey <brandon.casey.ctr@nrlssc.navy.mil>
Cc: Thomas Rast <trast@student.ethz.ch>,
David Aguilar <davvid@gmail.com>,
"git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: Unable to build git on Lion - missing config.h from Perl header files
Date: Fri, 19 Aug 2011 23:27:22 +0100 [thread overview]
Message-ID: <CAGDPfJpSVknybUjUsHkb1Mb8_SqQxJB2idRTxxfsT8eRSA91CQ@mail.gmail.com> (raw)
In-Reply-To: <6LbwaepC5kIygT8uWl1Wf2A7S_AD1YkTya7FLCpDK4LOS7CNxjOveFLpzZtHv0dg_JJ8l78oW6XVugLUDAHkvBFItwH2yzYH6BgRAAZkFuM@cipher.nrlssc.navy.mil>
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@nrlssc.navy.mil> 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
>
next prev parent reply other threads:[~2011-08-19 22:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <611AB1F99D784B92B1F7278139D6EED5@gmail.com>
2011-08-19 16:31 ` Unable to build git on Lion - missing config.h from Perl header files Sorin Sbarnea
2011-08-19 20:58 ` David Aguilar
2011-08-19 21:43 ` Sorin Sbarnea
2011-08-19 22:12 ` Thomas Rast
2011-08-19 22:19 ` Brandon Casey
2011-08-19 22:27 ` Sorin Sbarnea [this message]
2011-08-19 22:42 ` Junio C Hamano
2011-08-19 22:57 ` Brandon Casey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAGDPfJpSVknybUjUsHkb1Mb8_SqQxJB2idRTxxfsT8eRSA91CQ@mail.gmail.com \
--to=sorin.sbarnea@gmail.com \
--cc=brandon.casey.ctr@nrlssc.navy.mil \
--cc=davvid@gmail.com \
--cc=git@vger.kernel.org \
--cc=trast@student.ethz.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).