Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #18364

Re: Python3 on MacOsX Lion?

References <eDnMq.3172$Ik5.2555@newsfe03.iad> <mailman.4319.1325538227.27778.python-list@python.org> <WepMq.67154$U16.54498@newsfe15.iad> <4F0237A9.2010801@googlemail.com>
Date 2012-01-02 21:23 -0500
Subject Re: Python3 on MacOsX Lion?
From Benjamin Kaplan <benjamin.kaplan@case.edu>
Newsgroups comp.lang.python
Message-ID <mailman.4328.1325557391.27778.python-list@python.org> (permalink)

Show all headers | View raw


On Mon, Jan 2, 2012 at 6:03 PM, Tamer Higazi <th982a@googlemail.com> wrote:
> Hi Rich!
> Why don't you ask the maintainer who built the macport?!
> Why don't you try to to figure out with "WHAT" kind of tools they have built
> the mac port and "WHERE" to get them either. And ask him also how to set the
> flags to build the 64bit edition.
>
> Then you don't have to be afraid of any prebuild mac port editions. This is
> how I would do it.
>
> Tamer
>

That's not quite how Macports works. Macports is a package manager.
Each package has a port file with (among other things)
1) A location to download the source tarball
2) A list of patches to apply
3) A list of dependencies
4) Sets of config arguments and build scripts for different variants

Richard, if something goes wrong with Macports, nuking /opt/local does
a pretty good job of cleaning it up. And even if you don't want to use
Macports, you can still grab their patches. They're all here:
http://trac.macports.org/browser/trunk/dports/lang/python32. You can
dig through the portfile to see what patches and config flags they're
using to build it.
>
> Am 02.01.2012 22:23, schrieb K Richard Pixley:
>>
>> On 1/2/12 13:03 , Benjamin Kaplan wrote:
>>>
>>> On Mon, Jan 2, 2012 at 2:32 PM, K Richard Pixley<rich@noir.com>  wrote:
>>>>
>>>> Where would I look to find the current expected status of python3 on
>>>> MacOsX
>>>> Lion?
>>>>
>>>> The distributed binaries aren't capable of allowing extensions that use
>>>> gcc.
>>>>
>>>> I can build the source naked, but then it lacks some libraries, notably,
>>>> readline.
>>>>
>>>> Attempting to build the full Mac packages fails, even with the few tiny
>>>> patches I used for 2.7.2.
>>>>
>>>> Is anyone working on this?  Are there pre-release patches available?
>>>>
>>>> Should I be asking elsewhere?
>>>>
>>>> --rich
>>>> --
>>>
>>>
>>> Have you tried building through Macports?
>>
>>
>> No, I haven't.  Macports scares me.  When I tried them, or fink, in the
>> past, they rapidly polluted my boot disk and I didn't have any way to
>> unpollute it other than reloading from scratch.
>>
>> In freebsd, netbsd, or any of the linux distributions, I can trivially
>> create a virtual machine in about 20 minutes, screw with it as I like, and
>> toss it in seconds.  In modern linux, I can create a root file system with
>> btrfs, snapshot, chroot to the snapshot and munge away. When I'm done, I can
>> just toss the snapshot.  (Can do snapshots in vmware too).
>>
>> If I screw up my boot drive in MacOsX, I'm in for hours of recovery time
>> reloading from Time Machine.  While that's a lot better than it used to be
>> now that Time Machine is available, (reloading can now be done largely
>> unattended), it's not a price I'm willing to pay in order to attempt to use
>> Macports.
>>
>> --rich
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python3 on MacOsX Lion? K Richard Pixley <rich@noir.com> - 2012-01-02 11:32 -0800
  Re: Python3 on MacOsX Lion? Benjamin Kaplan <benjamin.kaplan@case.edu> - 2012-01-02 16:03 -0500
    Re: Python3 on MacOsX Lion? K Richard Pixley <rich@noir.com> - 2012-01-02 13:23 -0800
      Re: Python3 on MacOsX Lion? Tamer Higazi <th982a@googlemail.com> - 2012-01-03 00:03 +0100
      Re: Python3 on MacOsX Lion? Benjamin Kaplan <benjamin.kaplan@case.edu> - 2012-01-02 21:23 -0500
      Re: Python3 on MacOsX Lion? Ned Deily <nad@acm.org> - 2012-01-02 21:43 -0800
  Re: Python3 on MacOsX Lion? Ned Deily <nad@acm.org> - 2012-01-02 21:21 -0800
  Re: Python3 on MacOsX Lion? Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2012-01-04 00:37 +0100

csiph-web