Re: [Zope-dev] compiling Zope 2.4.1 on Mac OS 10.1
False alarm for Python2.2a4. It does work It seems I was either hallucinating or had screwed something up. After discussions with Guido, after which I understood a lot better what was supposed to be happening and why, I started over, and this time it worked. With the updates for OS 10.1 in Python 2.2a4, all I had to do to make both Python and Zope was: cd Python2.2a4 configure --with-suffix=.exe make sudo make install cd Zope python wo_pcgi.py That's all. Just that one configure flag, and no global variables set. Very, very nice. What a delight to have a just released MacOS treated with respect by multi-platform software! By the way, Guido said that the Makefile.pre.in mechanism installed in python2.2/lib/config is for a deprecated third-party build mechanism, replaced by distutils. He suggests that Zope should maybeswitch to distutils. -- --- Mitchell
On Wed, Oct 03, 2001 at 12:44:11AM -0400, Mitchell L Model wrote:
False alarm for Python2.2a4. It does work
It seems I was either hallucinating or had screwed something up. After discussions with Guido, after which I understood a lot better what was supposed to be happening and why, I started over, and this time it worked. With the updates for OS 10.1 in Python 2.2a4, all I had to do to make both Python and Zope was:
cd Python2.2a4 configure --with-suffix=.exe make sudo make install
cd Zope python wo_pcgi.py
That's all. Just that one configure flag, and no global variables set. Very, very nice. What a delight to have a just released MacOS treated with respect by multi-platform software!
Note that we have just identified some Zope tests that fail when running under Python 2.2, but not under 2.1. We are still investigating as to what causes this. -- Martijn Pieters | Software Engineer mailto:mj@zope.com | Zope Corporation http://www.zope.com/ | Creators of Zope http://www.zope.org/ ---------------------------------------------
Mitchell L Model wrote:
[...] With the updates for OS 10.1 in Python 2.2a4, all I had to do to make both Python and Zope was:
cd Python2.2a4 configure --with-suffix=.exe make sudo make install
cd Zope python wo_pcgi.py
I don't know if it's just me, but this "--with-suffix=.exe", on an Mac OS (the OS where you weren't suppose to need extensions) is extremely disturbing. :-) Cheers, Leo PS: and I'm not a Mac user, just a Linux user who would like more metadata in his operating system. Maybe I've been in Zope land for too long :-)
well, the actual extension does not matter. you could as well specify something like "--with-suffix=.mary_had_a_little_lamb" if you wanted... for a more technological explanation, when the compile is done the executable is copied into the root of the python source tree. by default the name of the executable is "python". this would not be a problem if it was not for the case insensitivity of the HFS file system used by most OS X users. there is a folder named "Python" in the root of the tree as well. trying to copy "python" into the root will fail because it collides with "Python". the "--with-suffix" will produce a binary with that suffix and that will avoid this collision. jens On Wednesday, October 3, 2001, at 11:03 , Leonardo Rochael Almeida wrote:
Mitchell L Model wrote:
[...] With the updates for OS 10.1 in Python 2.2a4, all I had to do to make both Python and Zope was: cd Python2.2a4 configure --with-suffix=.exe make sudo make install cd Zope python wo_pcgi.py
I don't know if it's just me, but this "--with-suffix=.exe", on an Mac OS (the OS where you weren't suppose to need extensions) is extremely disturbing. :-)
Cheers, Leo
PS: and I'm not a Mac user, just a Linux user who would like more metadata in his operating system. Maybe I've been in Zope land for too long :-)
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
participants (4)
-
Jens Vagelpohl -
Leonardo Rochael Almeida -
Martijn Pieters -
Mitchell L Model