Updating tk failed on Snow Leopard
Ryan Schmidt
ryandesign at macports.org
Tue Aug 23 07:38:30 PDT 2016
On Aug 23, 2016, at 07:02, Mojca Miklavec <mojca at macports.org> wrote:
>
> Hi,
>
>> On 23 August 2016 at 02:00, Ken Cunningham wrote:
>>> On 2016-08-22, at 3:48 PM, Richard L. Hamilton wrote:
>>> Updating tk failed on Snow Leopard, trying to update to the current tk at 8.6.6 (probably +quartz+universal, given that's what the current @8.6.5_0 is)
>> Hi Richard,
>>
>> I have tk 8.6.6 running on snow leopard, but with +x11 (and not universal, but x86_64)
>>
>> $ port -v installed tk
>> The following ports are currently installed:
>> tk @8.6.6_0+x11 (active) platform='darwin 10' archs='x86_64'
>>
>> for what that's worth. I installed it with clang-3.7, and my first thought is that your compiler might be too old. You might try installing clang-3.7 (and ld64/cctools/llvm-3.7 that go along with it) and see where that takes you....
>
> The "official" binaries are indeed available for 10.6 and they were
> compiled with the default compiler:
> http://packages.macports.org/tk/
>
> I can confirm that tk +quartz compiles fine for me on 10.7, but not on
> 10.6 (not even with clang 3.4, I didn't test with 3.7).
>
> I don't find a ticket in the tracker, so feel free to open one. The
> closest one I found was
> https://trac.macports.org/ticket/22994
> but that one is ancient and most likely unrelated.
The official binaries are built on a system with Xcode 3.2.6 and therefore use gcc-4.2, which evidently works.
The user is using Xcode 4.2, and the log shows llvm-gcc-4.2 is being used, which evidently doesn't work. We should blacklist that compiler in the port.
More information about the macports-users
mailing list