[Pythonmac-SIG] More testers needed: Fix installer
Bob Ippolito
bob at redivi.com
Mon Dec 27 18:25:01 CET 2004
On Dec 27, 2004, at 12:09 PM, Ronald Oussoren wrote:
>
> On 27-dec-04, at 17:44, Bob Ippolito wrote:
>
>>
>> On Dec 27, 2004, at 8:08 AM, Jack Jansen wrote:
>>
>>> Ok, Bob, you win:-)
>>>
>>> I've created an installer package that replaces the Makefile after a
>>> simple test that you're actually running 10.3 and have that Makefile
>>> in the right place (i.e. didn't mess too much with your
>>> installation).
>>>
>>> If people could test this that'd be nice. Again, I'm especially
>>> interested in feedback from people running 10.2 or 10.4 (where the
>>> installer should refuse to run, with a decent message).
>>>
>>> You can find the package at
>>> <http://www.cwi.nl/~jack/macpython/JaguarPythonFix.dmg>.
>>
>> The Makefile is missing the MACOSX_DEPLOYMENT_TARGET=10.3 before the
>> $(CC) .. which means that for most people, it won't compile extension
>> modules, because not everyone has this set in their login scripts..
>>
>> IIRC, The tradeoff is that distutils is *extremely* stupid and will
>> no longer compile c++ modules correctly because it expects the
>> compiler to be the first word in the variable expanded LDSHARED.
>> This may or may not also be a problem with SciPy distutils.
>
> I don't think this can be fixed without patching distutils. The patch
> shouldn't be too hard, but it may be too close to a 2.3.5 release to
> get it in there.
Correct, however, it looks like Jack has already patched 2.5 so that it
will set MACOSX_DEPLOYMENT_TARGET to the configure time value if not
already set, so it can be injected into 2.3.0 with this pkg fix and
backported to 2.4.1 and maybe 2.3.5.
-bob
More information about the Pythonmac-SIG
mailing list