On Sep 11, 2008, at 7:45 AM, Peter W. Draper wrote:
> On Thu, 11 Sep 2008, Peter W. Draper wrote:
>
>> On Tue, 9 Sep 2008, Tim Jenness wrote:
>>
>>> On Sep 9, 2008, at 4:38 AM, Peter W. Draper wrote:
>>>> On Mon, 8 Sep 2008, Tim Jenness wrote:
>>>>> On Mon, 8 Sep 2008, Tim Jenness wrote:
>>>>>> - vtk does not seem to respect config.site (possibly
>>>>>> unsurprisingly) so it builds 32-bit not 64-bit. This breaks the
>>>>>> build. I assume there is some trick for cmake to pick up the
>>>>>> global build parameters...time passes... Ah. Have to set
>>>>>> CXXFLAGS and CFLAGS explicitly as environment variables. Except
>>>>>> that doesn't work for the vtk part of the build.
>>>> I've done this before (using -m32 under Linux) and don't remember
>>>> any problems passing the CFLAGS and CXXFLAGS values into VTK, so
>>>> it could be that this worked, but that the cache didn't update.
>>>> I've seen that from time to time. Usually worth removing the
>>>> CMakeCache.txt files.
>>> In the end I had to install VTK-5.2 off the vtk web site. That
>>> fixed the freetype problems although it insisted on linking
>>> against the OSX framework (which funnily enough does not support
>>> 64-bit anyhow) regardless of my attempt to force it to use X.
>>
>> The problem is that there's no 64bit CARBON support, so I've
>> patched up the current VTK to not attempt to use that. It's now
>> built, but GAIA remain broken.
>
> Nope got that working as well. Some event handling has changed in
> Xorg, so Tk needed patching. I want to check that out some more
> before committing.
>
> Peter.
Excellent, OSX uses a pretty cutting edge Xorg.
Is this a patch that Tk8.5 already has in place? (wondering whether we
should upgrade Tk/Tcl after the October Starlink release)
--
Tim Jenness
Joint Astronomy Centre
|