[Pythonmac-SIG] Building 2.5 on SL - configure-2.5.4-for-10.6.patch (1/1)

Ned Deily nad at acm.org
Wed Oct 7 09:32:28 CEST 2009


In article 
<7a9c25c20910062100i25e0bbe0jb2c37e9025812f93 at mail.gmail.com>,
 Stephen Hansen <apt.shansen at gmail.com> wrote:
> I'm trying to build a "private" instance of Python 2.5.4 on Snow Leopard,
> and am running into a problem. [...]

A-hah!  The problem is that Snow Leopard is also Darwin 10.0 and it 
turns out that an important test in the configure script doesn't handle 
the two-digit major version number correctly.

The attached patch should fix the problem.  Or simply manually edit 
configure to replace the line:
  FreeBSD/4.* | Darwin/[6789].*)

with the three lines:
  Darwin/[012345].*)
      ;;
  Darwin/*)

The same problem affects all of the current Pythons which is why you saw 
it on 2.6.3 as well.  I'll see that it gets taken care of.

Thanks!

-- 
 Ned Deily,
 nad at acm.org

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: configure-2.5.4-for-10.6.patch
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20091007/12428c3d/attachment.asc>


More information about the Pythonmac-SIG mailing list