Re: Unable to build git on Lion - missing config.h from Perl header files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]