I think I have a fix in for this now.

As Jonathan Wright suggested, it parses tclConfig.sh and tkConfig.sh to 
find the include and lib directories.  If any of that fails, it falls 
back to the old method (which is based on the assumption that the build 
and lib directories are relative to the tcl data directories).  I'm 
afraid this makes the code more convoluted, not less, but perhaps with 
enough testing we can be confident that the old way can be eliminated.

Please try this on as many Linux distributions as you can.  (This does 
not affect Windows and Mac).  If in the build logs you see the message:

    Guessing the library and include directories for Tcl and Tk because the
    tclConfig.sh and tkConfig.sh could not be found and/or parsed.

that means the old method is still being used.  Please let me know about 
that, and what distro you are running -- it would be great to merge to a 
single lookup method if possible.

I'm keeping this on the trunk for now, but if we're confident in the 
change, this is a good candidate to be merged to the maintenance branch.

Cheers,
Mike

Michael Droettboom wrote:
> Alas, PIL SVN head fails to build on Ubuntu 8.04 (without 
> Ubuntu-specific patches) as well...
>
> Cheers,
> Mike
>
> John Hunter wrote:
>   
>> On Tue, May 27, 2008 at 9:27 AM, Michael Droettboom <[EMAIL PROTECTED]> 
>> wrote:
>>   
>>     
>>> Thanks, Jonathan.  The tclConfig.sh stuff was news to me (I didn't write
>>> the original Tcl/Tk header finding stuff, though).
>>>
>>> Everyone else: I'm on this and will let you know how it goes.
>>>     
>>>       
>> Just a reminder that a lot of the tcl/tk finder code was lifted from
>> the PIL setup, so you may want to see if there have been any updates
>> over there and re-lift them.
>>
>> JDH
>>   
>>     
>
>   

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to