I'm trying to build Zope 2.6.0b1 on MacOSX and am having some trouble. If I use Python 2.2.2 or Python 2.3a0 (aka CVS head), when executing the w_pcgi.py script I get this traceback: building 'Products.PluginIndexes.TextIndex.Splitter.ZopeSplitter.ZopeSplitter' extension error: file 'Products/PluginIndexes/TextIndex/Splitter/ZopeSplitter/src/ZopeSplitter.c' does not exist Traceback (most recent call last): File "w_pcgi.py", line 39, in ? if __name__=='__main__': main(sys.argv[0]) File "w_pcgi.py", line 37, in main import wo_pcgi; wo_pcgi.main(me) File "/Users/skip/src/Zope-2.6.0b1-src/wo_pcgi.py", line 33, in main import build_extensions File "/Users/skip/src/Zope-2.6.0b1-src/inst/build_extensions.py", line 24, in ? do('%s setup.py build_ext -i' % sys.executable) File "/Users/skip/src/Zope-2.6.0b1-src/inst/do.py", line 32, in do if i and picky: raise SystemError, i SystemError: 256 A quick foray into building 2.1.x on MacOSX ended in failure (2.1.x was released before MacOSX was available). Any suggestions? Thanks, -- Skip Montanaro - skip@pobox.com http://www.mojam.com/ http://www.musi-cal.com/
Skip, The latest Python that Zope supports is 2.1.3, 2.2 and 2.3 are not supported and most likely will not work. hth Phil On Mon, 14 Oct 2002 18:56:11 -0500 Skip Montanaro <skip@pobox.com> wrote:
I'm trying to build Zope 2.6.0b1 on MacOSX and am having some trouble. If I use Python 2.2.2 or Python 2.3a0 (aka CVS head), when executing the w_pcgi.py script I get this traceback:
building 'Products.PluginIndexes.TextIndex.Splitter.ZopeSplitter.ZopeSplitter' extension error: file 'Products/PluginIndexes/TextIndex/Splitter/ZopeSplitter/src/ZopeSplitter.c' does not exist Traceback (most recent call last): File "w_pcgi.py", line 39, in ? if __name__=='__main__': main(sys.argv[0]) File "w_pcgi.py", line 37, in main import wo_pcgi; wo_pcgi.main(me) File "/Users/skip/src/Zope-2.6.0b1-src/wo_pcgi.py", line 33, in main import build_extensions File "/Users/skip/src/Zope-2.6.0b1-src/inst/build_extensions.py", line 24, in ? do('%s setup.py build_ext -i' % sys.executable) File "/Users/skip/src/Zope-2.6.0b1-src/inst/do.py", line 32, in do if i and picky: raise SystemError, i SystemError: 256
A quick foray into building 2.1.x on MacOSX ended in failure (2.1.x was released before MacOSX was available).
Any suggestions?
Thanks,
-- Skip Montanaro - skip@pobox.com http://www.mojam.com/ http://www.musi-cal.com/
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Finger met key and Skip Montanaro gave them voice on 10/14/02 6:56 PM:
A quick foray into building 2.1.x on MacOSX ended in failure (2.1.x was released before MacOSX was available).
Any suggestions?
Go back and try to build python 2.1.3 -- I've got it running (built from source) on my powerbook G4/500 with Mac OS 10.2.1, I promise that it can be done. -ted -- Ted Pollari Perpetual Student (errr...Psychology Undergraduate) University of Chicago tcp@mac.com
use python 2.1.3. precise instructions on how to built python 2.1.3 from source and zope are here:: http://www.zope.org/Members/jens/docs/zope_osx jens On Monday, Oct 14, 2002, at 19:56 US/Eastern, Skip Montanaro wrote:
I'm trying to build Zope 2.6.0b1 on MacOSX and am having some trouble. If I use Python 2.2.2 or Python 2.3a0 (aka CVS head), when executing the w_pcgi.py script I get this traceback:
building 'Products.PluginIndexes.TextIndex.Splitter.ZopeSplitter.ZopeSplitter' extension error: file 'Products/PluginIndexes/TextIndex/Splitter/ZopeSplitter/src/ ZopeSplitter.c' does not exist Traceback (most recent call last): File "w_pcgi.py", line 39, in ? if __name__=='__main__': main(sys.argv[0]) File "w_pcgi.py", line 37, in main import wo_pcgi; wo_pcgi.main(me) File "/Users/skip/src/Zope-2.6.0b1-src/wo_pcgi.py", line 33, in main import build_extensions File "/Users/skip/src/Zope-2.6.0b1-src/inst/build_extensions.py", line 24, in ? do('%s setup.py build_ext -i' % sys.executable) File "/Users/skip/src/Zope-2.6.0b1-src/inst/do.py", line 32, in do if i and picky: raise SystemError, i SystemError: 256
A quick foray into building 2.1.x on MacOSX ended in failure (2.1.x was released before MacOSX was available).
Any suggestions?
Thanks,
-- Skip Montanaro - skip@pobox.com http://www.mojam.com/ http://www.musi-cal.com/
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
On Monday, October 14, 2002, at 07:56 PM, Skip Montanaro wrote:
A quick foray into building 2.1.x on MacOSX ended in failure (2.1.x was released before MacOSX was available).
I build Python 2.1.3 and Zope 2.6 on OS X. Some hints I can give are: Build on a UFS filesystem to avoid case insensitivity problems. If your disks have HFS+ file systems, use /Applications/Utilities/Disk Copy.app to create a UFS disk image big enough to hold your build and mount it. You might want to run python's configure like this "LDFLAGS="-flat_namespace" ./configure" to make the OS X linker act more like traditional unix link editors. You should also want to add the (documented via --help) --with-dyld flag to python's configure. If you have the fink utilities installed (fink.sourceforge.net), it has some programs and libraries that are helpful in building python, zope, and some of their packages and products.
I build Python 2.1.3 and Zope 2.6 on OS X. Some hints I can give are:
Build on a UFS filesystem to avoid case insensitivity problems. If your disks have HFS+ file systems, use /Applications/Utilities/Disk Copy.app to create a UFS disk image big enough to hold your build and mount it.
this is not necessary if you pass the --with-suffix flag to the configure script. since from what i hear it is problematic to do too much with UFS-partitions under OS X i would not recommend it. jens
Jens, Thanks for the pointer to your Zope on MacOSX page. I built, tested and installed 2.1.3 okay and built (but haven't yet tested) Zope 2.6.0b1. Looking ahead in your instructions a bit, you mentioned a problem with sockets if the hostname doesn't resolve. I encountered this problem with other software on the system and got some help from one of the Mac-related newsgroups. In my situation, I have a cable modem connection to the net with an Xrouter connected to in and an airport sitting behind it. Each bit in the chain is doing DHCP. By default, OSX comes up with a wacky hostname, something like "SkipMontanarosComputer.local". The cure was to register with dyndns.org, download and run the appropriate updater program and edit /etc/hostconfig so the HOSTNAME variable is set to the desired value, e.g.: HOSTNAME=montanaro.dyndns.org This might be a useful addition to your instructions. Skip
participants (5)
-
Andrew M. Langmead -
Jens Vagelpohl -
Phil Harris -
Skip Montanaro -
Ted Pollari