That change seems to do the trick:
Distribution: 10.8
Architecture: x86_64
Checking cc... looks good.
Checking make... looks good.
Checking head... looks good.
Verifying that installed Xcode version is supported...
Found Xcode version: 4.6.3 is OK.
And now it's building. Thanks!
On Fri, Jun 28, 2013 at 1:30 PM, Alexander Hansen <
alexanderk.han...@gmail.com> wrote:
> On 6/28/13 10:26 AM, Alexander Hansen wrote:
>
>> The text isn't quite applicable as I said, and should probably be
>> changed in the next release.
>>
>> The issue you've experienced is is something _entirely_ different from
>> an absolute path. The test is whether /usr/bin/gcc is a symlink rather
>> than a real file, period, without respect to version. I don't recall
>> the reason offhand, but it was possibly an issue with an upgrade path
>> prior to 10.4, or maybe just to safeguard against third-party compiler
>> installs. It's in the history somewhere.
>>
>> In Every version of Xcode or the command-line tools that I've installed
>> in the past decade, /usr/bin/gcc has been a symlink to some real
>> compiler, and it was that way in April, when I installed my current
>> command-line tools. And I've boostrapped fink-0.34.8 or later
>> development versions multiple times since. That being said, it's
>> totally possible that something could have changed on Apple's end.
>>
>> As a workaround, try changing the following in perlmod/Services.pm
>>
>> sub gcc_selected {
>> # this should work anywhere we support, really
>> if (-l '/usr/bin/gcc') {
>> my $link = readlink('/usr/bin/gcc');
>> if ($link =~ /gcc-(\d+\.\d+)/) {
>> return $1;
>> } else {
>> print STDERR "WARNING: /usr/bin/gcc is not a symlink!";
>> }
>> }
>> return 0;
>> }
>>
>> to something like
>>
>> sub gcc_selected {
>> # this should work anywhere we support, really
>> if (-l '/usr/bin/gcc') {
>> my $link = readlink('/usr/bin/gcc');
>> if ($link =~ /gcc-(\d+\.\d+)/) {
>> return $1;
>> } else {
>> print STDERR "WARNING: /usr/bin/gcc is not a symlink!";
>> }
>> }
>> return 4.2;
>> }
>>
>>
>>
> Woops; shouldn't do this at work.
>
> The file to change is perlmod/Fink/Services.pm in the fink-0.34.8
> directory that you're bootstrapping from.
>
>
>
> --
> Alexander Hansen, Ph.D.
> Fink User Liaison
> My package updates: http://finkakh.wordpress.com/
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners