[Pythonmac-SIG] Building python 2.4.3 on OSX 10.3.9

Bob Ippolito bob at redivi.com
Fri Jul 14 19:07:22 CEST 2006


On Jul 14, 2006, at 7:42 AM, Michael Glassford wrote:

> Bob Ippolito wrote:
>> On Jul 12, 2006, at 11:28 AM, Michael Glassford wrote:
>>> Bob Ippolito wrote:
>>>> On Jul 12, 2006, at 7:51 AM, Michael Glassford wrote:
>>>> and  second it's not what you're running anyway! Look at the  
>>>> site- packages  dir in the exception, that's a normal unix  
>>>> install, not  a framework  install.
>>> Yes, as I said I ran three different executables and got the  
>>> same  error from each. This is only one of the three errors.  
>>> Presumably  the others would have had different site-packages  
>>> paths.  Unfortunately, the output is long gone and I can't  
>>> reproduce this  problem again except with /usr/local/bin/ 
>>> python2.4; however, I ran  each more than once just to make sure,  
>>> using the full path each  time, so I don't see how I could have  
>>> been mistaken. In any case...
>>>
>>>> You need a framework install (./configure --enable-framework
>>>> && sudo make frameworkinstall).
>>> Is there somewhere that I should have learned about this option?
>> Mac/OSX/README in the sources, ./configure --help,
>
> I didn't know about either of these; thanks.
>
>> or mailing list archives.
> > Where would you have expected to learn about the option?
>
> Ideally there would be a note easily found from the Python source  
> download page telling me that the option existed and that I would  
> likely want to use it (or under what circumstances I would want to  
> use it).

There's a lot of configure options, I'm not sure this one deserves  
special mention on the sources page. It doesn't apply very often.  
Extremely few people need to build a framework Python.

>>> This behavior is different from the Python installed on Tiger by   
>>> the 2.4 universal binary installer (where there is no pythonw  
>>> and  python has access to the window manager), but at least I  
>>> have  something that seems to work now.
>> Yes, it is different than Universal Python because you compiled   
>> different sources. Universal Python 2.4.3 is a fork of Python  
>> that  includes several Mac-specific features that aren't in the  
>> mainline  sources until Python 2.5. The Universal Python  
>> repository is at:
>> http://svn.pythonmac.org/python24/python24-fat/
>
> OK, thanks. I didn't realize that. The version I used should be OK  
> for building an application on 10.3.9 that will run on 10.3.9, right?

Yes.

>> Universal Python 2.4.3 does have "pythonw", for compatibility,
>
> I had one system where pythonw for 2.4.3 was missing (i.e. "python"  
> ran 2.4.3 but "pythonw" ran 2.3.5), but can't find it again now. If  
> I run across it again I'll try to figure out how this happened.

Well, it wasn't a system with Universal Python 2.4.3.

-bob



More information about the Pythonmac-SIG mailing list