betabug... Sascha Welter

home english | home deutsch | Site Map | Sascha | Kontakt | Pro | Weblog | Wiki

14 December 2009

Compile Python 2.4 on Mac OS X 10.6 Snow Leopard

Old stuff on newish stuff - "reminder to self" post
 

For older Zope versions it is still necessary to use Python 2.4 versions. To compile Python 2.4 on Mac OS X Snow Leopard, I had to jump through a few little hoops:

First I downloaded and unpacked the python tarball, then I applied the following patches:

After this little process the python2.4 binary works just fine.


Posted by betabug at 12:46 | Comments (9) | Trackbacks (0)
ch athens
Life in Athens (Greece) for a foreigner from the other side of the mountains. And with an interest in digital life and the feeling of change in a big city. Multilingual English - German - Greek.
Main blog page
Recent Entries
Best of
Some of the most sought after posts, judging from access logs and search engine queries.

Apple & Macintosh:
Security & Privacy:
Misc technical:
Athens for tourists and visitors:
Life in general:
<< Let them eat muffins instead... | Main | Rain Hitting the Hills >>
Comments
Re: Compile Python 2.4 on Mac OS X 10.6 Snow Leopard

I personally use http://svn.plone.org/svn/collective/buildout/python
This is a buildout to build python 2.4 to 2.6 from scratch on SnowLeopard.

Posted by: Michael Howitz at December 15,2009 08:51
Re: Compile Python 2.4 on Mac OS X 10.6 Snow Leopard

Or you could install macports (http://www.macports.org) and do:

$ port install python24

or even:

$ port install zope

(and let macports take care of the deps)

Posted by: Wu at December 15,2009 12:03
Re: Compile Python 2.4 on Mac OS X 10.6 Snow Leopard

uaaargh! macports :-(
I really, really don't like macports. I prefer to have to trawl the intarwebs for some time to find the solution to a problem instead of messing with that mess.

Posted by: betabug at December 15,2009 12:06
Re: Compile Python 2.4 on Mac OS X 10.6 Snow Leopard

har har... I don't think it is a mess (in fact, everything is installed under /opt/ in a somehow "isolated" environment. I've been using them for quite some time now and I'm happy with it. But, you know, as we say in spain "para gustos se pintan colores" (that is, we all have different oppinions and there is a match for each one) ;D

Posted by: Wu at December 15,2009 23:19
Re: Compile Python 2.4 on Mac OS X 10.6 Snow Leopard

If you want a more isolated environment, you can give a try to minitage (http://www.minitage.org).

Posted by: kiorky at December 17,2009 09:45
Re: Compile Python 2.4 on Mac OS X 10.6 Snow Leopard

kiorky, minitage is very likely nothing to my taste. I'd even have a look at it, but I think your license does not really work for my work environment.

Posted by: betabug at December 17,2009 10:18
Re: Compile Python 2.4 on Mac OS X 10.6 Snow Leopard

Interesting, never heard about that minitage thing before. I think the problem for betabug is the gplv2 license... ;D

Anyway, I'll take a deeper look at the project, thnx kiorky!

Posted by: Wu at December 17,2009 13:44
Re: Compile Python 2.4 on Mac OS X 10.6 Snow Leopard

I licensed minitage under BSD (3forms) to allow users to use it in a permissive and non autoritative way.
It s compatible with GPLv2. It's the BSD(4forms) which is incompatible.

In other words, just do what you want with it ;)

http://en.wikipedia.org/wiki/BSD_license#3-clause_license_.28.22New_BSD_License.22.29

Posted by: kiorky at December 17,2009 14:24
Re: Compile Python 2.4 on Mac OS X 10.6 Snow Leopard

Here is anoter shortcut for happiness, no macports needed:

https://svn.plone.org/svn/collective/buildout/python/src/docs/README.txt

Posted by: Mikko Ohtamaa at February 14,2010 14:12
Trackbacks
You can trackback to: http://betabug.ch/blogs/ch-athens/1019/tbping
There are no trackbacks.
Leave a comment