[Zope] Compiling Zope on OpenBSD 3.2

Chris McDonough chrism@zope.com
08 Nov 2002 13:17:36 -0500


This is a different problem than your first one (which appears to be
solved by switching to gnutar).  The version of Zope you're trying to
compile (Zope 2.1.6) is pretty ancient and requires Python 1.5.2.

On Fri, 2002-11-08 at 12:23, Castelhano, Dan wrote:
> Still didn't work using the gnu version of tar and gunzip. Any other ideas?
> 
> gcc -fpic -g -O2 -Wall -Wstrict-prototypes -I/apps/include/python2.1
> -I/apps/include/python2.1 -DHAVE_CONFIG_H  -c
> ././../Components/cPickle/cPickle.c -o ./cPickle.o
> ././../Components/cPickle/cPickle.c:57: mymath.h: No such file or directory
> *** Error code 1
> 
> Stop in /apps/zope216/lib/python (line 344 of Makefile).
> Traceback (most recent call last):
>   File "/apps/zope216/wo_pcgi.py", line 116, in ?
>     if __name__=='__main__': main(sys.argv[0])
>   File "/apps/zope216/wo_pcgi.py", line 104, in main
>     import build_extensions
>   File "/apps/zope216/inst/build_extensions.py", line 96, in ?
>     make('lib','python')
>   File "/apps/zope216/inst/do.py", line 135, in make
>     do('make')
>   File "/apps/zope216/inst/do.py", line 104, in do
>     if i and picky: raise SystemError, i
> SystemError: 256
> [root@blowfish zope216]#
> 
> Thanks,
> Dan
> 
> 
>  -----Original Message-----
> From: 	Chris McDonough [mailto:chrism@zope.com] 
> Sent:	Friday, November 08, 2002 11:21 AM
> To:	Castelhano, Dan
> Cc:	'zope@zope.org'
> Subject:	Re: [Zope] Compiling Zope on OpenBSD 3.2
> 
> Untar Zope wih GNUtar instead of the tar that ships with BSD.
> 
> HTH,
> 
> - C
> 
> On Fri, 2002-11-08 at 11:07, Castelhano, Dan wrote:
> > Hello,
> > 
> > I'm trying to compile the source version of zope 2.6.0 and a fresh install
> > of OpenBSD 3.2 and am getting the following error message:
> > 
> > [root@blowfish zope260]# /apps/bin/python -V
> > Python 2.1.3
> > [root@blowfish zope260]# /apps/bin/python /apps/zope260/wo_pcgi.py
> > 
> >
> ----------------------------------------------------------------------------
> > --
> > Deleting '.pyc' and '.pyo' files recursively under /apps/zope260...
> > Done.
> > 
> >
> ----------------------------------------------------------------------------
> > --
> > Compiling python modules
> > 
> >
> ----------------------------------------------------------------------------
> > --
> > Building extension modules
> > /apps/bin/python setup.py build_ext -i
> > running build_ext
> > skipping 'AccessControl.cAccessControl' extension (up-to-date)
> > skipping 'BTrees._OOBTree' extension (up-to-date)
> > skipping 'BTrees._OIBTree' extension (up-to-date)
> > skipping 'BTrees._IIBTree' extension (up-to-date)
> > skipping 'BTrees._IOBTree' extension (up-to-date)
> > skipping 'BTrees._fsBTree' extension (up-to-date)
> > skipping 'BTree' extension (up-to-date)
> > skipping 'IIBTree' extension (up-to-date)
> > skipping 'IOBTree' extension (up-to-date)
> > skipping 'OIBTree' extension (up-to-date)
> > skipping 'intSet' extension (up-to-date)
> > skipping 'DocumentTemplate.cDocumentTemplate' extension (up-to-date)
> > skipping 'ExtensionClass' extension (up-to-date)
> > skipping 'Acquisition' extension (up-to-date)
> > skipping 'MethodObject' extension (up-to-date)
> > skipping 'MultiMapping' extension (up-to-date)
> > skipping 'ThreadLock' extension (up-to-date)
> > skipping 'Missing' extension (up-to-date)
> > skipping 'Sync' extension (up-to-date)
> > skipping 'Record' extension (up-to-date)
> > skipping 'ComputedAttribute' extension (up-to-date)
> > skipping 'SearchIndex.Splitter' extension (up-to-date)
> > skipping 'Shared.DC.xml.pyexpat.dcpyexpat' extension (up-to-date)
> > skipping 'ZODB.cPersistence' extension (up-to-date)
> > skipping 'ZODB.cPickleCache' extension (up-to-date)
> > skipping 'ZODB.TimeStamp' extension (up-to-date)
> > skipping 'ZODB.coptimizations' extension (up-to-date)
> > skipping 'ZODB.winlock' extension (up-to-date)
> > skipping 'initgroups' extension (up-to-date)
> > skipping
> > 'Products.PluginIndexes.TextIndex.Splitter.ZopeSplitter.ZopeSplitter'
> > extension (up-to-date)
> > building
> >
> 'Products.PluginIndexes.TextIndex.Splitter.ISO_8859_1_Splitter.ISO_8859_1_Sp
> > litter' extension
> > error: file
> >
> 'Products/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter/src/ISO_8859_
> > 1_Splitter.c' does not exist
> > Traceback (most recent call last):
> >   File "/apps/zope260/wo_pcgi.py", line 45, in ?
> >     if __name__=='__main__': main(sys.argv[0])
> >   File "/apps/zope260/wo_pcgi.py", line 33, in main
> >     import build_extensions
> >   File "/apps/zope260/inst/build_extensions.py", line 24, in ?
> >     do('%s setup.py build_ext -i' % sys.executable)
> >   File "/apps/zope260/inst/do.py", line 32, in do
> >     if i and picky: raise SystemError, i
> > SystemError: 256
> > [root@blowfish zope260]#
> > 
> > I am using a version of python which I compiled myself. Its version 2.1.3
> > and I enabled thread support.
> > 
> > Anyone have any ideas why it's failing and how to fix it?
> > 
> > Thanks,
> > Dan
> > 
> > 
> > _______________________________________________
> > 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 )
>